Skip to content

Commit 231a42c

Browse files
authored
[occm] Include cloudConfigContents in DaemonSet checksum annotation (#3080)
* 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. * Bump openstack-cloud-controller-manager chart to 2.36.1 --------- Co-authored-by: 234u34k <234u34k@users.noreply.github.com>
1 parent eeeafe8 commit 231a42c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

charts/openstack-cloud-controller-manager/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Openstack Cloud Controller Manager Helm Chart
44
icon: https://object-storage-ca-ymq-1.vexxhost.net/swift/v1/6e4619c416ff4bd19e1c087f27a43eea/www-images-prod/openstack-logo/OpenStack-Logo-Vertical.png
55
home: https://github.com/kubernetes/cloud-provider-openstack
66
name: openstack-cloud-controller-manager
7-
version: 2.36.0
7+
version: 2.36.1
88
maintainers:
99
- name: eumel8
1010
email: f.kloeker@telekom.de

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)