Skip to content

Commit

Permalink
feat: Support for automatically Helm roll deployments (#731)
Browse files Browse the repository at this point in the history
  • Loading branch information
dadrus authored Jun 28, 2023
1 parent be62972 commit bd2d438
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/heimdall/templates/demo/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ metadata:
namespace: heimdall-demo
labels:
{{- include "heimdall.demo.labels" . | nindent 4 }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/demo/configmap.yaml") . | sha256sum }}
spec:
selector:
matchLabels:
Expand Down
3 changes: 3 additions & 0 deletions charts/heimdall/templates/heimdall/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ metadata:
labels:
{{- include "heimdall.labels" $data | nindent 4 }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/heimdall/configmap.yaml") . | sha256sum }}
{{- with .Values.deployment.annotations }}
{{- toYaml .Values.deployment.annotations | nindent 4 }}
{{- end }}
spec:
{{- if not .Values.deployment.autoscaling.enabled }}
replicas: {{ .Values.deployment.replicaCount }}
Expand Down

0 comments on commit bd2d438

Please sign in to comment.