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.
This commit is contained in:
parent
77c05ef418
commit
d9e099b7af
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue