added docker config secret
authorErik Brakkee <erik@brakkee.org>
Sat, 1 Oct 2022 19:11:02 +0000 (21:11 +0200)
committerErik Brakkee <erik@brakkee.org>
Sat, 1 Oct 2022 19:11:02 +0000 (21:11 +0200)
resources/podtemplates/kaniko.yaml

index 96b8a99d1753f5164bca01a35beee72f4f8bbaae..f6382b95bdc986454988882734949c18b0184fae 100644 (file)
@@ -13,4 +13,12 @@ spec:
           memory: "2048M"
           cpu: "1000m"
           ephemeral-storage: "5Gi"
+      volumeMounts:
+        - name: docker-config
+          mountPath: /kaniko/.docker/config.jaon
+          subPath: config.json
+  volumes:
+    - name: docker-config
+      configMap:
+        name: docker-config