kpt-backstage-plugins icon indicating copy to clipboard operation
kpt-backstage-plugins copied to clipboard

Pull images using PAT for the Github repository

Open 4molybdenum2 opened this issue 2 years ago • 1 comments

Currently Github authentication requires us to create a Personal Access Token (PAT). This same token can be used to pull images from ghcr. Another alternative is configuring a default secret at the service account level: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#add-imagepullsecrets-to-a-service-account which will help us in fetching the image on a private registry

PS: Is it possible to remove the requirement for PAT altogether and use something like Github Authentication Provider for Backstage? https://backstage.io/docs/auth/github/provider#docsNav

4molybdenum2 avatar Jul 29 '22 07:07 4molybdenum2

Created GoogleContainerTools/kpt#3434 to add support to Porch for authenticated container repositories. Once this is complete, I'll be able to add support to the UI.

ChristopherFry avatar Aug 03 '22 15:08 ChristopherFry