neosync icon indicating copy to clipboard operation
neosync copied to clipboard

[NEOS-990] Update helmcharts to use checksums for deploy rollout

Open nickzelei opened this issue 1 year ago • 1 comments

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

nickzelei avatar Apr 09 '24 00:04 nickzelei

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.

nickzelei avatar Apr 09 '24 16:04 nickzelei