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

Default yaml filename does not match the one generated by podlet #246

Open
axel7083 opened this issue Jan 30, 2025 · 0 comments
Open

Default yaml filename does not match the one generated by podlet #246

axel7083 opened this issue Jan 30, 2025 · 0 comments
Labels
enhancement New feature or request podlet Podlet Related issues

Comments

@axel7083
Copy link
Contributor

axel7083 commented Jan 30, 2025

When generating a Kube quadlet from a compose, the default Yaml is <name>-kube.yaml

Image

We guess the name of the yaml, but the user could change it.

Two solution

  • fast: change the line above to filename: ${basename}-kube.yaml
  • better: improve the parsing to extract the Yaml properly, and name properly the yaml based on it

If we do the second, we should throw an error if more than one Yaml is provided.

@axel7083 axel7083 added enhancement New feature or request podlet Podlet Related issues labels Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request podlet Podlet Related issues
Projects
None yet
Development

No branches or pull requests

1 participant