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

Add support for kustomize #1178

Merged
merged 12 commits into from
Jul 1, 2020
Merged

Add support for kustomize #1178

merged 12 commits into from
Jul 1, 2020

Conversation

lblackstone
Copy link
Member

@lblackstone lblackstone commented Jun 26, 2020

Proposed changes

Add a new kustomize.Directory class to each SDK that allows
Pulumi to directly manage kustomizations.

TODO:

  • NodeJS
  • Python
  • C#
  • Go

Related issues (optional)

Fix #370

Add a new kustomize.Directory class to each SDK that allows
Pulumi to directly manage kustomizations.
@lblackstone lblackstone marked this pull request as ready for review June 27, 2020 02:44
Copy link
Contributor

@metral metral left a comment

Choose a reason for hiding this comment

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

Overall LGTM -- it's great to see the relatively quick turn around on this given the investment in autogeneration 🎉

Added a couple of comments, and generally was curious if we could consolidate the kustomization helloworld example being tested in the 4 languages. Specifically, we repeat kustomization.yaml, deployment.yaml, service.yaml, configmap.yaml etc. across all tests that does not appear to change from language to language.

provider/pkg/provider/util.go Outdated Show resolved Hide resolved
}
defer os.RemoveAll(temp)

path, err = workspace.RetrieveGitFolder(directory, temp)
Copy link
Contributor

Choose a reason for hiding this comment

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

How do we plan on handling auth for private git 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.

The package I'm using for git support doesn't expose auth options. I'm inclined to leave it as is for now and add support later if it's needed.

provider/pkg/gen/dotnet-templates/Kustomize/Directory.cs Outdated Show resolved Hide resolved
@lblackstone lblackstone requested a review from metral June 29, 2020 21:40
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.

Support Kustomize
2 participants