fix(prom): Only use cnp with cilium
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
{{- if .Values.clusterConfig.cilium.enabled }}
|
||||||
apiVersion: cilium.io/v2
|
apiVersion: cilium.io/v2
|
||||||
kind: CiliumNetworkPolicy
|
kind: CiliumNetworkPolicy
|
||||||
metadata:
|
metadata:
|
||||||
@@ -11,3 +12,4 @@ spec:
|
|||||||
endpointSelector:
|
endpointSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: grafana
|
app.kubernetes.io/name: grafana
|
||||||
|
{{-end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user