neosync
neosync copied to clipboard
[NEOS-990] Update helmcharts to use checksums for deploy rollout
Right now the helm charts will roll the deployments on every apply due to the dice roll annotation.
We should update this to instead be a checksum on the env var secrets so that only necessary deployments will be rolled during an apply.
checksum/secret-env: {{ tpl (toYaml .Values.envRenderSecret ) . | sha256sum }}
From SyncLinear.com | NEOS-990
This might be harder to do that originally thought because we can't generate it based off of the secret itself, and all of the env vars are spread through the values file itself.