From c536d6595009a27ca470c55e577cea9c30014601 Mon Sep 17 00:00:00 2001 From: Yves Mettier Date: Thu, 13 Jun 2024 12:27:51 +0200 Subject: [PATCH 1/2] New annotation checksum/config to restart the pod when the config changes --- deploy/k8s/chart/templates/deployment.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy/k8s/chart/templates/deployment.yaml b/deploy/k8s/chart/templates/deployment.yaml index 50f0678..9dd390c 100644 --- a/deploy/k8s/chart/templates/deployment.yaml +++ b/deploy/k8s/chart/templates/deployment.yaml @@ -18,6 +18,7 @@ spec: template: metadata: annotations: + checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} {{- with .Values.podAnnotations }} {{- toYaml . | nindent 8 }} {{- end }} From d287f165522722f517777fba158e4655c3a78a6c Mon Sep 17 00:00:00 2001 From: Yves Mettier Date: Thu, 13 Jun 2024 12:28:06 +0200 Subject: [PATCH 2/2] bump version to 0.6.0 --- deploy/k8s/chart/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/k8s/chart/Chart.yaml b/deploy/k8s/chart/Chart.yaml index ecd92b1..5b74970 100644 --- a/deploy/k8s/chart/Chart.yaml +++ b/deploy/k8s/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 description: A Helm Chart for cortex-tenant name: cortex-tenant -version: 0.5.0 # This is the chart version +version: 0.6.0 # This is the chart version appVersion: 1.13.0 # version number of the application being deployed. type: application sources: