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: implement kaniko.imagePullSecret for pulling images from private registry w/ auth #9191

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

dherges
Copy link

@dherges dherges commented Nov 23, 2023

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

@dherges dherges requested a review from a team as a code owner November 23, 2023 08:13
@dherges dherges changed the title Feat/kaniko imagepullsecret impl feat: implement kaniko.imagePullSecret for pulling images from private registry w/ auth Nov 23, 2023
@dherges dherges force-pushed the feat/kaniko-imagepullsecret-impl branch from df04663 to 2f3433f Compare January 5, 2024 15:50
@dherges
Copy link
Author

dherges commented Jan 5, 2024

Hello @aaron-prindle I rebased to latest main branch. Could you take a look?

@uluzox
Copy link

uluzox commented Sep 30, 2024

I think that would be a good update!

@mepi262
Copy link

mepi262 commented Nov 12, 2024

@dherges
It seems that this branch has conflicts.
Would you resolve the conflicts?

@@ -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
Copy link
Contributor

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

Copy link
Author

Choose a reason for hiding this comment

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

is that good?

@dherges dherges force-pushed the feat/kaniko-imagepullsecret-impl branch from 2f3433f to 27288b8 Compare December 21, 2024 11:51
@dherges
Copy link
Author

dherges commented Dec 21, 2024

@dherges It seems that this branch has conflicts. Would you resolve the conflicts?

conflicts resolved!

@dherges dherges force-pushed the feat/kaniko-imagepullsecret-impl branch from a23dff9 to ad28434 Compare December 21, 2024 12:58
@dherges dherges requested a review from alphanota December 21, 2024 13:12
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.

kaniko in-cluster build: pulling kaniko images from private registry w/ image pull secret
4 participants