Skip to content

Commit

Permalink
Update the Python SDK to use Helm lib
Browse files Browse the repository at this point in the history
  • Loading branch information
lblackstone committed Aug 25, 2020
1 parent 218efd5 commit 17f62d1
Show file tree
Hide file tree
Showing 7 changed files with 649 additions and 1,084 deletions.
2 changes: 1 addition & 1 deletion provider/cmd/pulumi-gen-kubernetes/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ func writePythonClient(pkg *schema.Package, outdir string, templateDir string) {
overlays := map[string][]byte{
"apiextensions/CustomResource.py": mustLoadFile(filepath.Join(templateDir, "apiextensions", "CustomResource.py")),
"helm/v2/helm.py": mustLoadFile(filepath.Join(templateDir, "helm", "v2", "helm.py")),
"helm/v3/helm.py": mustLoadFile(filepath.Join(templateDir, "helm", "v2", "helm.py")), // v3 support is currently identical to v2
"helm/v3/helm.py": mustLoadFile(filepath.Join(templateDir, "helm", "v3", "helm.py")),
"kustomize.py": mustLoadFile(filepath.Join(templateDir, "kustomize", "kustomize.py")),
"yaml.py": mustRenderTemplate(filepath.Join(templateDir, "yaml", "yaml.tmpl"), templateResources),
}
Expand Down
Loading

0 comments on commit 17f62d1

Please sign in to comment.