Defining a ConfigMap
kubectl create -f config-map.yaml
list config maps
kubectl get configmaps
inject config map in a pod
you can use spec.envFrom prop to specify the config map where the pod can read the config example
Search
Defining a ConfigMap
kubectl create -f config-map.yaml
list config maps
kubectl get configmaps
inject config map in a pod
you can use spec.envFrom prop to specify the config map where the pod can read the config example