From 8ff2710305932a65e5fb90646057f3cbb772c40c Mon Sep 17 00:00:00 2001 From: Dino Hensen Date: Tue, 1 Aug 2017 09:25:26 +0200 Subject: [PATCH] Fix indent and use valid keys for configMapKeyRef (#4428) Fix restartPolicy indent. Use valid keys from the ConfigMap in the step previous to the last special-config creation. Key special.type was not created anywhere in previous steps anywars. --- .../configure-pod-container/configure-pod-configmap.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/tasks/configure-pod-container/configure-pod-configmap.md b/docs/tasks/configure-pod-container/configure-pod-configmap.md index ef8c84ef66..d934f7cf93 100644 --- a/docs/tasks/configure-pod-container/configure-pod-configmap.md +++ b/docs/tasks/configure-pod-container/configure-pod-configmap.md @@ -138,7 +138,7 @@ Note: This functionality is available to users running Kubernetes v1.6 and later envFrom: - configMapRef: name: special-config - restartPolicy: Never + restartPolicy: Never ``` 1. Save the changes to the Pod specification. Now, the Pod's output includes `SPECIAL_LEVEL=very` and `SPECIAL_TYPE=charm`. @@ -167,12 +167,12 @@ spec: valueFrom: configMapKeyRef: name: special-config - key: special.how + key: special_level - name: SPECIAL_TYPE_KEY valueFrom: configMapKeyRef: name: special-config - key: special.type + key: special_type restartPolicy: Never ```