feat(helm): Add support for OCI chart repositories by jcsf · Pull Request #445 · helm/chart-testing · GitHub
Skip to content

feat(helm): Add support for OCI chart repositories - #445

Merged
cpanato merged 1 commit into
helm:mainfrom
jcsf:ft-add-registry-support
Oct 27, 2023
Merged

cpanato merged 1 commit into
helm:mainfrom
jcsf:ft-add-registry-support

Conversation

@jcsf

@jcsf jcsf commented Jun 8, 2022 •

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:
Since Helm 3.8 the support of OCI registries is no longer experimental and is enabled by default, this means that more and more people will be using registries to store charts. In order to support this type of repository, a small change is needed because OCI registries can't be added like "regular repositories", and need to use a different command "helm registry login".

Therefore, and since it was already agreed that OCI repositories should start the URL with "oci://" this PR uses the prefix of the repository URL to select the right command to be able to add these type of repositories.

Special notes for your reviewer: I didn't added any automation test because didn't find any similar to what already was done, I tested this locally using a registry of mine.

Signed-off-by: João Fernandes jcsf_1995@hotmail.com

@tuananh-finx

tuananh-finx commented Jun 20, 2022 •

Copy link
Copy Markdown

@tuananh

tuananh commented Aug 12, 2022

Copy link
Copy Markdown

bumping this up for visibility :)

@jcsf

jcsf commented Jan 26, 2023

Copy link
Copy Markdown
Contributor Author

Can a maintainer look at this? It is a really small review that helps a lot of users.

@hungran

hungran commented Sep 4, 2023

Copy link
Copy Markdown

+1 on this feature
pipe-cd/pipecd#4588

@cpanato cpanato closed this Oct 27, 2023
@cpanato cpanato reopened this Oct 27, 2023
@cpanato

cpanato commented Oct 27, 2023

Copy link
Copy Markdown
Member

@jcsf sorry for the delay here, can you rebase and fix the lint issues?

@jcsf

jcsf commented Oct 27, 2023

Copy link
Copy Markdown
Contributor Author

@jcsf sorry for the delay here, can you rebase and fix the lint issues?

Sure, will work on this today and update the PR.

@jcsf

jcsf commented Oct 27, 2023

Copy link
Copy Markdown
Contributor Author

Comment thread pkg/tool/helm.go Outdated
Signed-off-by: João Fernandes <jcsf_1995@hotmail.com>

@cpanato cpanato left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@cpanato
cpanato merged commit 0cb17e5 into helm:main Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants