Skip to content
Snippets Groups Projects
Verified Commit ab707381 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

feat(hedgedoc): Add automatic restart on config update

parent 14861122
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ keywords:
sources:
- https://github.com/hedgedoc/hedgedoc/tree/master
- https://git.shivering-isles.com/shivering-isles/infrastructure-gitops/-/tree/main/charts/hedgedoc
version: 0.3.0
version: 0.3.1
# renovate: image=quay.io/hedgedoc/hedgedoc
appVersion: 1.9.7
maintainers:
......
# hedgedoc
![Version: 0.3.0](https://img.shields.io/badge/Version-0.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.9.7](https://img.shields.io/badge/AppVersion-1.9.7-informational?style=flat-square)
![Version: 0.3.1](https://img.shields.io/badge/Version-0.3.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.9.7](https://img.shields.io/badge/AppVersion-1.9.7-informational?style=flat-square)
A platform to write and share markdown.
......
......@@ -13,10 +13,13 @@ spec:
{{- include "hedgedoc.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
checksum/config-file: {{ include (print $.Template.BasePath "/configmap-config.yaml") . | sha256sum }}
checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
labels:
{{- include "hedgedoc.selectorLabels" . | nindent 8 }}
spec:
......
......@@ -53,6 +53,10 @@ should match basic snapshot:
type: Recreate
template:
metadata:
annotations:
checksum/config: 0e1a1adf160f3fcd20e855d82408506085eedd859609b97406b8c3c4a085d8df
checksum/config-file: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
checksum/secret: 01de24789eacad789d51ab7b8e4987c034609b47cec2f6db41ff940f904fd252
labels:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/name: hedgedoc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment