Skip to content

Commit

Permalink
remove csp default value
Browse files Browse the repository at this point in the history
  • Loading branch information
moctardiouf authored Sep 22, 2023
1 parent d0c00bb commit 8dacf19
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions charts/phraseanet/templates/gateway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ spec:
- name: "GATEWAY_USERS"
value: {{ .Values.http.gateway_users }}
- name: "GATEWAY_CSP"
# value: {{ .Values.http.gateway_csp }} # this variable should be used when available
value: {{ "default-src 'self' 127.0.0.1 https://apiws.carrick-skills.com:8443 https://apiws.carrick-flow.com:8443 https://fonts.gstatic.com *.tiles.mapbox.com https://api.mapbox.com https://events.mapbox.com *.axept.io *.matomo.cloud *.newrelic.com *.nr-data.net https://www.googletagmanager.com *.google-analytics.com *.phrasea.io https://apiws.carrick-flow.com:8443 https://apiws.carrick-skills.com:8443 data: ;script-src 'unsafe-inline' 'unsafe-eval' 'self' https://www.gstatic.com *.alchemyasp.com *.axept.io *.matomo.cloud *.newrelic.com https://www.googletagmanager.com https://apiws.carrick-flow.com:8443 https://apiws.carrick-skills.com:8443 ;style-src 'self' 'unsafe-inline' https://fonts.gstatic.com https://fonts.googleapis.com https://www.google.com https://www.gstatic.com https://apiws.carrick-flow.com:8443 https://apiws.carrick-skills.com:8443;img-src 'self' data: blob: *.tiles.mapbox.com https://axeptio.imgix.net *.cloudfront.net *.phrasea.io *.amazonaws.com https://apiws.carrick-flow.com:8443 https://apiws.carrick-skills.com:8443 ; object-src 'self';frame-ancestors 'self'" }}

value: {{ .Values.http.gateway_csp }}
{{- end }}

0 comments on commit 8dacf19

Please sign in to comment.