[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
annotations:
checksum/config: {{ include (print $.Template.BasePath "/element-web-proxy.yaml") . | sha256sum }}
checksum/config: {{ include (print $.Template.BasePath "/element-web-conf.yaml") . | sha256sum }}
spec:
containers:
- name: nginx

View file

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