Summary
When using the helm ssm plugin with a values.yaml file that contains Go templating expressions (e.g., {{ .Values.tenants | join " " }}), the plugin silently replaces them with an empty string instead of preserving or raising an error.
Steps to Reproduce
- Create a
values.yaml file with the following content:
clients:
- alpha
- beta
env:
- name: REX_TENANTS
value: '{{ $.Values.clients | join " " }}'
- Run the following command:
helm ssm -v -d -f values.yaml
- The resulting file contains:
env:
- name: REX_TENANTS
value: ""
Expected Behavior
Ideally, the plugin should:
leave the templating intact, since it doesn't start with ssm keyword
Actual Behavior
The plugin replaces templated values with an empty string, which leads to confusing silent failures and unexpected behavior in Helm charts.
Thanks for the great work on the plugin! This fix would help users avoid silent issues during deployments.