From 7c1e0a95fb879cdfb3ad45ebfdf11a65be8c39e1 Mon Sep 17 00:00:00 2001 From: Steve Perry Date: Wed, 3 May 2017 12:35:15 -0700 Subject: [PATCH] Move topic to Injecting Data section. (#3622) * Move topic to Injecting Data section. * Move included file. --- _data/tasks.yml | 5 ++++- .../define-environment-variable-container.md | 5 ++++- .../envars.yaml | 0 3 files changed, 8 insertions(+), 2 deletions(-) rename docs/tasks/{configure-pod-container => inject-data-application}/define-environment-variable-container.md (90%) rename docs/tasks/{configure-pod-container => inject-data-application}/envars.yaml (100%) diff --git a/_data/tasks.yml b/_data/tasks.yml index 2882d1c340..bf9f44180f 100644 --- a/_data/tasks.yml +++ b/_data/tasks.yml @@ -13,7 +13,6 @@ toc: - title: Configuring Pods and Containers section: - - docs/tasks/configure-pod-container/define-environment-variable-container.md - docs/tasks/configure-pod-container/define-command-argument-container.md - docs/tasks/configure-pod-container/assign-cpu-ram-container.md - docs/tasks/configure-pod-container/limit-range.md @@ -39,6 +38,10 @@ toc: - docs/tasks/configure-pod-container/weave-network-policy.md - docs/tools/kompose/user-guide.md +- title: Injecting Data Into Applications + section: + - docs/tasks/inject-data-application/define-environment-variable-container.md + - title: Running Applications section: - docs/tasks/run-application/rolling-update-replication-controller.md diff --git a/docs/tasks/configure-pod-container/define-environment-variable-container.md b/docs/tasks/inject-data-application/define-environment-variable-container.md similarity index 90% rename from docs/tasks/configure-pod-container/define-environment-variable-container.md rename to docs/tasks/inject-data-application/define-environment-variable-container.md index 02acb00edf..9b3e461782 100644 --- a/docs/tasks/configure-pod-container/define-environment-variable-container.md +++ b/docs/tasks/inject-data-application/define-environment-variable-container.md @@ -1,5 +1,8 @@ --- title: Defining Environment Variables for a Container +redirect_from: +- "/docs/tasks/configure-pod-container/define-environment-variable-container/" +- "/docs/tasks/configure-pod-container/define-environment-variable-container.html" --- {% capture overview %} @@ -30,7 +33,7 @@ file for the Pod defines an environment variable with name `DEMO_GREETING` and value `"Hello from the environment"`. Here is the configuration file for the Pod: -{% include code.html language="yaml" file="envars.yaml" ghlink="/docs/tasks/configure-pod-container/envars.yaml" %} +{% include code.html language="yaml" file="envars.yaml" ghlink="/docs/tasks/inject-data-application/envars.yaml" %} 1. Create a Pod based on the YAML configuration file: diff --git a/docs/tasks/configure-pod-container/envars.yaml b/docs/tasks/inject-data-application/envars.yaml similarity index 100% rename from docs/tasks/configure-pod-container/envars.yaml rename to docs/tasks/inject-data-application/envars.yaml