-
-
Notifications
You must be signed in to change notification settings - Fork 148
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 missing parameters for podman container quadlet #847
Conversation
This reverts commit 4f24ece. Signed-off-by: Thomas Preindl <[email protected]>
…quadlet Signed-off-by: Thomas Preindl <[email protected]>
… quadlet Signed-off-by: Thomas Preindl <[email protected]>
…uadlet Signed-off-by: Thomas Preindl <[email protected]>
…container quadlet Signed-off-by: Thomas Preindl <[email protected]>
…ner quadlet Signed-off-by: Thomas Preindl <[email protected]>
Signed-off-by: Thomas Preindl <[email protected]>
Signed-off-by: Thomas Preindl <[email protected]>
@tompre thanks for this great work! Are you going to do log opt also or it's fine to review/merge as is? |
Signed-off-by: Thomas Preindl <[email protected]>
@sshnaidm I somehow thought that LogOpt would only capture the path mapping. This is not the case, so I added LogOpt too. There is one commit per parameter. If you want I can squash them together for the merge. |
I did some more research and added the podman versions when the parameters where introduced. I had an issue with using .pod files on some distro as the podman version did not support them. |
@tompre I do check a podman version in a few places like here, running a command. But I try to use it only when it make difference in a logic. In general I rely on user to run command with supported parameters for their Podman version. I can't track all Podman version changes, there are too much 😄 |
@tompre I'm inclined to merge it in current state and then to add not released yet parameters when Podman releases them. Any objections? |
Sounds good. I had an idea for automatically finding out when features where added. |
That's a great idea, please go for it! |
As noticed in #844 the group_add parameter should be mapped to GroupAdd in the .container file.
I noticed that several other parameters are missing or not mapped correctly.
Missing parameters that should be mapped (podman version that introduced them):
Parameters that should be mapped to .container file syntax
Parameters that should be mapped to podman_args:
There are also available parameters that can not be set using the collection but might be useful.
They are out of scope for this pull request, but some would be really useful such as AutoUpdate.
Here is a list for documentation:
Resolves #844
This reverts commit 4f24ece from pull request #827