You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.
Error: UPGRADE FAILED: create: failed to create: Secret "sh.helm.release.v1.xxx-dev.v3360" is invalid: data: Too long: must have at most 1048576 characters
I think this is triggered because helm saves all the files in the chart dir to the history.
with helm secrets upgrade, the secrets.yaml and the secrets.yaml.dec end up in the history.
Am i correct that i can solve this by adding secrets.yaml to my .helmignore file ?
The text was updated successfully, but these errors were encountered:
I added to my .helmignore the following and it resolved the issue.
#no need to save secrets.yaml and secrets.yaml.dec in helm history
secrets.yaml //*/secrets.yam
Would this break anything if we plan to roll back to older helm deployment ?
Should the secrets plugin filter out one of secrets.yaml from the helm history ?
I logged the issue under helm-secrets, as by default when adding a sops encrypted secrets.yaml to your helm template, it seems helm secrets, includes both the encrypted secrets.yaml and the secrets.yaml.dec in the history.
Error: UPGRADE FAILED: create: failed to create: Secret "sh.helm.release.v1.xxx-dev.v3360" is invalid: data: Too long: must have at most 1048576 characters
I think this is triggered because helm saves all the files in the chart dir to the history.
with helm secrets upgrade, the secrets.yaml and the secrets.yaml.dec end up in the history.
Am i correct that i can solve this by adding secrets.yaml to my .helmignore file ?
The text was updated successfully, but these errors were encountered: