Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
matmut7 committed Apr 24, 2024
1 parent 2661cbc commit 0952aa1
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .kontinuous/env/preprod/templates/pgadmin-servers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ spec:
kind: Secret
name: pg-app
template:
stringData:
servers: '{"oui": 1}'
{{/* '{ */}}
{{/* "Servers": { */}}
{{/* "1": { */}}
{{/* "Name": "$(.app.metadata.name)", */}}
{{/* "Group": "Servers", */}}
{{/* "Host": "$(.app.data.PGHOST)", */}}
{{/* "Port": $(.app.data.PGPORT), */}}
{{/* "MaintenanceDB": "postgres", */}}
{{/* "Username": "$(.app.data.PGUSER)", */}}
{{/* "SSLMode": "prefer", */}}
{{/* "PassFile": "/var/lib/pgadmin/$(.app.metadata.name)" */}}
{{/* } */}}
{{/* } */}}
{{/* }' */}}
data:
servers: |
{'{'}
"Servers": {'{'}
"1": {'{'}
"Name": "$(.app.metadata.name)",
"Group": "Servers",
"Host": "$(.app.data.PGHOST)",
"Port": $(.app.data.PGPORT),
"MaintenanceDB": "postgres",
"Username": "$(.app.data.PGUSER)",
"SSLMode": "prefer",
"PassFile": "/var/lib/pgadmin/$(.app.metadata.name)"
{'}'}
{'}'}
{'}'}

0 comments on commit 0952aa1

Please sign in to comment.