From 53cd44d6a22b8ae6c69a47eeb4a664a8410d1205 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Stensrud?= Date: Mon, 29 Jun 2026 13:04:50 +0200 Subject: [PATCH] feat(auth-sidecar): inject AUTH_OIDC_COOKIE_DOMAIN from annotation Empty when the annotation is unset = host-only = unchanged for every app. Co-Authored-By: Claude Opus 4.8 (1M context) --- cluster-resources/policies/auth-sidecar-injector.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cluster-resources/policies/auth-sidecar-injector.yaml b/cluster-resources/policies/auth-sidecar-injector.yaml index a358bdd..611a365 100644 --- a/cluster-resources/policies/auth-sidecar-injector.yaml +++ b/cluster-resources/policies/auth-sidecar-injector.yaml @@ -233,6 +233,8 @@ spec: value: "{{ regex_replace_all('https?://[^/]*', request.object.metadata.annotations.\"policies.forteapps.io/auth-oidc-callback-path\", '') }}" - name: AUTH_OIDC_SCOPES value: "{{ request.object.metadata.annotations.\"policies.forteapps.io/auth-oidc-scopes\" || 'openid,profile,email' }}" + - name: AUTH_OIDC_COOKIE_DOMAIN + value: "{{ request.object.metadata.annotations.\"policies.forteapps.io/auth-oidc-cookie-domain\" || '' }}" - name: AUTH_PUBLIC_PATHS value: "{{ request.object.metadata.annotations.\"policies.forteapps.io/auth-public-paths\" || '/healthz' }}" - name: AUTH_OIDC_COOKIE_SECRET -- 2.52.0