feat(coder): update Coder connection string
All checks were successful
Renovate / renovate (push) Successful in 35s
All checks were successful
Renovate / renovate (push) Successful in 35s
This commit is contained in:
parent
487603b1a5
commit
aaa2c3a497
4 changed files with 7 additions and 3 deletions
|
@ -10,8 +10,8 @@ coder:
|
||||||
- name: CODER_PG_CONNECTION_URL
|
- name: CODER_PG_CONNECTION_URL
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: default-cluster-pguser-coder
|
name: coder-db-credentials-coder
|
||||||
key: uri
|
key: PQ_URL
|
||||||
- name: CODER_DISABLE_PASSWORD_AUTH
|
- name: CODER_DISABLE_PASSWORD_AUTH
|
||||||
value: "true"
|
value: "true"
|
||||||
- name: CODER_OIDC_ISSUER_URL
|
- name: CODER_OIDC_ISSUER_URL
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
apiVersion: db.movetokube.com/v1alpha1
|
apiVersion: db.movetokube.com/v1alpha1
|
||||||
kind: Postgres
|
kind: Postgres
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -7,4 +7,6 @@ spec:
|
||||||
role: coder
|
role: coder
|
||||||
database: coder
|
database: coder
|
||||||
secretName: coder-db-credentials
|
secretName: coder-db-credentials
|
||||||
privileges: OWNER
|
privileges: OWNER
|
||||||
|
secretTemplate: # Output secrets can be customized using standard Go templates
|
||||||
|
PQ_URL: "postgresql://{{.Role}}:{{.Password}}@app-cluster-pooler-rw.postgres.svc:5432/{{.Database}}?sslmode=require&search_path=coder"
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
apiVersion: db.movetokube.com/v1alpha1
|
apiVersion: db.movetokube.com/v1alpha1
|
||||||
kind: Postgres
|
kind: Postgres
|
||||||
metadata:
|
metadata:
|
||||||
|
|
Loading…
Reference in a new issue