Allow registry credentials to be passed into kbld in template
Describe the problem/challenge you have I was looking to have a small App CR that took my main branch from git with k8s YAML in it, run a kbld on it, and deploy it. It's better to have the sha256 image URLs rather than latest or even me manually editing it for versions.
Describe the solution you'd like
- Could just add a secretRef field to the kbld section
- Could allow kbld to re-use secretRefs from the fetch.image and/or fetch.imgpkgBundle
- Have kbld+image+imgpkgBundle all support registry credentials from the serviceAccount
Anything else you would like to add: Relevant Slack thread with a small sample: https://kubernetes.slack.com/archives/CH8KCCKA5/p1658544850496609
Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible" 👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.
Thanks for filing this @ProNibs - because you were encouraged to file this issue in slack I've marked it as 'accepted', and I think I understand the ask and use-case but as always feel free to add any additional color that might be helpful!