allow a custom docker registry to be passed if required to helm chart

This commit is contained in:
Martin McKeaveney 2024-08-16 15:29:52 +01:00
parent 20baecc9fb
commit 43560aa04f
6 changed files with 6 additions and 6 deletions

View File

@ -221,7 +221,7 @@ spec:
name: {{ .secretName }} name: {{ .secretName }}
key: {{ .secretKey | quote }} key: {{ .secretKey | quote }}
{{- end}} {{- end}}
image: budibase/apps:{{ .Values.globals.appVersion | default .Chart.AppVersion }} image: {{ .Values.globals.dockerRegistry }}budibase/apps:{{ .Values.globals.appVersion | default .Chart.AppVersion }}
imagePullPolicy: Always imagePullPolicy: Always
{{- if .Values.services.apps.startupProbe }} {{- if .Values.services.apps.startupProbe }}
{{- with .Values.services.apps.startupProbe }} {{- with .Values.services.apps.startupProbe }}

View File

@ -209,7 +209,7 @@ spec:
key: {{ .secretKey | quote }} key: {{ .secretKey | quote }}
{{- end}} {{- end}}
image: budibase/apps:{{ .Values.globals.appVersion | default .Chart.AppVersion }} image: {{ .Values.globals.dockerRegistry }}budibase/apps:{{ .Values.globals.appVersion | default .Chart.AppVersion }}
imagePullPolicy: Always imagePullPolicy: Always
{{- if .Values.services.automationWorkers.startupProbe }} {{- if .Values.services.automationWorkers.startupProbe }}
{{- with .Values.services.automationWorkers.startupProbe }} {{- with .Values.services.automationWorkers.startupProbe }}

View File

@ -35,7 +35,7 @@ spec:
name: {{ template "budibase.fullname" . }} name: {{ template "budibase.fullname" . }}
key: objectStoreSecret key: objectStoreSecret
image: minio/minio image: {{ .Values.globals.dockerRegistry }}minio/minio
imagePullPolicy: "" imagePullPolicy: ""
livenessProbe: livenessProbe:
httpGet: httpGet:

View File

@ -32,7 +32,7 @@ spec:
{{ end }} {{ end }}
spec: spec:
containers: containers:
- image: budibase/proxy:{{ .Values.globals.appVersion | default .Chart.AppVersion }} - image: {{ .Values.globals.dockerRegistry }}budibase/proxy:{{ .Values.globals.appVersion | default .Chart.AppVersion }}
imagePullPolicy: Always imagePullPolicy: Always
name: proxy-service name: proxy-service
{{- if .Values.services.proxy.startupProbe }} {{- if .Values.services.proxy.startupProbe }}

View File

@ -22,7 +22,7 @@ spec:
- redis-server - redis-server
- --requirepass - --requirepass
- {{ .Values.services.redis.password }} - {{ .Values.services.redis.password }}
image: {{ .Values.services.redis.image }} image: {{ .Values.globals.dockerRegistry }}{{ .Values.services.redis.image }}
imagePullPolicy: "" imagePullPolicy: ""
name: redis-service name: redis-service
ports: ports:

View File

@ -207,7 +207,7 @@ spec:
name: {{ .secretName }} name: {{ .secretName }}
key: {{ .secretKey | quote }} key: {{ .secretKey | quote }}
{{- end}} {{- end}}
image: budibase/worker:{{ .Values.globals.appVersion | default .Chart.AppVersion }} image: {{ .Values.globals.dockerRegistry }}budibase/worker:{{ .Values.globals.appVersion | default .Chart.AppVersion }}
imagePullPolicy: Always imagePullPolicy: Always
{{- if .Values.services.worker.startupProbe }} {{- if .Values.services.worker.startupProbe }}
{{- with .Values.services.worker.startupProbe }} {{- with .Values.services.worker.startupProbe }}