Rewrite links for environment-variable-expose-pod-information to new location (#10209)
We have a redirect, so these links aren't broken, but we shouldn't rely on the redirect - that ends up with long chains of complicated redirects and makes validating the markdown harder.
This commit is contained in:
committed by
k8s-ci-robot
parent
24c8ed25da
commit
f39bc10631
+1
-1
@@ -63,7 +63,7 @@ content_template: templates/task
|
||||
|
||||
{{% capture whatsnext %}}
|
||||
|
||||
* 有关环境变量的更多信息,请参阅[这里](/docs/tasks/configure-pod-container/environment-variable-expose-pod-information/)。
|
||||
* 有关环境变量的更多信息,请参阅[这里](/docs/tasks/inject-data-application/environment-variable-expose-pod-information/)。
|
||||
* 有关如何通过环境变量来使用Secret,请参阅[这里](/docs/user-guide/secrets/#using-secrets-as-environment-variables)。
|
||||
* 关于[EnvVarSource](/docs/api-reference/{{< param "version" >}}/#envvarsource-v1-core)资源的信息。
|
||||
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ content_template: templates/task
|
||||
|
||||
有两种方式可以将Pod和Container字段呈现给运行中的容器:
|
||||
|
||||
* [环境变量](/docs/tasks/configure-pod-container/environment-variable-expose-pod-information/)
|
||||
* [环境变量](/docs/tasks/inject-data-application/environment-variable-expose-pod-information/)
|
||||
* DownwardAPIVolumeFile
|
||||
|
||||
这两种呈现Pod和Container字段的方式都称为*Downward API*。
|
||||
|
||||
+1
-1
@@ -113,7 +113,7 @@ Upon creation, the command `echo Warm greetings to The Most Honorable Kubernetes
|
||||
|
||||
{{% capture whatsnext %}}
|
||||
|
||||
* Learn more about [environment variables](/docs/tasks/configure-pod-container/environment-variable-expose-pod-information/).
|
||||
* Learn more about [environment variables](/docs/tasks/inject-data-application/environment-variable-expose-pod-information/).
|
||||
* Learn about [using secrets as environment variables](/docs/user-guide/secrets/#using-secrets-as-environment-variables).
|
||||
* See [EnvVarSource](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#envvarsource-v1-core).
|
||||
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@ Pod fields and Container fields.
|
||||
|
||||
There are two ways to expose Pod and Container fields to a running Container:
|
||||
|
||||
* [Environment variables](/docs/tasks/configure-pod-container/environment-variable-expose-pod-information/)
|
||||
* [Environment variables](/docs/tasks/inject-data-application/environment-variable-expose-pod-information/)
|
||||
* DownwardAPIVolumeFiles
|
||||
|
||||
Together, these two ways of exposing Pod and Container fields are called the
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ toc:
|
||||
- docs/tasks/configure-pod-container/configure-projected-volume-storage.md
|
||||
- docs/tasks/configure-pod-container/projected-volume.md
|
||||
- docs/tasks/configure-pod-container/security-context.md
|
||||
- docs/tasks/configure-pod-container/environment-variable-expose-pod-information.md
|
||||
- docs/tasks/inject-data-application/environment-variable-expose-pod-information.md
|
||||
- docs/tasks/configure-pod-container/configure-service-account.md
|
||||
- docs/tasks/configure-pod-container/pull-image-private-registry.md
|
||||
- docs/tasks/configure-pod-container/configure-liveness-readiness-probes.md
|
||||
|
||||
Reference in New Issue
Block a user