From 25f1e1e40ec4819bb02c69a72fd4d1b1a4210a10 Mon Sep 17 00:00:00 2001 From: Jonas Juselius Date: Fri, 20 Jun 2025 13:09:09 +0200 Subject: [PATCH] feat: add grafana pdc agent cnp --- .../manifests/allow-grafana-pdc-agent.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 values/grafana-pdc-agent/manifests/allow-grafana-pdc-agent.yaml diff --git a/values/grafana-pdc-agent/manifests/allow-grafana-pdc-agent.yaml b/values/grafana-pdc-agent/manifests/allow-grafana-pdc-agent.yaml new file mode 100644 index 00000000..ebeb8a13 --- /dev/null +++ b/values/grafana-pdc-agent/manifests/allow-grafana-pdc-agent.yaml @@ -0,0 +1,14 @@ +i{{- if .Values.clusterConfig.cilium.enabled }} +apiVersion: cilium.io/v2 +kind: CiliumNetworkPolicy +metadata: + name: allow-grafana-pdc-agent + namespace: prometheus +spec: + endpointSelector: + matchLabels: + name: grafana-pdc-agent + egress: + - toFQDNs: + - matchName: private-datasource-connect-api-prod-eu-north-0.grafana.net +{{- end }}