_workhorse.tpl 383 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
{{/* ######### gitlab-workhorse related templates */}}

{{/*
Return the gitlab-workhorse secret
*/}}

{{- define "gitlab.workhorse.secret" -}}
{{- default (printf "%s-gitlab-workhorse-secret" .Release.Name) .Values.global.workhorse.secret | quote -}}
{{- end -}}

{{- define "gitlab.workhorse.key" -}}
{{- default "shared_secret" .Values.global.workhorse.key | quote -}}
{{- end -}}