move secrets from sops lookup plugin to sops vars plugin
Some checks failed
/ Ansible Lint (push) Failing after 1m54s
Some checks failed
/ Ansible Lint (push) Failing after 1m54s
This makes secret configuration and usage a good bit cleaner.
This commit is contained in:
parent
66e2e354b1
commit
7f1afef50d
42 changed files with 2449 additions and 2446 deletions
|
@ -4,7 +4,7 @@ services:
|
|||
image: docker.io/library/postgres:15-alpine
|
||||
environment:
|
||||
- "POSTGRES_USER=pretix"
|
||||
- "POSTGRES_PASSWORD={{ lookup("community.sops.sops", "resources/chaosknoten/tickets/secrets.yaml", extract="['DB_PASSWORD']") }}"
|
||||
- "POSTGRES_PASSWORD={{ secret__pretix_db_password }}"
|
||||
- "POSTGRES_DB=pretix"
|
||||
volumes:
|
||||
- database:/var/lib/postgresql/data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue