Open joaomlneto opened 2 years ago
The documentation currently only shows how to load single keys from Secrets and Configmaps using env.valueFrom.secretKeyRef and env.valueFrom.configMapKeyRef.
env.valueFrom.secretKeyRef
env.valueFrom.configMapKeyRef
However, one can use envFrom.configMapRef and envFrom.secretRef to load all variables from a ConfigMap/Secret resp.:
envFrom.configMapRef
envFrom.secretRef
yaml containers: - image: ${IMAGE} envFrom: - configMapRef: name: my-config-map
The documentation currently only shows how to load single keys from Secrets and Configmaps using
env.valueFrom.secretKeyRef
andenv.valueFrom.configMapKeyRef
.However, one can use
envFrom.configMapRef
andenvFrom.secretRef
to load all variables from a ConfigMap/Secret resp.: