From 8a54acc7b0bbebbaafa0edd396c1cb85c4e7f73f Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Sat, 3 Jul 2021 16:16:10 -0400 Subject: [PATCH] Fix conductor reload We didn't have an annotation label, so there's no way for things to automatically reload when config changes. Change-Id: I5d142c8d3c2bb11b955d4c4e2fd2e95e3a1e522a --- magnum/Chart.yaml | 2 +- magnum/templates/statefulset-conductor.yaml | 2 ++ releasenotes/notes/magnum.yaml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/magnum/Chart.yaml b/magnum/Chart.yaml index 2504db17b9..1e0009865a 100644 --- a/magnum/Chart.yaml +++ b/magnum/Chart.yaml @@ -14,7 +14,7 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm Magnum name: magnum -version: 0.2.1 +version: 0.2.2 home: https://docs.openstack.org/magnum/latest/ icon: https://www.openstack.org/themes/openstack/images/project-mascots/Magnum/OpenStack_Project_Magnum_vertical.png sources: diff --git a/magnum/templates/statefulset-conductor.yaml b/magnum/templates/statefulset-conductor.yaml index 1d7663ff21..49621a07a5 100644 --- a/magnum/templates/statefulset-conductor.yaml +++ b/magnum/templates/statefulset-conductor.yaml @@ -42,6 +42,8 @@ spec: {{ tuple $envAll "magnum" "conductor" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }} annotations: {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }} + configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }} + configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }} spec: serviceAccountName: {{ $serviceAccountName }} affinity: diff --git a/releasenotes/notes/magnum.yaml b/releasenotes/notes/magnum.yaml index 43e5f0e6a5..572d435e41 100644 --- a/releasenotes/notes/magnum.yaml +++ b/releasenotes/notes/magnum.yaml @@ -5,4 +5,5 @@ magnum: - 0.1.2 Added post-install and post-upgrade helm hook for jobs - 0.2.0 Remove support for releases before T - 0.2.1 Use policies in yaml format + - 0.2.2 Fix restarting of magnum-conductor pods ...