fix: add cilium cluster feature guards to network policies
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
{{- if .Values.clusterConfig.cilium.enabled }}
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
@@ -14,3 +15,4 @@ spec:
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: postgres-operator
|
||||
{{- end }}
|
||||
|
||||
+2
@@ -1,3 +1,4 @@
|
||||
{{- if .Values.clusterConfig.cilium.enabled }}
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
@@ -13,3 +14,4 @@ spec:
|
||||
- ports:
|
||||
- port: "9443"
|
||||
protocol: TCP
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user