-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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: implement kaniko.imagePullSecret for pulling images from private registry w/ auth #9191
base: main
Are you sure you want to change the base?
feat: implement kaniko.imagePullSecret for pulling images from private registry w/ auth #9191
Conversation
df04663
to
2f3433f
Compare
Hello @aaron-prindle I rebased to latest main branch. Could you take a look? |
I think that would be a good update! |
@dherges |
@@ -90,6 +90,13 @@ func (b *Builder) kanikoPodSpec(artifact *latest.KanikoArtifact, tag string, pla | |||
addSecretVolume(pod, kaniko.DefaultSecretName, b.ClusterDetails.PullSecretMountPath, b.ClusterDetails.PullSecretName) | |||
} | |||
|
|||
// Add secret for pulling kaniko images from a private registry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a test for this change in pod_test.go
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is that good?
2f3433f
to
27288b8
Compare
conflicts resolved! |
a23dff9
to
ad28434
Compare
Fixes: #9170
Related: #9183 (closed), #9190
Merge before/after: after #9190
Description
Implements the config option, see #9183 and #9170
User facing changes (remove if N/A)
n/a
Follow-up Work (remove if N/A)
n/a