Move topic to Injecting Data section. (#3623)

* Move topic to Injecting Data section.

* Update include paths.

* Remove old file.
This commit is contained in:
Steve Perry 2017-05-03 14:20:05 -07:00 committed by GitHub
parent 7c1e0a95fb
commit 6935b1c6a9
5 changed files with 7 additions and 5 deletions

View File

@ -22,7 +22,6 @@ toc:
- docs/tasks/configure-pod-container/projected-volume.md
- docs/tasks/configure-pod-container/environment-variable-expose-pod-information.md
- docs/tasks/configure-pod-container/downward-api-volume-expose-pod-information.md
- docs/tasks/configure-pod-container/distribute-credentials-secure.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
@ -41,6 +40,7 @@ toc:
- title: Injecting Data Into Applications
section:
- docs/tasks/inject-data-application/define-environment-variable-container.md
- docs/tasks/inject-data-application/distribute-credentials-secure.md
- title: Running Applications
section:

View File

@ -1,8 +1,10 @@
---
title: Distributing Credentials Securely
title: Distributing Credentials Securely Using Secrets
redirect_from:
- "/docs/user-guide/secrets/walkthrough/"
- "/docs/user-guide/secrets/walkthrough.html"
- "/docs/tasks/configure-pod-container/distribute-credentials-secure/"
- "/docs/tasks/configure-pod-container/distribute-credentials-secure.html"
---
{% capture overview %}
@ -36,7 +38,7 @@ and the base-64 representation of your password is `Mzk1MjgkdmRnN0pi`.
Here is a configuration file you can use to create a Secret that holds your
username and password:
{% include code.html language="yaml" file="secret.yaml" ghlink="/docs/tasks/administer-cluster/secret.yaml" %}
{% include code.html language="yaml" file="secret.yaml" ghlink="/docs/tasks/inject-data-application/secret.yaml" %}
1. Create the Secret
@ -79,7 +81,7 @@ username and password:
Here is a configuration file you can use to create a Pod:
{% include code.html language="yaml" file="secret-pod.yaml" ghlink="/docs/tasks/administer-cluster/secret-pod.yaml" %}
{% include code.html language="yaml" file="secret-pod.yaml" ghlink="/docs/tasks/inject-data-application/secret-pod.yaml" %}
1. Create the Pod:
@ -126,7 +128,7 @@ is exposed:
Here is a configuration file you can use to create a Pod:
{% include code.html language="yaml" file="secret-envars-pod.yaml" ghlink="/docs/tasks/administer-cluster/secret-envars-pod.yaml" %}
{% include code.html language="yaml" file="secret-envars-pod.yaml" ghlink="/docs/tasks/inject-data-application/secret-envars-pod.yaml" %}
1. Create the Pod: