Skip to content
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

feat: add oci format chart support #57

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

yxxhero
Copy link
Member

@yxxhero yxxhero commented Jul 22, 2023

go.mod Outdated Show resolved Hide resolved
@yxxhero yxxhero force-pushed the add-oci-format-chart-supporting branch from 1a65dd4 to e568fd5 Compare September 19, 2023 08:54
@yxxhero
Copy link
Member Author

yxxhero commented Dec 24, 2023

@mumoshu could I get your reivew? Thanks so much.

chartify.go Outdated
@@ -692,16 +693,36 @@ func (r *Runner) copyToTempDir(path, tempDir, chartVersion string) (string, erro
}

func (r *Runner) fetchAndUntarUnderDir(chart, tempDir, chartVersion string) (string, error) {
command := []string{"fetch", chart, "--untar", "-d", tempDir}
ociEnv := map[string]string{
"HELM_EXPERIMENTAL_OCI": "1",
Copy link
Contributor

Choose a reason for hiding this comment

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

To be clear, we don't need this anymore, since helm 3.8?

helm/helm#8259

@mattcockrell
Copy link

Will this be merged? I've encountered a weird issue with using Azure Container Registry as an OCI repo. Getting an error like ".../chartify999/.../foo/ is a directory".

@yxxhero yxxhero force-pushed the add-oci-format-chart-supporting branch from 4df399d to 49f3047 Compare October 13, 2024 00:38
@yxxhero
Copy link
Member Author

yxxhero commented Oct 13, 2024

@mumoshu please review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants