component-chart icon indicating copy to clipboard operation
component-chart copied to clipboard

[docs] Document containers.*.envFrom

Open joaomlneto opened this issue 3 years ago • 0 comments

The documentation currently only shows how to load single keys from Secrets and Configmaps using env.valueFrom.secretKeyRef and env.valueFrom.configMapKeyRef.

However, one can use envFrom.configMapRef and envFrom.secretRef to load all variables from a ConfigMap/Secret resp.:

yaml
      containers:
      - image: ${IMAGE}
        envFrom:
        - configMapRef:
            name: my-config-map

joaomlneto avatar Apr 22 '22 08:04 joaomlneto