Skip to content

Conversation

@hiddeco
Copy link
Member

@hiddeco hiddeco commented Aug 27, 2020

Ref: #56

@hiddeco hiddeco added enhancement New feature or request area/helm Helm related issues and pull requests labels Aug 27, 2020
@hiddeco hiddeco force-pushed the helm/charts-from-git branch 2 times, most recently from 406dab1 to 3e295e5 Compare August 28, 2020 08:46
@hiddeco hiddeco marked this pull request as ready for review August 28, 2020 10:55
// package chart
pkg := action.NewPackage()
pkg.Destination = artifact.Path
_, err = pkg.Run(chartPath, nil)
Copy link
Member

Choose a reason for hiding this comment

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

How is this dealing with local dependencies and password protected Helm repos?

Copy link
Member Author

Choose a reason for hiding this comment

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

It is not, it is expected (at least for now) that they are checked in to Git and made available in the charts/ directory. Otherwise we will run into issues like https://github.com/fluxcd/helm-operator/blob/0ed00cd43a967207fca1f18c10121bd73accb3d4/pkg/helm/v3/dependency.go#L34, or we would have to write our own download manager.

@hiddeco hiddeco force-pushed the helm/charts-from-git branch from 3e295e5 to 59c2d58 Compare August 31, 2020 09:31
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

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

LGTM

We need to document the limitations compared to helm-op:

  • chart changes must be accompanied by a version bump in Chart.yaml
  • dependencies must be checked in git

@hiddeco hiddeco force-pushed the helm/charts-from-git branch 2 times, most recently from 498611d to 6230e69 Compare August 31, 2020 11:58
@hiddeco hiddeco force-pushed the helm/charts-from-git branch from 6230e69 to 24f47ac Compare August 31, 2020 14:22
@hiddeco hiddeco merged commit c4d9756 into master Aug 31, 2020
@hiddeco hiddeco deleted the helm/charts-from-git branch August 31, 2020 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/helm Helm related issues and pull requests enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants