-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Don't fetch tags when exact version is specified in HelmChart
#846
Conversation
e5d93e5
to
db3ef6a
Compare
Wouldn't it be better to do the check in |
We'd have to change both callers to get the same behaviour. IMHO the logic to check whether to hit the remote repository or not belongs into |
the other thing is that we rely on |
f915dd0
to
4b62e38
Compare
The failure on "tests / test-linux-amd64" is a flake:
|
4b62e38
to
28fe78f
Compare
Taking this shortcut has two benefits: 1. It allows charts to be fetched from AWS's public container registry at public.ecr.aws 2. It makes reconciling a HelmChart faster by skipping one or more potentially expensive API calls to the registry. I adapted the unit tests to the new behavior that the OCIChartRepository doesn't fail anymore for the case where a specific chart version has been requested that doesn't actually exist in the registry. refs #845 Signed-off-by: Max Jonas Werner <max@e13.dev>
28fe78f
to
b86572b
Compare
HelmChart
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @makkes 🏅
Taking this shortcut has two benefits:
at public.ecr.aws
potentially expensive API calls to the registry.
refs #845