configmap.md: add v1.6 reminding (#3511)
* configmap.md: add v1.6 reminding configmap.md: add v1.6 reminding * update configmap-envfrom update configmap-envfrom
This commit is contained in:
committed by
Andrew Chen
parent
bca9551f9c
commit
968cc459f4
@@ -271,7 +271,7 @@ data:
|
|||||||
log_level: INFO
|
log_level: INFO
|
||||||
```
|
```
|
||||||
|
|
||||||
We can consume the keys of this ConfigMap in a pod like so:
|
`envFrom` is a feature introduced in Kubernetes 1.6. Consequently, if you are using v1.6 or above, you can consume the keys of that ConfigMap in a pod; otherwise, ignore `envFrom` in the following example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
|||||||
Reference in New Issue
Block a user