Files from python version needed from testing.
[ric-plt/a1.git] / integration_tests / a1mediator / templates / helper.yaml
diff --git a/integration_tests/a1mediator/templates/helper.yaml b/integration_tests/a1mediator/templates/helper.yaml
new file mode 100644 (file)
index 0000000..c036840
--- /dev/null
@@ -0,0 +1,3 @@
+{{- define "imagePullSecret" }}
+{{- printf "{\"auths\": {\"%s\": {\"auth\": \"%s\"}}}" .Values.imageCredentials.registry (printf "%s:%s" .Values.imageCredentials.username .Values.imageCredentials.password | b64enc) | b64enc }}
+{{- end }}