From 6c9825650703ebc445ae3471aed6599079f5de9a Mon Sep 17 00:00:00 2001 From: 234u34k <234u34k@users.noreply.github.com> Date: Sun, 1 Mar 2026 16:47:02 +0000 Subject: [PATCH] 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. --- .../openstack-cloud-controller-manager/templates/daemonset.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/openstack-cloud-controller-manager/templates/daemonset.yaml b/charts/openstack-cloud-controller-manager/templates/daemonset.yaml index 40f98ea3f8..0bdbc1b379 100644 --- a/charts/openstack-cloud-controller-manager/templates/daemonset.yaml +++ b/charts/openstack-cloud-controller-manager/templates/daemonset.yaml @@ -17,7 +17,7 @@ spec: template: metadata: annotations: - checksum/config: {{ include "cloudConfig" . | sha256sum }} + checksum/config: {{ print (include "cloudConfig" .) (.Values.cloudConfigContents | default "") | sha256sum }} {{- include "occm.controllermanager.annotations" . | nindent 8 }} labels: {{- include "occm.controllermanager.labels" . | nindent 8 }}