service: Better use podman secrets for database passwords
This commit is contained in:
@@ -122,9 +122,16 @@ argument_specs:
|
||||
default: {}
|
||||
|
||||
service_database_type:
|
||||
description: >
|
||||
Database type to set up. It will be run in a docker container accessible to the service at host <service name>-{{ service_database_type }} on the
|
||||
default port. The database user will be {{ service_name }} and password will be available as the _service_database_password variable.
|
||||
description:
|
||||
- Database type to set up.
|
||||
- >
|
||||
It will be run in a docker container accessible to the service at
|
||||
host {{ service_name }}-{{ service_database_type }} on the default port.
|
||||
- The database user will be {{ service_name }}
|
||||
- The password will be accessible as secret at /run/secrets/{{ service_name }}-{{ service_database_type }}
|
||||
- >
|
||||
The password will also be available as the
|
||||
service_podman_secrets['{{ service_name }}-{{ service_database_type }}'] variable.
|
||||
type: str
|
||||
required: false
|
||||
choices:
|
||||
|
||||
Reference in New Issue
Block a user