Skip to content

Commit 807392b

Browse files
Enforce a Strict SameSite policy on SALT API
1 parent 3b85996 commit 807392b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

salt/metalk8s/addons/ui/deployed/ingress.sls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ metadata:
3131
# Add strict SameSite policy for Salt API
3232
nginx.ingress.kubernetes.io/configuration-snippet: |
3333
if ($proxy_host = "salt-api") {
34-
proxy_cookie_path / "/; SameSite=Strict; HttpOnly; Secure";
34+
proxy_cookie_flags ~ SameSite=Strict Secure HttpOnly;
3535
}
3636
spec:
3737
ingressClassName: "nginx-control-plane"

0 commit comments

Comments
 (0)