fix(linkwarden): use pgbouncer where possible
Some checks failed
Renovate / renovate (push) Failing after 11m28s
Some checks failed
Renovate / renovate (push) Failing after 11m28s
This commit is contained in:
parent
73b3eae0f0
commit
9160ab95df
2 changed files with 3 additions and 2 deletions
|
@ -9,4 +9,5 @@ spec:
|
||||||
secretName: db-credentials
|
secretName: db-credentials
|
||||||
privileges: OWNER
|
privileges: OWNER
|
||||||
secretTemplate:
|
secretTemplate:
|
||||||
PQ_URL: "postgresql://{{.Role}}:{{.Password}}@app-cluster-pooler-rw.postgres.svc:5432/{{.Database}}?sslmode=require"
|
PQ_URL: "postgresql://{{.Role}}:{{.Password}}@app-cluster-pooler-rw.postgres.svc:5432/{{.Database}}?sslmode=require&pgbouncer=true"
|
||||||
|
PQ_MIGRATE_URL: "postgresql://{{.Role}}:{{.Password}}@{{.Host}}:5432/{{.Database}}?sslmode=require"
|
|
@ -31,7 +31,7 @@ spec:
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: db-credentials-linkwarden
|
name: db-credentials-linkwarden
|
||||||
key: PQ_URL
|
key: PQ_MIGRATE_URL
|
||||||
containers:
|
containers:
|
||||||
- name: linkwarden
|
- name: linkwarden
|
||||||
image: linkwarden
|
image: linkwarden
|
||||||
|
|
Loading…
Reference in a new issue