Skip to content


Feature state: 1.1.0

envFrom value in Kubedeploy can be used to define environment variables that will be configured on all containers in a Pod.

For reference see envFrom secret example or envFrom configmap example


By default containers envFrom is undefined.

Define simple envFrom for containers

nameOverride: my-app
  repository: nginx
  tag: latest

  #env from ConfigMap
  - configMapRef:
      name: special-config
  # env from Secret
  - secretRef:
      name: test-secret
Deploy command
helm install webapp sysbee/kubedeploy -f values.yaml

In above example, envFrom will automatically define environment variables for all containers in a Pod by extracting all the ConfigMap/Secret keys as env var names, and their values as env var values.

See also: