Skip to content

Commit

Permalink
update rollout behaviour:
Browse files Browse the repository at this point in the history
redeploy only if configmap content has changed
  • Loading branch information
Olivier Charuel committed Sep 23, 2021
1 parent daa3d76 commit 37f04f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: varnish
description: A Varnish Cache Helm chart for Kubernetes
type: application
version: 0.6.0
version: 0.6.1
appVersion: 6.4
2 changes: 1 addition & 1 deletion templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
app: {{ include "varnish.name" . }}
version: {{ .Chart.Version }}
annotations:
rollme: {{ randAlphaNum 5 | quote }}
checksum/vclConfig: {{ include (print $.Template.BasePath "/vcl-configmap.yaml") . | sha256sum }}
{{- if and .Values.prometheus.enabled .Values.prometheus.scrape }}
prometheus.io/scrape: "true"
prometheus.io/path: "{{ .Values.prometheus.path }}"
Expand Down

0 comments on commit 37f04f1

Please sign in to comment.