We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfd8271 commit 3b85996Copy full SHA for 3b85996
salt/metalk8s/addons/ui/deployed/ingress.sls
@@ -28,6 +28,11 @@ metadata:
28
nginx.ingress.kubernetes.io/rewrite-target: '/$2'
29
nginx.ingress.kubernetes.io/use-regex: "true"
30
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
31
+ # Add strict SameSite policy for Salt API
32
+ nginx.ingress.kubernetes.io/configuration-snippet: |
33
+ if ($proxy_host = "salt-api") {
34
+ proxy_cookie_path / "/; SameSite=Strict; HttpOnly; Secure";
35
+ }
36
spec:
37
ingressClassName: "nginx-control-plane"
38
rules:
0 commit comments