Skip to content

Commit

Permalink
Helm: Restart deployment on change of configuration (#326)
Browse files Browse the repository at this point in the history
* feat: restart adminui

* feat: restart admincli

* feat: restart consumerapi

* Revert "feat: restart admincli"

This reverts commit 70a7e14.
  • Loading branch information
tnotheis authored Oct 9, 2023
1 parent 40a7fa4 commit 5cf5764
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions helm/charts/adminui/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ spec:
app: {{ include "global.name" . }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
checksum/config: {{ .Values.global.configuration | toString | sha256sum }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
labels:
{{- include "global.labels" . | nindent 8 }}
app: {{ include "global.name" . }}
Expand Down
5 changes: 3 additions & 2 deletions helm/charts/consumerapi/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ spec:
app: {{ include "global.name" . }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
checksum/config: {{ .Values.global.configuration | toString | sha256sum }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
labels:
{{- include "global.labels" . | nindent 8 }}
app: {{ include "global.name" . }}
Expand Down

0 comments on commit 5cf5764

Please sign in to comment.