Skip to content

Commit

Permalink
missing enabled checks for injector-network-policy (#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
delamart authored Jul 30, 2020
1 parent 0c28645 commit f965826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/injector-network-policy.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.global.openshift }}
{{- if and (eq (.Values.injector.enabled | toString) "true" ) (and (eq (.Values.global.enabled | toString) "true") (eq (.Values.global.openshift | toString) "true") ) }}
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
Expand Down

0 comments on commit f965826

Please sign in to comment.