[stable/opa] Checksum logic fix (#15985)

* Updated deployment to restart on new certs

- OPA does not use new certs when helm upgrade changes them
- Updated chart version

Signed-off-by: Thomas Miller <thomas@tlm.id.au>

* Bumped chart version to 1.6.0

Signed-off-by: Thomas Miller <thomas@tlm.id.au>

* Fixed bug in checksum annotation

- Checksum annotation should be using 'or' and not 'and'
- Updated chart version to 1.6.1

Signed-off-by: Thomas Miller <thomas@tlm.id.au>
This commit is contained in:
Thomas Miller
2019-07-31 07:16:24 -07:00
committed by Kubernetes Prow Robot
parent ac115bb329
commit 20d47208df
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ keywords:
- opa
- admission control
- policy
version: 1.6.0
version: 1.6.1
home: https://www.openpolicyagent.org
icon: https://raw.githubusercontent.com/open-policy-agent/opa/master/logo/logo.png
sources:
+1 -1
View File
@@ -11,7 +11,7 @@ spec:
app: {{ template "opa.fullname" . }}
template:
metadata:
{{- if and .Values.generateAdmissionControllerCerts .Values.opa }}
{{- if or .Values.generateAdmissionControllerCerts .Values.opa }}
annotations:
{{- if .Values.generateAdmissionControllerCerts }}
checksum/certs: {{ include (print $.Template.BasePath "/webhookconfiguration.yaml") . | sha256sum }}