Skip to content

Commit

Permalink
Set readOnly on consuming containers for authz/n (helm#11759)
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Bachtel <[email protected]>
  • Loading branch information
jeffb4 authored and k8s-ci-robot committed Feb 27, 2019
1 parent 71530eb commit f5b7f44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/opa/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions stable/opa/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ spec:
mountPath: /config
{{- if .Values.authz.enabled }}
- name: authz
readOnly: true
mountPath: /authz
{{- end }}
{{- if .Values.mgmt.enabled }}
Expand All @@ -92,6 +93,7 @@ spec:
{{- if .Values.authz.enabled }}
volumeMounts:
- name: authz
readOnly: true
mountPath: /authz
{{- end }}
{{- end }}
Expand Down

0 comments on commit f5b7f44

Please sign in to comment.