Add initial codes
[it/test.git] / test_scripts / subscription / test-subscription-helmchart-1.0.3 / templates / imagePullSecret.yaml
1 {{- define "imagePullSecret" }}
2 {{- printf "{\"auths\": {\"%s\": {\"auth\": \"%s\"}}}" .Values.imageCredentials.registry (printf "%s:%s" .Values.imageCredentials.username .Values.imageCredentials.password | b64enc) | b64enc }}
3 {{- end }}