fix: Add policy
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
{{- if .Values.clusterConfig.cilium.enabled }}
|
||||||
|
apiVersion: cilium.io/v2
|
||||||
|
kind: CiliumNetworkPolicy
|
||||||
|
metadata:
|
||||||
|
name: allow-api-matomo
|
||||||
|
namespace: analytics
|
||||||
|
spec:
|
||||||
|
description: Allow matomo api
|
||||||
|
egress:
|
||||||
|
- toFQDNs:
|
||||||
|
- matchPattern: api.matomo.org
|
||||||
|
endpointSelector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/instance: matomo
|
||||||
|
{{- end }}
|
||||||
Reference in New Issue
Block a user