File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change
1
+ {{- if .Values.ingress.headers -}}
2
+ apiVersion : v1
3
+ kind : ConfigMap
4
+ metadata :
5
+ name : ingress-nginx-custom-headers
6
+ labels :
7
+ {{- include "helm-chart.labels" . | nindent 4 }}
8
+ data : {{ .Values.ingress.headers | nindent 2 }}
9
+ {{- end }}
Original file line number Diff line number Diff line change @@ -25,8 +25,9 @@ ingress:
25
25
className : cilium
26
26
annotations :
27
27
kubernetes.io/tls-acme : " true"
28
- nginx.ingress.kubernetes.io/configuration-snippet : |
29
- more_set_headers "Content-Security-Policy: default-src 'self'; child-src 'self'; connect-src 'self' https://api-iam.intercom.io https://api.bako.global https://api.bako.global/socket.io https://api-js.mixpanel.com https://api.web3modal.org https://app.sentio.xyz https://hermes.pyth.network https://indexer.hyperindex.xyz https://mainnet.fuel.network https://nexus-websocket-a.intercom.io https://region1.google-analytics.com https://relay.walletconnect.org https://spark-candles.v12.trade https://testnet.fuel.network https://unleash.v12.trade https://www.google-analytics.com wss://api.bako.global/socket.io wss://indexer.hyperindex.xyz wss://nexus-websocket-a.intercom.io wss://relay.walletconnect.com wss://relay.walletconnect.org; font-src 'self' https://fonts.gstatic.com data:; frame-src 'self' https://e.widgetbot.io https://intercom.io https://s.tradingview.com https://verify.walletconnect.com https://widget.intercom.io https://widgetbot.io blob:; img-src 'self' data:; manifest-src 'self'; media-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://cdn.jsdelivr.net https://js.intercomcdn.com https://s3.tradingview.com https://widget.intercom.io https://www.googletagmanager.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; upgrade-insecure-requests; worker-src 'self'; block-all-mixed-content;";
28
+ nginx.ingress.kubernetes.io/custom-headers : spark-frontend/ingress-nginx-custom-headers
29
+ headers : |
30
+ Content-Security-Policy: default-src 'self'; child-src 'self'; connect-src 'self' https://api-iam.intercom.io https://api.bako.global https://api.bako.global/socket.io https://api-js.mixpanel.com https://api.web3modal.org https://app.sentio.xyz https://hermes.pyth.network https://indexer.hyperindex.xyz https://mainnet.fuel.network https://nexus-websocket-a.intercom.io https://region1.google-analytics.com https://relay.walletconnect.org https://spark-candles.v12.trade https://testnet.fuel.network https://unleash.v12.trade https://www.google-analytics.com wss://api.bako.global/socket.io wss://indexer.hyperindex.xyz wss://nexus-websocket-a.intercom.io wss://relay.walletconnect.com wss://relay.walletconnect.org; font-src 'self' https://fonts.gstatic.com data:; frame-src 'self' https://e.widgetbot.io https://intercom.io https://s.tradingview.com https://verify.walletconnect.com https://widget.intercom.io https://widgetbot.io blob:; img-src 'self' data:; manifest-src 'self'; media-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://cdn.jsdelivr.net https://js.intercomcdn.com https://s3.tradingview.com https://widget.intercom.io https://www.googletagmanager.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; upgrade-insecure-requests; worker-src 'self'; block-all-mixed-content;
30
31
31
32
resources :
32
33
requests :
You can’t perform that action at this time.
0 commit comments