From d9e099b7af7bf4350be010f6a6b1c9c8eac617f3 Mon Sep 17 00:00:00 2001 From: Xing Zhou Date: Mon, 24 Jul 2017 11:23:18 +0800 Subject: [PATCH] Turn env variables to upper case in the example. As K8s won't change the env variable from configmap(using envFrom to upper case, so change the variable names to upper case in the example. --- docs/tasks/configure-pod-container/configure-pod-configmap.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tasks/configure-pod-container/configure-pod-configmap.md b/docs/tasks/configure-pod-container/configure-pod-configmap.md index d934f7cf93..e4c523d33f 100644 --- a/docs/tasks/configure-pod-container/configure-pod-configmap.md +++ b/docs/tasks/configure-pod-container/configure-pod-configmap.md @@ -119,8 +119,8 @@ Note: This functionality is available to users running Kubernetes v1.6 and later name: special-config namespace: default data: - special_level: very - special_type: charm + SPECIAL_LEVEL: very + SPECIAL_TYPE: charm ``` 1. Use `env-from` to define all of the ConfigMap's data as Pod environment variables. The key from the ConfigMap becomes the environment variable name in the Pod.