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

feat: add file module #54

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

feat: add file module #54

wants to merge 1 commit into from

Conversation

TECHNOFAB11
Copy link

This makes it possible to "import" yaml files. Kinda like a basic Kustomization but without needing any CLI/tool. Reused a lot of stuff from the Helm module, so it works fundamentally the same

@adrian-gierakowski
Copy link
Contributor

There is already a facility for this

see here

imports = mkOption {

And here

# import of yaml files

i think it doesn’t handle multi-doc yaml file so if you need it maybe just improve the existing functionality?

@TECHNOFAB11
Copy link
Author

I'd actually prefer the approach of having multiple "keys" like I implemented it. This way it works more like Kustomize and one can specify an override per file (for setting the namespace for every object for example).

Sorry for not responding faster.

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.

2 participants