fix envFrom in configmap
This commit is contained in:
committed by
Andrew Chen
parent
2d3e488818
commit
2624ce66ea
@@ -124,7 +124,7 @@ This page provides a series of usage examples demonstrating how to configure Pod
|
|||||||
SPECIAL_TYPE: charm
|
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.
|
1. Use `envFrom` 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.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
|||||||
Reference in New Issue
Block a user