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

Move YAML decode logic into provider and improve default Helm namespaces #952

Merged
merged 4 commits into from
Jan 21, 2020

Conversation

lblackstone
Copy link
Member

Proposed changes

Reintroduce the reverted changed (#941) from #925 and #934 with a few
additional fixes related to the changes in #946.

The major changes include the following:

  • Use a runtime invoke to call a common decodeYaml method in the
    provider rather than using YAML libraries specific to each language.
  • Use the namespace parameter of helm.v2.Chart as a default,
    and set it on known namespace-scoped resources.

Related issues (optional)

Fixes #217

Reintroduce the reverted changed (#941) from #925 and #934 with a few
additional fixes related to the changes in #946.

The major changes include the following:

- Use a runtime invoke to call a common decodeYaml method in the
provider rather than using YAML libraries specific to each language.
- Use the namespace parameter of helm.v2.Chart as a default,
and set it on known namespace-scoped resources.
pkg/gen/nodejs-templates/yaml.ts.mustache Show resolved Hide resolved
pkg/provider/provider.go Outdated Show resolved Hide resolved
pkg/provider/provider.go Outdated Show resolved Hide resolved
pkg/provider/provider.go Outdated Show resolved Hide resolved
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.

helm: apply namespace default transformation
2 participants