From 8f18c02aae125c7901fc40122518ea51ca2755cb Mon Sep 17 00:00:00 2001 From: dherges Date: Thu, 23 Nov 2023 09:01:13 +0100 Subject: [PATCH] feat: add config option kaniko.imagePullSecret --- pkg/skaffold/schema/latest/config.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/skaffold/schema/latest/config.go b/pkg/skaffold/schema/latest/config.go index e58e1db4a5a..b42bcc70c23 100644 --- a/pkg/skaffold/schema/latest/config.go +++ b/pkg/skaffold/schema/latest/config.go @@ -1419,6 +1419,9 @@ type KanikoArtifact struct { // Defaults to the latest released version of `gcr.io/kaniko-project/executor`. Image string `yaml:"image,omitempty"` + // ImagePullSecret is the name of the Kubernetes secret for pulling kaniko image and kaniko init image from a private registry + ImagePullSecret string `yaml:"imagePullSecret,omitempty"` + // DigestFile to specify a file in the container. This file will receive the digest of a built image. // This can be used to automatically track the exact image built by kaniko. DigestFile string `yaml:"digestFile,omitempty"`