Code Review
/
ric-plt
/
a1.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Move integration tests to k8s
[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
+++ b/
integration_tests/a1mediator/templates/helper.yaml
@@ -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 }}