Skip to content

Commit

Permalink
whitelist reload.html
Browse files Browse the repository at this point in the history
  • Loading branch information
fiji-flo committed Nov 20, 2019
1 parent c0f7b00 commit 60014b9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion k8s/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
name: dino-park-fence
name: dino-park-fence
version: 0.0.1
6 changes: 5 additions & 1 deletion k8s/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ metadata:
nginx.ingress.kubernetes.io/enable-modsecurity: "true"
nginx.ingress.kubernetes.io/enable-owasp-core-rules: "true"
nginx.ingress.kubernetes.io/configuration-snippet: |
more_set_headers "X-Frame-Options: DENY" "X-Frame-Options: DENY" "X-XSS-Protection: 1" "X-Content-Type-Options: nosniff" "Strict-Transport-Security: max-age=63072000" "Content-Security-Policy: default-src 'self'; font-src https://fonts.gstatic.com; img-src 'self' data: blob:; script-src 'self' 'sha256-4qKuKHlhZHVtOHkzV6IoRxvJyftFsU9Bzug8piLac2s='; style-src 'self' https://fonts.googleapis.com 'unsafe-inline'; frame-ancestors 'none'; base-uri 'none'; form-action 'self'";
more_set_headers "X-Frame-Options: DENY" "X-Frame-Options: DENY" "X-XSS-Protection: 1" "X-Content-Type-Options: nosniff" "Strict-Transport-Security: max-age=63072000" "Content-Security-Policy: default-src 'self'; font-src https://fonts.gstatic.com; img-src 'self' data: blob:; script-src 'self' 'sha256-4qKuKHlhZHVtOHkzV6IoRxvJyftFsU9Bzug8piLac2s=' 'sha256-wFlxiON/IU9ZZ5PD6RqOAhUMQtTTYSO6Fh/5V470Tdo='; style-src 'self' https://fonts.googleapis.com 'unsafe-inline'; frame-ancestors 'none'; base-uri 'none'; form-action 'self'";
spec:
tls:
- hosts:
Expand All @@ -30,6 +30,10 @@ spec:
backend:
serviceName: gatekeeper
servicePort: 80
- path: /reload.html
backend:
serviceName: internal-router
servicePort: 80
- path: /opensearch.xml
backend:
serviceName: internal-router
Expand Down

0 comments on commit 60014b9

Please sign in to comment.