Skip to content

Commit

Permalink
fix(deployments): Restart deployments on ConfigMap change (#131)
Browse files Browse the repository at this point in the history
Co-authored-by: Marcin Jasion <mjasion@users.noreply.github.com>
  • Loading branch information
mjasion and mjasion authored Jul 20, 2023
1 parent da5f5fc commit d6494e7
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion charts/studio/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.11
version: 0.2.12

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/studio/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# studio

![Version: 0.2.11](https://img.shields.io/badge/Version-0.2.11-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.9.1](https://img.shields.io/badge/AppVersion-v2.9.1-informational?style=flat-square)
![Version: 0.2.12](https://img.shields.io/badge/Version-0.2.12-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.9.1](https://img.shields.io/badge/AppVersion-v2.9.1-informational?style=flat-square)

A Helm chart for Kubernetes

Expand Down
1 change: 1 addition & 0 deletions charts/studio/templates/deployment-studio-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ spec:
template:
metadata:
annotations:
checksum/configmap-studio-backend: {{ include (print $.Template.BasePath "/configmap-studio-backend.yaml") . | sha256sum }}
{{- include "studio.checksum" . | indent 8 }}
{{- with .Values.studioBackend.podAnnotations }}
{{- toYaml . | nindent 8 }}
Expand Down
5 changes: 3 additions & 2 deletions charts/studio/templates/deployment-studio-beat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ spec:
template:
metadata:
annotations:
checksum/configmap-studio-beat: {{ include (print $.Template.BasePath "/configmap-studio-beat.yaml") . | sha256sum }}
{{- include "studio.checksum" . | indent 8 }}
{{- with .Values.studioBeat.podAnnotations }}
{{- with .Values.studioBeat.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
labels:
{{- include "studio-beat.selectorLabels" . | nindent 8 }}
spec:
Expand Down
5 changes: 3 additions & 2 deletions charts/studio/templates/deployment-studio-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ spec:
template:
metadata:
annotations:
checksum/configmap-studio-ui: {{ include (print $.Template.BasePath "/configmap-studio-ui.yaml") . | sha256sum }}
{{- include "studio.checksum" . | indent 8 }}
{{- with .Values.studioUi.podAnnotations }}
{{- with .Values.studioUi.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
labels:
{{- include "studio-ui.selectorLabels" . | nindent 8 }}
spec:
Expand Down
5 changes: 3 additions & 2 deletions charts/studio/templates/deployment-studio-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ spec:
template:
metadata:
annotations:
checksum/configmap-studio-worker: {{ include (print $.Template.BasePath "/configmap-studio-worker.yaml") . | sha256sum }}
{{- include "studio.checksum" . | indent 8 }}
{{- with .Values.studioWorker.podAnnotations }}
{{- with .Values.studioWorker.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
labels:
{{- include "studio-worker.selectorLabels" . | nindent 8 }}
spec:
Expand Down

0 comments on commit d6494e7

Please sign in to comment.