missing enabled checks for injector-network-policy (#358)

This commit is contained in:
Erik DeLamarter 2020-07-30 16:05:01 +02:00 committed by GitHub
parent 0c28645748
commit f965826a66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 apiVersion: networking.k8s.io/v1
kind: NetworkPolicy kind: NetworkPolicy
metadata: metadata: