-
Notifications
You must be signed in to change notification settings - Fork 5k
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
'hard refresh' buggy, chart including chart dependencies 0.0.x #18252
Comments
Closing for the moment |
Ran some more tests, still seems to be an issue. |
@lknite It sounds like the issue is the secondary charts aren't getting refreshed when you want them to and instead you're getting the cache. One of the ways to solve this is by using multi-source apps which will actually check each repo individually for updates. https://argo-cd.readthedocs.io/en/stable/user-guide/multiple_sources/ Also, a hard refresh should pick up the changes. On a side note, I personally would recommend against a setup like this. You're using floating chart tags so if something goes wrong you can't revert a git commit to get back to a previous state. That being said, I would classify it as a bug though low priority because there are workarounds available. PR would be welcome. |
I wouldn't know where to being as far as submitting a PR, if you could maybe direct me to the files / methods involved I could take a look and see if that's something I might be able to handle. Am taking a look at the url you provided ... |
agreed that a 'hard refresh' should be fixing this, i believe that's part of its intended purpose, but its definitely not working ... |
Closing due to lack of interest. |
If a hard refresh isn't working then it's a bug. |
Checklist:
argocd version
.Describe the bug
I'm developing an app and using argocd for deployment.
I have an over-all chart which includes several charts (one for each of my microservices), using '0.0.x' so the latest helm chart is deployed automatically. It seemed to work for awhile, but doesn't work anymore.
I think there may be caching issues. I try 'hard refresh' which has helped in the past but doesn't seem to work at all now.
To Reproduce
Whenever I rebuild the over-all helm chart 'list' or one of the microservices like 'api-blocks' the "version" patch number is increased by one. helm charts are stored in a local harbor instance, and is using oci (if that matters).
Here's the overall chart, you can see that its including other charts using '0.0.x', which I would expect would cause the latest helm chart to always be used if a new helm chart is detected:
Here's an example of one of the microservices, there are of course more files in there ... values.yaml and files in the templates folder:
Expected behavior
Upon a 'refresh' I would expect argocd to see the new helm chart of the dependency and deploy the updated dependency using the latest helm chart.
Version
Screenshot
the helm charts i'm working with:
showing that the version numbers are increasing of the dependencies:
the 'list' over-all helm chart, which includes the other helm charts, here it has version '0.0.3' which one would expect argocd to use this latest chart
Additional
If someone is asking the question, "so what is it doing if its not working", here's the answer. The over-all helm chart looks good, but it doesn't always use the latest helm chart for the dependencies when I release one. In the past I've clicked 'hard refresh' and it would load the latest helm charts, but that doesn't seem to work anymore.
'helm show chart' always shows the latest, so seems like argocd should be good to detect the latest helm charts:
The text was updated successfully, but these errors were encountered: