Skip to content

Commit 3f8cb2e

Browse files
committed
move the hashes to annotations
1 parent f8c27e6 commit 3f8cb2e

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

charts/docspell/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ name: docspell
33
description: A Helm chart to deploy docspell to Kubernetes
44
home: https://docspell.org/
55
type: application
6-
version: 0.0.17
6+
version: 0.0.18
77
appVersion: "0.42.0"

charts/docspell/templates/statefulset-joex.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ spec:
1414
serviceName: docspell-joex
1515
template:
1616
metadata:
17+
annotations:
18+
secret-hash: {{ include (print $.Template.BasePath "/secret-joex.yml") $ | sha256sum }}
19+
config-hash: {{ include (print $.Template.BasePath "/configmap-joex.yml") $ | sha256sum }}
1720
labels:
1821
{{- include "docspell.selectorLabels" . | nindent 8 }}
1922
docspell-component: joex
20-
secret-hash: {{ include (print $.Template.BasePath "/secret-joex.yml") $ | sha256sum }}
21-
config-hash: {{ include (print $.Template.BasePath "/configmap-joex.yml") $ | sha256sum }}
2223
spec:
2324
{{- with .Values.imagePullSecrets }}
2425
imagePullSecrets:

charts/docspell/templates/statefulset-restserver.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ spec:
1313
docspell-component: restserver
1414
template:
1515
metadata:
16+
annotations:
17+
config-hash: {{ include (print $.Template.BasePath "/secret-restserver.yml") $ | sha256sum }}
1618
labels:
1719
{{- include "docspell.selectorLabels" . | nindent 8 }}
1820
docspell-component: restserver
19-
config-hash: {{ include (print $.Template.BasePath "/secret-restserver.yml") $ | sha256sum }}
2021
spec:
2122
{{- with .Values.imagePullSecrets }}
2223
imagePullSecrets:

0 commit comments

Comments
 (0)