Why Flux2 can not use one ImageRepository for all images #2797
Replies: 1 comment 12 replies
-
This wording could perhaps be improved. The Google Artifact Repository has a way of structuring Repository with multiple Images. The normal way we expected this arrangement to work is that a Registry contains Image repositories (each with one image, and many tags) – the GAR "repository" is what we would properly call a "Registry" and a repository should have only one image name and many tags, but not multiple image names per repository. We are not sure why Google has reversed the terminology here, but we are discussing how we can disambiguate the terms in the Flux Bug Scrub meeting right now. Thanks for bringing this up. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @stefanprodan , I have a question regarding
Configure image scanningfor Image Repositories in Flux2We are using the Google artifact repository for our image registry, inside the registry each application has a name & inside the name there are tags. like
europe-west3-docker.pkg.dev/company/team/application1The problem is your documents say...
but when I use just my registry address in
spec.imagelikeeurope-west3-docker.pkg.dev/company/team/afterflux reconcile kustomization --with-source flux-systemflux can not scan all the registry and images with tags & I have to point to a specific image name so flux2 can find the tags.since in Flux1 this part was automatically done by flux (scanning images & tags) but in Flux2 for each application in my GitOps I have to define a new ImageRepository kind like this
How we can define an ImageRepository by just pointing to 1 registry with (image & tags) scan enabled so flux2 can list all images and tags.
Beta Was this translation helpful? Give feedback.
All reactions