using secret instead of configmap
[pipelinelib] / resources / podtemplates / kaniko.yaml
index 96b8a99d1753f5164bca01a35beee72f4f8bbaae..e58068d401168452d0fe68bc07b41e69e4418da2 100644 (file)
@@ -13,4 +13,13 @@ spec:
           memory: "2048M"
           cpu: "1000m"
           ephemeral-storage: "5Gi"
+      volumeMounts:
+        - name: docker-config
+          mountPath: /kaniko/.docker/config.jaon
+          subPath: config.json
+  volumes:
+    - name: docker-config
+      secret:
+        secretName: docker-config
+