Skip to content

Commit c1a5df2

Browse files
committed
[occm] include cloudConfigContents in DaemonSet checksum annotation
When cloud config is supplied via cloudConfigContents rather than the structured cloudConfig values, changes to it do not alter the checksum annotation on the DaemonSet pod template. Pods are not restarted after credential rotation or endpoint changes. Fixes #3030
1 parent a031201 commit c1a5df2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

charts/openstack-cloud-controller-manager/templates/daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spec:
1717
template:
1818
metadata:
1919
annotations:
20-
checksum/config: {{ include "cloudConfig" . | sha256sum }}
20+
checksum/config: {{ print (include "cloudConfig" .) (.Values.cloudConfigContents | default "") | sha256sum }}
2121
{{- include "occm.controllermanager.annotations" . | nindent 8 }}
2222
labels:
2323
{{- include "occm.controllermanager.labels" . | nindent 8 }}

0 commit comments

Comments
 (0)