about summary refs log tree commit diff
path: root/jest.config.js
diff options
context:
space:
mode:
authorSheogorath <sheogorath@shivering-isles.com>2022-11-10 19:10:38 +0100
committerGitHub <noreply@github.com>2022-11-10 19:10:38 +0100
commite868f419234b7e4338047d6e65fcffde7c787a1c (patch)
treedc15705a57db61d9d98c2dd231ede78898be256a /jest.config.js
parent86d4b6f7c943dc5d0d3af95f6fbc705996511ada (diff)
fix(chart): Fix gitops-incompatible random rolling (#20184)
This patch reworks the Pod rolling mechanism, which is supposed to update Pods
with each migration run, but since the it generates a new random value on each
helm execution, this will constantly roll all pods in a GitOps driven deployment,
which reconciles the helm release.

This is resolved by fixing the upgrade to the `.Release.Revision`, which should
stay identical, unless config or helm release version have been changed. Further
it introduces automatic rolls based on adjustments to the environment variables
and secrets.

The implementation uses a helper template, following the 1-2-N rule, and omitting
code duplication.

References:
https://helm.sh/docs/chart_template_guide/builtin_objects/
https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments
Diffstat (limited to 'jest.config.js')
0 files changed, 0 insertions, 0 deletions