Skip to content

Commit

Permalink
Allow disabling admission control (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
timja authored Oct 6, 2023
1 parent 9e6c5fa commit fb9e51e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion neuvector-azure-keyvault/templates/admission-control.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{{ if .Values.rules.admission.enable }}
apiVersion: neuvector.com/v1
kind: NvAdmissionControlSecurityRule
metadata:
name: local
spec:
config:
client_mode: service
enable: {{ .Values.rules.admission.enable }}
enable: true
mode: {{ .Values.rules.admission.mode }}
rules:
- action: allow
Expand All @@ -26,3 +27,4 @@ spec:
- name: imageRegistry
op: containsAny
value: https://localhost/,https://*.*/
{{ end }}

0 comments on commit fb9e51e

Please sign in to comment.