From a7c541b28d3ad58b211322548a3d22a548c46c39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20J=C3=B6rg?= Date: Thu, 11 Sep 2025 14:37:22 +0200 Subject: [PATCH] fix: Add policy --- values/matomo/manifests/policy.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 values/matomo/manifests/policy.yaml 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 }}