Merge pull request #8890 from Budibase/jonny/helm-reject-unauth

Add env var for tls-reject-unauthorised to helm chart
This commit is contained in:
Jonny McCullagh 2022-12-02 10:03:57 +00:00 committed by GitHub
commit 381ad96e89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 0 deletions

View File

@ -158,6 +158,10 @@ spec:
{{ end }} {{ end }}
- name: CDN_URL - name: CDN_URL
value: {{ .Values.globals.cdnUrl }} value: {{ .Values.globals.cdnUrl }}
{{ if .Values.services.tlsRejectUnauthorized }}
- name: NODE_TLS_REJECT_UNAUTHORIZED
value: {{ .Values.services.tlsRejectUnauthorized }}
{{ end }}
image: budibase/apps:{{ .Values.globals.appVersion }} image: budibase/apps:{{ .Values.globals.appVersion }}
imagePullPolicy: Always imagePullPolicy: Always

View File

@ -42,6 +42,7 @@ spec:
secretKeyRef: secretKeyRef:
name: {{ template "budibase.fullname" . }} name: {{ template "budibase.fullname" . }}
key: objectStoreSecret key: objectStoreSecret
image: minio/minio image: minio/minio
imagePullPolicy: "" imagePullPolicy: ""
livenessProbe: livenessProbe:

View File

@ -60,5 +60,6 @@ spec:
- name: redis-data - name: redis-data
persistentVolumeClaim: persistentVolumeClaim:
claimName: redis-data claimName: redis-data
status: {} status: {}
{{- end }} {{- end }}

View File

@ -149,6 +149,10 @@ spec:
{{ end }} {{ end }}
- name: CDN_URL - name: CDN_URL
value: {{ .Values.globals.cdnUrl }} value: {{ .Values.globals.cdnUrl }}
{{ if .Values.services.tlsRejectUnauthorized }}
- name: NODE_TLS_REJECT_UNAUTHORIZED
value: {{ .Values.services.tlsRejectUnauthorized }}
{{ end }}
image: budibase/worker:{{ .Values.globals.appVersion }} image: budibase/worker:{{ .Values.globals.appVersion }}
imagePullPolicy: Always imagePullPolicy: Always

View File

@ -110,6 +110,7 @@ globals:
services: services:
budibaseVersion: latest budibaseVersion: latest
dns: cluster.local dns: cluster.local
# tlsRejectUnauthorized: 0
proxy: proxy:
port: 10000 port: 10000