mirror of
https://github.com/Dannecron/netology-devops-gw-infra.git
synced 2025-12-25 15:22:36 +03:00
[stage-5] improve jenkins helm chart, add scripts for jenkins pipeline
This commit is contained in:
6
k8s/helm/jenkins/templates/_helper.tpl
Normal file
6
k8s/helm/jenkins/templates/_helper.tpl
Normal file
@@ -0,0 +1,6 @@
|
||||
{{- define "docker_config" -}}
|
||||
{{ $auth := printf "%s:%s" .Values.docker.dockerHubUser .Values.docker.dockerHubPassword }}
|
||||
auths:
|
||||
"https://index.docker.io/v1/":
|
||||
auth: {{ $auth | b64enc }}
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user