Skip to content

Commit 25d53da

Browse files
authored
Add variable for secure flag on session cookies (#68)
1 parent be47b0b commit 25d53da

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

charts/studio/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.14
18+
version: 0.1.15
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/studio/templates/configmap-studio.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ data:
101101
{{- end }}
102102
SCM_PROVIDERS: {{ $scmProviders | join "," | quote }}
103103

104+
SESSION_COOKIE_SECURE: {{ .Values.global.sessionCookieSecure | quote | title }}
105+
104106
SOCIAL_AUTH_REDIRECT_IS_HTTPS: "False"
105107

106108
{{- if .Values.global.ingress.enabled }}

charts/studio/values.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ global:
1616
# We recommend you set this externally. If left empty, a random key will be generated.
1717
secretKey: ""
1818

19+
# -- Studio: Enable secure flag on session cookies
20+
sessionCookieSecure: true
21+
1922
# -- Studio: Custom CA certificate in PEM format
2023
# customCaCert: |-
2124
# -----BEGIN CERTIFICATE-----

0 commit comments

Comments
 (0)