jenkins-x/jx

Switch to artifact registry for GKE

msvticket opened this issue · 2 comments

Currently Jenkins X on GKE is by default using Container Registry for images. But Google will discontinue container registry and recommends migration to Artifact Registry. https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr

So what is needed is (at least):

The above assumes the same repository is used for all images. If we instead want to follow the convention of having the name of the git repository owner as repository (or in Jenkins X parlance "docker registry org") support in jx-registry for checking the existence of and if needed create the repository is needed. But I don't think that is worth the effort.

Hi @msvticket i made a PR jenkins-x/terraform-google-jx#235 where i added the GCP Artifact Registry for Docker image, don't need authentication, I used service account (default to allow nodes to download images), and tekton to upload images.

I made a PR in jx3-terraform-gke to reflect the changes on terraform-google-jx