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 option to have bundle build write to file, file per instances #432

Open
trondhindenes opened this issue Oct 9, 2024 · 2 comments
Open

Comments

@trondhindenes
Copy link

In order to integrate with other tools, it would be great if timoni allowed more options in "bundle build", such as outputting to file and splitting up the output so that each instance was placed in its own file.

@stefanprodan
Copy link
Owner

stefanprodan commented Dec 15, 2024

How should we format the file names? I'm thinking of:

  • timoni bundle build --output-dir=./test --output=file-per-instance will generate <instance name>.yaml files
  • timoni bundle build --output-dir=./test --output=file-per-resource with generate <kind>_<name>_<index>.yaml files, using the index as a suffix would avoid naming collision.

@trondhindenes
Copy link
Author

trondhindenes commented Dec 16, 2024

I think the latter works! Important to avoid collisions, so we'll have to accept slightly convoluted file names

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

No branches or pull requests

2 participants