From 79b3104601845e9212d5eefed059354f63457e62 Mon Sep 17 00:00:00 2001 From: plsgiveup <88271672+plsgiveup@users.noreply.github.com> Date: Mon, 28 Sep 2026 14:05:56 +0300 Subject: [PATCH] fix(chart): bind web security policy to rendered route name --- charts/ipfs-operator/templates/security-policy.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/ipfs-operator/templates/security-policy.yaml b/charts/ipfs-operator/templates/security-policy.yaml index 4e092ce..2c15d63 100644 --- a/charts/ipfs-operator/templates/security-policy.yaml +++ b/charts/ipfs-operator/templates/security-policy.yaml @@ -1,12 +1,13 @@ apiVersion: gateway.envoyproxy.io/v1alpha1 kind: SecurityPolicy metadata: - name: ipfs-operator-web + name: {{ include "web.fullname" . }} + namespace: {{ .Release.Namespace }} spec: targetRefs: - group: gateway.networking.k8s.io kind: HTTPRoute - name: ipfs-operator-web + name: {{ include "web.fullname" . }} basicAuth: users: name: "ipfs-operator-web-basic-auth"