FROM: helm/helm#10026 (comment)
As I have not found any easy way to use environment variables in the values.yaml have I used this line to full fill the requirements.
CI_ENVIRONMENT_SLUG=lala envsubst < charts/values.yaml| helm \
--kubeconfig ../kubeconf-dev \
-n mynamespace install --create-namespace -f - --dry-run myapp ./mycharts
The main point is -f -
Default way:
https://github.com/helmfile/vals?tab=readme-ov-file#helm