mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
14 lines
378 B
Django/Jinja
14 lines
378 B
Django/Jinja
# Postgres Secret.
|
|
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: '{{ meta.name }}-postgres-configuration'
|
|
namespace: '{{ meta.namespace }}'
|
|
stringData:
|
|
password: '{{ lookup('password', 'p' + meta.name + 'pg length=32 chars=ascii_letters,digits') }}'
|
|
username: '{{ deployment_type }}'
|
|
database: '{{ deployment_type }}'
|
|
port: '5432'
|
|
host: {{ meta.name }}-postgres
|