Skip to content

Commit

Permalink
remove default CSP
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-van-woerkens committed Aug 3, 2023
1 parent 5a9e24c commit f68bdd2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .kontinuous/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ app:
containerPort: 3000
imagePackage: app # implicit
probesPath: /api/healthz
ingress:
annotations:
nginx.ingress.kubernetes.io/configuration-snippet: |
more_set_headers "Content-Security-Policy: default-src 'none'; connect-src 'self' https://*.gouv.fr; font-src 'self'; img-src 'self'; prefetch-src 'self' https://*.gouv.fr; script-src 'self' https://*.gouv.fr; frame-src 'self' https://*.gouv.fr; style-src 'self' 'unsafe-inline'";
more_set_headers "X-Frame-Options: deny";
more_set_headers "X-XSS-Protection: 1; mode=block";
more_set_headers "X-Content-Type-Options: nosniff";
# ingress:
# annotations:
# nginx.ingress.kubernetes.io/configuration-snippet: |
# more_set_headers "Content-Security-Policy: default-src 'none'; connect-src 'self' https://*.gouv.fr; font-src 'self'; img-src 'self'; prefetch-src 'self' https://*.gouv.fr; script-src 'self' https://*.gouv.fr; frame-src 'self' https://*.gouv.fr; style-src 'self' 'unsafe-inline'";
# more_set_headers "X-Frame-Options: deny";
# more_set_headers "X-XSS-Protection: 1; mode=block";
# more_set_headers "X-Content-Type-Options: nosniff";

jobs:
runs:
Expand Down

0 comments on commit f68bdd2

Please sign in to comment.