[matrix] include checksums for config files of synapse/element

Thus triggering redeployment on change
This commit is contained in:
Nico Schottelius 2021-12-25 18:54:51 +01:00
parent 301d4728f0
commit 0f0a4ec4c3
2 changed files with 2 additions and 0 deletions

View file

@ -19,6 +19,7 @@ spec:
app.kubernetes.io/component: matrix-element-web app.kubernetes.io/component: matrix-element-web
annotations: annotations:
checksum/config: {{ include (print $.Template.BasePath "/element-web-proxy.yaml") . | sha256sum }} checksum/config: {{ include (print $.Template.BasePath "/element-web-proxy.yaml") . | sha256sum }}
checksum/config: {{ include (print $.Template.BasePath "/element-web-conf.yaml") . | sha256sum }}
spec: spec:
containers: containers:
- name: nginx - name: nginx

View file

@ -17,6 +17,7 @@ spec:
app.kubernetes.io/component: matrix-synapse app.kubernetes.io/component: matrix-synapse
annotations: annotations:
checksum/config: {{ include (print $.Template.BasePath "/synapse-proxy.yaml") . | sha256sum }} checksum/config: {{ include (print $.Template.BasePath "/synapse-proxy.yaml") . | sha256sum }}
checksum/config: {{ include (print $.Template.BasePath "/synapse-conf.yaml") . | sha256sum }}
spec: spec:
initContainers: initContainers:
- name: generate-matrix-signing-key - name: generate-matrix-signing-key