Skip to content

Commit

Permalink
Add annotation to redeploy controller if secret changed. (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorarins authored Nov 18, 2019
1 parent 2541b6b commit c269d52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .estafette.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ version:
semver:
major: 1
minor: 2
patch: 2
patch: 3
labelTemplate: '{{branch}}-{{auto}}'
releaseBranch: 1.2.2
releaseBranch: 1.2.3

stages:
build-lint-and-package:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ spec:
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "9101"
checksum/secrets: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
Expand Down

0 comments on commit c269d52

Please sign in to comment.