493 B
493 B
OneChart settings for setting environment variables:
image:
repository: nginx
tag: 1.19.3
vars:
VAR_1: "value 1"
VAR_2: "value 2"
Check the Kubernetes manifest:
cat << EOF > values.yaml
image:
repository: nginx
tag: 1.19.3
EOF
helm template my-release onechart/onechart -f values.yaml
!!! note
OneChart creates a `ConfigMap` with all the defined environment variables.
Then includes all entries with the `EnvFrom` field in the deployment.