Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
fix(k8s): ingress annotations (#94)
Browse files Browse the repository at this point in the history
* fix(k8s): ingress annotations

* fix: lock

* fix

* csp

* csp

* csp
  • Loading branch information
Julien Bouquillon authored Feb 7, 2023
1 parent 25d60c5 commit a2d0a73
Show file tree
Hide file tree
Showing 4 changed files with 5,314 additions and 39,921 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"@next/next/no-html-link-for-pages": "off",
"@next/next/no-img-element": "off",
"react/no-unescaped-entities": "off",
"react/no-children-prop": "off"
"react/no-children-prop": "off",
"react/no-unknown-property": "warn"
}
}
7 changes: 7 additions & 0 deletions .kube-workflow/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,10 @@ app:
probesPath: /healthz
replicas: 1
imagePackage: app
ingress:
annotations:
nginx.ingress.kubernetes.io/configuration-snippet: |
more_set_headers "Content-Security-Policy: default-src 'none'; connect-src 'self' https://*.gouv.fr https://plausible.numericite.eu; font-src 'self' data:; img-src 'self' data:; prefetch-src 'self' https://*.gouv.fr; script-src 'self' https://plausible.numericite.eu https://cdn.ravenjs.com https://*.gouv.fr 'unsafe-inline'; frame-src 'self' https://*.gouv.fr; style-src 'self' 'unsafe-inline'; manifest-src 'self'";
more_set_headers "X-Frame-Options: deny";
more_set_headers "X-XSS-Protection: 1; mode=block";
more_set_headers "X-Content-Type-Options: nosniff";
Loading

0 comments on commit a2d0a73

Please sign in to comment.