funkwhale: Update pods on env/secret changes

This commit is contained in:
Alexander "Ace" Olofsson 2021-04-25 11:20:23 +02:00
parent aecf123352
commit d43cc26c6e
No known key found for this signature in database
GPG key ID: D439C9470CB04C73
4 changed files with 10 additions and 1 deletions

View file

@ -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

View file

@ -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 }}

View file

@ -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 }}

View file

@ -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 }}