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:
|
||||
@@ -11,4 +12,5 @@ spec:
|
||||
- matchName: raw.githubusercontent.com
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: plausible-analytics
|
||||
app.kubernetes.io/name: plausible-analytics
|
||||
{{- end }}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{{- if .Values.clusterConfig.cilium.enabled }}
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
@@ -12,4 +13,5 @@ spec:
|
||||
- matchName: www.gravatar.com
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: plausible-analytics
|
||||
app.kubernetes.io/name: plausible-analytics
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user