container: Allow setting secret target
This commit is contained in:
@@ -29,7 +29,14 @@ _container_secrets: >-
|
||||
| zip(
|
||||
container_secrets
|
||||
| map(attribute='type', default='mount')
|
||||
| map('regex_replace', '^', 'type=')
|
||||
| map('regex_replace', '^', 'type='),
|
||||
container_secrets
|
||||
| map(attribute='name')
|
||||
| map('community.general.dict_kv', 'target')
|
||||
| zip(container_secrets)
|
||||
| map('combine')
|
||||
| map(attribute='target')
|
||||
| map('regex_replace', '^', 'target=')
|
||||
)
|
||||
| map('join', ',')
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user