-
-
Notifications
You must be signed in to change notification settings - Fork 138
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
podman_container
: using YAML dictionaries for options in the secrets
parameter
#758
Comments
It's doable of course, but it will be backward incompatible, which will break current users of |
Can we to have two syntax variants at the same time: list (or dictionary) of dictionaries and list of strings? I think the module could check the type and just concatenate keys and values into a string if it's a dictionary. In any case, there is nothing critical here. It's just an idea to make working with secret options a little more convenient. Thank you. |
It's possible to add another variable like |
Now it's clear, thank you. Yes, this is really worth doing in the next major version. |
/kind feature
Description
Hello, Sergey! What do you think about using list (or dictionary) of dictionaries in addition to using a list of strings for the
secrets
parameter in thecontainers.podman.podman_container
module?It might look like this:
Or like this:
It seems to be a little more readable than this:
Also, if multiple Jinja variables are used in a string, it becomes too long.
The text was updated successfully, but these errors were encountered: