Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add config option kaniko.imagePullSecret #9190

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dherges
Copy link

@dherges dherges commented Nov 23, 2023

Fixes: adds config option to address issue #9170

Related: #9170
Merge before/after: before #9191

Description

User facing changes (remove if N/A)
Adds a new config option for pulling kaniko images from private registry

Follow-up Work (remove if N/A)

implementation follows in #9183

@@ -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"`
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello skaffold maintainers, is someone available to help? I was instructed to create a separate pull request for the config change. It is only the 2 lines above. How are the unit tests / linter errors caused by the config change? How to resolve?

@dherges
Copy link
Author

dherges commented Jan 5, 2024

Hello @JeromeJu I rebased the branch to latest main branch. Could you take a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant