diff --git a/values/matomo/manifests/policy.yaml b/values/matomo/manifests/policy.yaml new file mode 100644 index 00000000..caefab84 --- /dev/null +++ b/values/matomo/manifests/policy.yaml @@ -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 }}