Skip to content

Commit

Permalink
[Helm] feat: add suport for auto roll deployments (#21)
Browse files Browse the repository at this point in the history
Motivation:
- Add support for automatic roll deployments on CP configuration
changes.

Modifications:
- Added sha256sum annotation to the deployment.
  • Loading branch information
karimatwa authored Dec 10, 2024
1 parent 9cd79fc commit 1067f96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helm-chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ spec:
{{- with .Values.controlPlane.podLabels }}
{{ toYaml . | nindent 8 }}
{{- end }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
spec:
serviceAccountName: "{{ .Values.controlPlane.name }}-service-account"
{{- if .Values.controlPlane.securityContext }}
Expand Down

0 comments on commit 1067f96

Please sign in to comment.