From d43cc26c6eb8092dcb82a528e2396c0f9a29c662 Mon Sep 17 00:00:00 2001 From: "Alexander \"Ace\" Olofsson" Date: Sun, 25 Apr 2021 11:20:23 +0200 Subject: [PATCH] funkwhale: Update pods on env/secret changes --- charts/funkwhale/Chart.yaml | 2 +- charts/funkwhale/templates/deployment-celerybeat.yaml | 3 +++ charts/funkwhale/templates/deployment-celeryworker.yaml | 3 +++ charts/funkwhale/templates/deployment.yaml | 3 +++ 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/charts/funkwhale/Chart.yaml b/charts/funkwhale/Chart.yaml index fcb2893..e676748 100644 --- a/charts/funkwhale/Chart.yaml +++ b/charts/funkwhale/Chart.yaml @@ -4,7 +4,7 @@ appVersion: "1.1.1" description: A social platform to enjoy and share music icon: https://funkwhale.audio/favicon.png name: funkwhale -version: 0.3.8 +version: 0.3.9 dependencies: - name: redis diff --git a/charts/funkwhale/templates/deployment-celerybeat.yaml b/charts/funkwhale/templates/deployment-celerybeat.yaml index 66e7b1c..2ee8e25 100644 --- a/charts/funkwhale/templates/deployment-celerybeat.yaml +++ b/charts/funkwhale/templates/deployment-celerybeat.yaml @@ -18,6 +18,9 @@ spec: audio.funkwhale/component: celery-beat template: metadata: + annotations: + checksum/configmap: {{ include (print .Template.BasePath "/configmap.yaml") . | sha256sum }} + checksum/secret: {{ include (print .Template.BasePath "/secret.yaml") . | sha256sum }} labels: app.kubernetes.io/name: {{ include "funkwhale.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} diff --git a/charts/funkwhale/templates/deployment-celeryworker.yaml b/charts/funkwhale/templates/deployment-celeryworker.yaml index b053c13..f646b2e 100644 --- a/charts/funkwhale/templates/deployment-celeryworker.yaml +++ b/charts/funkwhale/templates/deployment-celeryworker.yaml @@ -18,6 +18,9 @@ spec: audio.funkwhale/component: celery-worker template: metadata: + annotations: + checksum/configmap: {{ include (print .Template.BasePath "/configmap.yaml") . | sha256sum }} + checksum/secret: {{ include (print .Template.BasePath "/secret.yaml") . | sha256sum }} labels: app.kubernetes.io/name: {{ include "funkwhale.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} diff --git a/charts/funkwhale/templates/deployment.yaml b/charts/funkwhale/templates/deployment.yaml index 8e9b11f..35f7e44 100644 --- a/charts/funkwhale/templates/deployment.yaml +++ b/charts/funkwhale/templates/deployment.yaml @@ -18,6 +18,9 @@ spec: audio.funkwhale/component: app template: metadata: + annotations: + checksum/configmap: {{ include (print .Template.BasePath "/configmap.yaml") . | sha256sum }} + checksum/secret: {{ include (print .Template.BasePath "/secret.yaml") . | sha256sum }} labels: app.kubernetes.io/name: {{ include "funkwhale.name" . }} app.kubernetes.io/instance: {{ .Release.Name }}