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

Use helm action client to render charts #1

Open
SimonBaeumer opened this issue Nov 15, 2021 · 2 comments
Open

Use helm action client to render charts #1

SimonBaeumer opened this issue Nov 15, 2021 · 2 comments

Comments

@SimonBaeumer
Copy link
Member

Currently the engine.Engine is used to render the chart under test. This has limited compatibilities, i.e. it does not resolve dependencies.
Using Helm's action client is closer to a real Helm chart upgrade/install/uninstall like one would do from the CLI.

@SimonBaeumer
Copy link
Member Author

SimonBaeumer commented May 4, 2022

This code renderes the Helm chart and should be replaced with a call to the action client:

renderedTemplates, err := (&engine.Engine{}).Render(r.tgt.Chart, renderVals)

Helm action client which should be used: https://pkg.go.dev/helm.sh/helm/v3/pkg/action

@SimonBaeumer
Copy link
Member Author

SimonBaeumer commented May 4, 2022

Goal is to test Helm charts with dependencies, installed CRDs etc

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

No branches or pull requests

1 participant