-
Notifications
You must be signed in to change notification settings - Fork 191
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
Requested feature: flux OCI helm repositories notice when tags on remote registry change #839
Comments
additional notes:
|
As per RFC, the
Instead, it provides an authentication reference which is then utilized by a Keeping track of individual tags is out of scope for the source-controller at present. If the user wants automation of a I think this is not likely to change before the distribution spec offers more advanced query capabilities, as the current way you have to collect information from tags and manifests (to inspect e.g. on media type) is expensive in terms of number of requests you have to make to maintain this index. Which is why almost all solutions currently assume any tag to be of the requested type, and then assert it during pull (which is essentially what the What are your more precise requirements? I may help you find an alternative solution, or steer you into the direction of a feature request which seems doable short term. |
Thank you for your comment. The "precise" requirement (again remember I am not an end user) is that Helm OCI charts notice the changes on remote and record it locally. Same way that regular HTTP charts notice changes to remote P.S. I read https://github.com/helm/community/blob/main/hips/hip-0006.md#5-cache-is-removed and that argument is very subjective and not backed up by any evidence. I disagree with just about every sentence. Bit that's on P.P.S. I also recognize the fact that in #805 I asked flux to be consistent with helm CLI and here I am arguing for flux to go beyond helm CLI (in other words, be inconsistent with helm CLI). The goal for flux to be at least as useful as helm CLI or even more useful in this case. IMO, of course |
FWIW, I confirm the following use case is working as expected:
Arguably, this is the most important use case I have come up with, and it works fine. So, just to hammer the point again, whichever direction you take on this issue I will accept. Thanks |
@gfichtenholt looking back at the discussion there's 2 potential paths forward with this:
As per your most recent comment, I'm going to close this issue now. |
Sounds good. Thank you |
Filing an issue per souleb's request in https://cloud-native.slack.com/archives/CLAJ40HV3/p1658304872546299
Hello Flux gurus,
is the following a bug or a feature?
I have a public OCI helm registry on ghcr.io with URL oci://ghcr.io/gfichtenholt/helm-charts
That registry has one package
podinfo
and it has two versions 6.1.6 and 6.1.5Sanity check:
I then register a flux OCI helm repo object
All is good. I then push a version of the chart that doesn't already exist on the server
I expect at some point (after specified interval) flux reconciler will kick in and fire a MODIFIED event. Lets say I have a watcher running, e.g. via
$ kubectl get helmrepository --watch
I wait a few minutes but it does not happen. Is this a bug or a feature?
Thank you in advance
Greg
The text was updated successfully, but these errors were encountered: