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
4 changes: 2 additions & 2 deletions Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: retool
description: A Helm chart for Kubernetes
type: application
version: 4.2.0
appVersion: "2.66.14"
version: 4.3.0
appVersion: "2.70.21"
maintainers:
- name: Retool Engineering
email: [email protected]
Expand Down
30 changes: 21 additions & 9 deletions templates/deployment_backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ spec:
{{ toYaml .Values.commandline.args | indent 10 }}
{{- end }}
env:
- name: SCIM_AUTH_TOKEN
value: {{ .Values.config.auth.onelogin.scimAuthToken | quote }}
- name: NODE_ENV
value: production
{{- if gt (int (toString (.Values.replicaCount))) 1 }}
Expand Down Expand Up @@ -92,15 +94,25 @@ spec:
name: {{ template "retool.fullname" . }}
{{- end }}
key: postgresql-password
- name: CLIENT_ID
value: {{ default "" .Values.config.auth.google.clientId }}
- name: CLIENT_SECRET
valueFrom:
secretKeyRef:
name: {{ template "retool.fullname" . }}
key: google-client-secret
- name: RESTRICTED_DOMAIN
value: {{ default "" .Values.config.auth.google.domain }}
#- name: CLIENT_ID
# value: {{ default "" .Values.config.auth.google.clientId }}
#- name: CLIENT_SECRET
# valueFrom:
# secretKeyRef:
# name: {{ template "retool.fullname" . }}
# key: google-client-secret
#- name: RESTRICTED_DOMAIN
# value: {{ default "" .Values.config.auth.google.domain }}
- name: BASE_DOMAIN
value: {{ default "" .Values.config.baseDomain }}
- name: GITHUB_APP_ID
value: {{ .Values.config.githubAppId | default "" | quote }}
- name: GITHUB_APP_INSTALLATION_ID
value: {{ .Values.config.githubAppInstallationId | default "" | quote }}
- name: GITHUB_APP_PRIVATE_KEY
value: {{ .Values.config.githubAppPrivateKey | default "" | quote }}
- name: VERSION_CONTROL_LOCKED
value: {{ .Values.config.versionControlLocked | default "" | quote }}
{{- end }}
{{- range $key, $value := .Values.env }}
- name: "{{ $key }}"
Expand Down
10 changes: 10 additions & 0 deletions templates/deployment_jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,16 @@ spec:
key: google-client-secret
- name: RESTRICTED_DOMAIN
value: {{ default "" .Values.config.auth.google.domain }}
- name: BASE_DOMAIN
value: {{ .Values.config.baseDomain | quote }}
- name: GITHUB_APP_ID
value: {{ .Values.config.githubAppId | default "" | quote }}
- name: GITHUB_APP_INSTALLATION_ID
value: {{ .Values.config.githubAppInstallationId | default "" | quote }}
- name: GITHUB_APP_PRIVATE_KEY
value: {{ .Values.config.githubAppPrivateKey | default "" | quote }}
- name: VERSION_CONTROL_LOCKED
value: {{ .Values.config.versionControlLocked | default "" | quote }}
{{- end }}
{{- range $key, $value := .Values.env }}
- name: "{{ $key }}"
Expand Down
1 change: 0 additions & 1 deletion templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ metadata:
type: Opaque
data:
license-key: {{ .Values.config.licenseKey | b64enc | quote }}

{{ if .Values.config.jwtSecret }}
jwt-secret: {{ .Values.config.jwtSecret | b64enc | quote }}
{{ else }}
Expand Down
6 changes: 6 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,14 @@ config:
clientId:
clientSecret:
domain:
onelogin:
scimAuthToken:
encryptionKey:
jwtSecret:
baseDomain:
githubAppId:
githubAppInstallationId:
githubAppPrivateKey:

postgresql: {}
# Specify if postgresql subchart is disabled
Expand Down