Set readOnly on consuming containers for authz/n (#11759)

Signed-off-by: Jeff Bachtel <jeff.bachtel@gmail.com>
This commit is contained in:
Jeff Bachtel
2019-02-26 16:05:27 -08:00
committed by Kubernetes Prow Robot
parent 71530eb172
commit f5b7f44e3d
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ keywords:
- opa
- admission control
- policy
version: 0.4.0
version: 0.5.0
home: https://www.openpolicyagent.org
icon: https://raw.githubusercontent.com/open-policy-agent/opa/master/logo/logo.png
sources:
+2
View File
@@ -66,6 +66,7 @@ spec:
mountPath: /config
{{- if .Values.authz.enabled }}
- name: authz
readOnly: true
mountPath: /authz
{{- end }}
{{- if .Values.mgmt.enabled }}
@@ -92,6 +93,7 @@ spec:
{{- if .Values.authz.enabled }}
volumeMounts:
- name: authz
readOnly: true
mountPath: /authz
{{- end }}
{{- end }}