Add initial codes
[it/test.git] / test_scripts / subscription / test-subscription-helmchart-1.0.3 / templates / secrets.yaml
diff --git a/test_scripts/subscription/test-subscription-helmchart-1.0.3/templates/secrets.yaml b/test_scripts/subscription/test-subscription-helmchart-1.0.3/templates/secrets.yaml
new file mode 100755 (executable)
index 0000000..6a58cb1
--- /dev/null
@@ -0,0 +1,7 @@
+apiVersion: v1
+kind: Secret
+metadata:
+  name: {{ .Values.imageCredentials.name }}
+type: kubernetes.io/dockerconfigjson
+data:
+    .dockerconfigjson: {{ template "imagePullSecret" . }}