From c6afa55d284686cffd2597af1c8878a7523176e6 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 860efb7f673..1f11e2de296 100644 --- a/pkg/skaffold/schema/latest/config.go +++ b/pkg/skaffold/schema/latest/config.go @@ -1465,6 +1465,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 p$ + ImagePullSecret string `yaml:"imagePullSecret,omitempty"` + // Destination is additional tags to push. Destination []string `yaml:"destination,omitempty"`