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 --split flag to split large manifests into multiple files #15

Closed
wants to merge 1 commit into from

Conversation

jrhouston
Copy link
Owner

@jrhouston jrhouston commented Mar 18, 2021

This PR adds a --split flag that splits a manifest into a separate .tf file for each kind of resource. At the moment this feature just uses the singular Kind from the manifest as working out the plural form would either require access to a cluster to find the mapping for a CRD, or a feature to read the CRDs ahead of time and make a lookup table of the plural forms. That's a problem for another day, for now it will just create deployment.tf, service.tf and so on.

I also shuffled some things around to tidy things up a bit.

Closes #10

@jrhouston jrhouston closed this Jul 31, 2021
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.

Option to split one big manifest into multiple files
1 participant