feat(coder): update Coder connection string
All checks were successful
Renovate / renovate (push) Successful in 35s

This commit is contained in:
Peter 2024-08-15 11:48:12 +02:00
parent 487603b1a5
commit aaa2c3a497
Signed by: prskr
GPG key ID: F56BED6903BC5E37
4 changed files with 7 additions and 3 deletions

View file

@ -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

View file

@ -1,3 +1,4 @@
---
apiVersion: db.movetokube.com/v1alpha1 apiVersion: db.movetokube.com/v1alpha1
kind: Postgres kind: Postgres
metadata: metadata:

View file

@ -8,3 +8,5 @@ spec:
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"

View file

@ -1,3 +1,4 @@
---
apiVersion: db.movetokube.com/v1alpha1 apiVersion: db.movetokube.com/v1alpha1
kind: Postgres kind: Postgres
metadata: metadata: