mirror of
https://github.com/lukaszraczylo/kubernetes-images-sync-operator.git
synced 2026-07-10 04:03:01 +00:00
Improve helm chart allowing for lock of the worker image
This commit is contained in:
@@ -51,12 +51,8 @@ app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Create the name of the service account to use
|
||||
Get the worker image
|
||||
*/}}
|
||||
{{- define "chart.serviceAccountName" -}}
|
||||
{{- if .Values.serviceAccount.create }}
|
||||
{{- default (include "chart.fullname" .) .Values.serviceAccount.name }}
|
||||
{{- else }}
|
||||
{{- default "default" .Values.serviceAccount.name }}
|
||||
{{- end }}
|
||||
{{- define "chart.workerImage" -}}
|
||||
{{- printf "%s:%s" .Values.images.worker.repository .Values.images.worker.tag }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user