Don't fetch tags when exact version is specified in HelmChart#846
Don't fetch tags when exact version is specified in HelmChart#846
HelmChart#846Conversation
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
Taking this shortcut has two benefits:
at public.ecr.aws
potentially expensive API calls to the registry.
refs #845