Skip to content

Commit ba97dc2

Browse files
committed
fix: ingress customHeaders
1 parent b2632a5 commit ba97dc2

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.kontinuous/values.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,11 @@ form:
6262
name: app-configmap
6363
probesPath: /api/healthz
6464
ingress:
65-
annotations:
66-
nginx.ingress.kubernetes.io/configuration-snippet: |
67-
more_set_headers "Content-Security-Policy: default-src 'none'; manifest-src 'self' https://*.gouv.fr; connect-src 'self' https://*.gouv.fr; media-src 'self'; font-src 'self' data:; img-src 'self' data:; script-src 'self' https://*.gouv.fr 'unsafe-inline'; frame-src 'self' https://*.gouv.fr; style-src 'self' 'unsafe-inline'";
68-
more_set_headers "X-Frame-Options: deny";
69-
more_set_headers "X-XSS-Protection: 1; mode=block";
70-
more_set_headers "X-Content-Type-Options: nosniff";
65+
customHeaders:
66+
"Content-Security-Policy": "default-src 'none'; manifest-src 'self' https://*.gouv.fr; connect-src 'self' https://*.gouv.fr; media-src 'self'; font-src 'self' data:; img-src 'self' data:; script-src 'self' https://*.gouv.fr 'unsafe-inline'; frame-src 'self' https://*.gouv.fr; style-src 'self' 'unsafe-inline'"
67+
"X-Frame-Options": "deny"
68+
"X-XSS-Protection": "1; mode=block"
69+
"X-Content-Type-Options": "nosniff"
7170

7271
pg:
7372
~chart: pg

0 commit comments

Comments
 (0)