mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
committed by
Kubernetes Prow Robot
parent
ac115bb329
commit
20d47208df
@@ -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:
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user