Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions templates/portal/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ data:
}
location = /index.html {
add_header Cache-Control "no-store, no-cache, must-revalidate";
{{- with .Values.portal.contentSecurityPolicy }}
add_header Content-Security-Policy {{ . }}
{{- end }}
}
}
}
1 change: 1 addition & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,7 @@ portal:
# - name: wait
# image: busybox
# command: [ 'sh', '-c', "sleep 20" ]
contentSecurityPolicy: ""

core:
image:
Expand Down