Syntax fix for proxy service image in helm charts (#10284)

This commit is contained in:
Rory Powell 2023-04-12 22:19:54 +01:00 committed by GitHub
parent 222e772cb7
commit 36ba6507e3
3 changed files with 3 additions and 18 deletions

View File

@ -199,12 +199,7 @@ spec:
value: {{ .Values.services.tlsRejectUnauthorized }}
{{ end }}
image: >-
{{- if .Values.globals.appVersion }}
budibase/apps:{{ .Values.globals.appVersion }}
{{- else }}
budibase/apps:{{ .Chart.AppVersion }}
{{- end }}
image: budibase/apps:{{ .Values.globals.appVersion | default .Chart.AppVersion }}
imagePullPolicy: Always
livenessProbe:
httpGet:

View File

@ -37,12 +37,7 @@ spec:
{{ end }}
spec:
containers:
image: >-
{{- if .Values.globals.appVersion }}
budibase/proxy:{{ .Values.globals.appVersion }}
{{- else }}
budibase/proxy:{{ .Chart.AppVersion }}
{{- end }}
- image: budibase/proxy:{{ .Values.globals.appVersion | default .Chart.AppVersion }}
imagePullPolicy: Always
name: proxy-service
ports:

View File

@ -188,12 +188,7 @@ spec:
- name: NODE_TLS_REJECT_UNAUTHORIZED
value: {{ .Values.services.tlsRejectUnauthorized }}
{{ end }}
image: >-
{{- if .Values.globals.appVersion }}
budibase/worker:{{ .Values.globals.appVersion }}
{{- else }}
budibase/worker:{{ .Chart.AppVersion }}
{{- end }}
image: budibase/worker:{{ .Values.globals.appVersion | default .Chart.AppVersion }}
imagePullPolicy: Always
livenessProbe:
httpGet: