container: Add podman secret support

This commit is contained in:
uumas
2024-11-11 11:51:22 +02:00
parent d1a4a3c711
commit eff2e908fb
4 changed files with 29 additions and 0 deletions

View File

@@ -66,6 +66,24 @@ argument_specs:
required: false
default: []
elements: str
container_secrets:
description: A list of secrets available to the container in /run/secrets/<secret name>
type: list
required: false
default: []
elements: dict
options:
name:
description: Name of the secret
type: str
required: true
value:
description:
- Value of the secret. Defaults to a 128-character random string containing alphanumeric characters.
- If the value is not explicitly set, it will not be changed if the secret already exists.
type: str
required: false
container_env:
description: A dict of environment variables for the container
type: dict