UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit d7a293ea authored by Ryan Garcia's avatar Ryan Garcia :dizzy:
Browse files

Merge branch 'bugfix-flux-np' into 'master'

NP conditional for Flux NP

See merge request platform-one/big-bang/bigbang!2021
parents 6f982d6f 2b66c9e9
No related branches found
No related tags found
1 merge request!2021Fix conditional for Flux <-> Monitoring Network Policy
Pipeline #949462 passed with warnings
{{- if and .Values.monitoring.enabled (dig "grafana" "enabled" true .Values.monitoring.values) }}
{{- if or (and .Values.networkPolicies.enabled (dig "networkPolicies" "enabled" true .Values.monitoring.values)) (and (not .Values.networkPolicies.enabled) (dig "networkPolicies" "enabled" false .Values.monitoring.values)) }}
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
......@@ -21,4 +22,5 @@ spec:
ports:
- port: 3000
protocol: TCP
{{- end }}
\ No newline at end of file
{{- end }}
{{- end }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment