Skip to content

Commit

Permalink
Add variable for secure flag on session cookies (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
jesper7 authored Jan 30, 2023
1 parent be47b0b commit 25d53da
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/studio/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.14
version: 0.1.15

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 2 additions & 0 deletions charts/studio/templates/configmap-studio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ data:
{{- end }}
SCM_PROVIDERS: {{ $scmProviders | join "," | quote }}

SESSION_COOKIE_SECURE: {{ .Values.global.sessionCookieSecure | quote | title }}

SOCIAL_AUTH_REDIRECT_IS_HTTPS: "False"

{{- if .Values.global.ingress.enabled }}
Expand Down
3 changes: 3 additions & 0 deletions charts/studio/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ global:
# We recommend you set this externally. If left empty, a random key will be generated.
secretKey: ""

# -- Studio: Enable secure flag on session cookies
sessionCookieSecure: true

# -- Studio: Custom CA certificate in PEM format
# customCaCert: |-
# -----BEGIN CERTIFICATE-----
Expand Down

0 comments on commit 25d53da

Please sign in to comment.