feat: add helm chart for deployment to k8s
This commit is contained in:
parent
917376899c
commit
bb1a9403bb
14 changed files with 218 additions and 1 deletions
5
deploy/templates/_helpers.tpl
Normal file
5
deploy/templates/_helpers.tpl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{{- define "imagePullSecret" }}
|
||||
{{- with .Values.imageCredentials }}
|
||||
{{- printf "{\"auths\":{\"%s\":{\"username\":\"%s\",\"password\":\"%s\",\"email\":\"%s\",\"auth\":\"%s\"}}}" .registry .username .password .email (printf "%s:%s" .username .password | b64enc) | b64enc }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in a new issue