Commit cbce408
committed
Avoid proxy rollouts on chart metadata changes
Summary:
Hash only the rendered HAProxy configuration for the pod-template checksum instead of the entire ConfigMap manifest. This prevents chart label and other metadata-only changes from triggering a Deployment rollout.
Test Plan:
- `helm lint charts/whatsapp-proxy-chart --values /data/users/bsuh/configerator/raw_configs/cloud/helm/values/wa_unblock/whatsapp-proxy-chart/common_values.yaml --values /data/users/bsuh/configerator/raw_configs/cloud/helm/values/wa_unblock/whatsapp-proxy-chart/chat_values.yaml`
- Rendered the chart with `helm template` and verified the checksum is a valid SHA-256 value.
- Changed the chart version to `9.9.9` in a temporary chart copy and verified the rendered HAProxy checksum remained unchanged.
Reviewers:
Subscribers:
Tasks:
Tags:1 parent 8b06a45 commit cbce408
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments