-
Notifications
You must be signed in to change notification settings - Fork 114
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
Helm Chart.yaml based promotion not working #1281
Comments
@geowalrus4gh |
yes. it exists. here is the yaml
|
That all looks ok to me. I'll try to reproduce this issue. Do you see anything useful in the controller logs? |
@geowalrus4gh I did some digging it it all came back to me... Here's an example of a subscription to a chart in an OCI registry working properly in our tests: https://github.com/akuity/kargo/blob/main/internal/helm/helm_test.go#L98-L111 Note that we use This is technically correct, as it does say "registry" and does not say "repository." The oras library we're using for retrieving tags for the chart seems to be dogmatic about what part is "registry" and what part is "chart." If you get them wrong, the URLs it uses for talking to the registry will be malformed. I suppose this precision of terms may seem jarring when Helm itself seems to play a bit fast and loose here.
Helm allows the above, but terminology is being used incorrectly.
Helm seems to be doing things this way for legacy reasons. Classic chart registries/repositories are structured differently than OCI registries/repositories are and if you look at everything through the lens of that legacy context, everything makes sense. Note that if you re-write the example above like this,
So, ultimately, even if you had everything configured correctly, there may end up being some kind of impedance here. Kargo will look for and find registry
I'll see if I can figure out how to make things a bit more forgiving. |
Description
I was trying to demonstrate helm-based promotion in the stage specification. This helm chart is an umbrella chart.
In this sample, I was trying Chart.yaml update for helm-based promotion. Subsciption configured with image based subscription and image version is displayed in the freight box. When i execute promotion, stage update shows successful but no commits are happening in the given branch. Here is the snippet from stage.yaml file.
stage.yaml
Version
The text was updated successfully, but these errors were encountered: