REFACTOR(db): migrate to CloudNativePG database
- Migrate database to CloudNativePG operator - Update connection configuration
This commit is contained in:
@@ -41,12 +41,12 @@ spec:
|
||||
value: "https://api.groq.com/openai/v1"
|
||||
# Chainlit uses asyncpg directly (not SQLAlchemy)
|
||||
- name: CHAINLIT_DATABASE_URL
|
||||
value: "postgresql://bluemayne:$(POSTGRES_PASSWORD)@postgresql-primary.postgresql.svc.cluster.local:5432/mas"
|
||||
value: "postgresql://bluemayne:$(POSTGRES_PASSWORD)@postgresql-cnpg-rw.postgresql-cnpg.svc.cluster.local:5432/mas"
|
||||
# SQLAlchemy format (if needed)
|
||||
- name: DATABASE_URL
|
||||
value: "postgresql://bluemayne:$(POSTGRES_PASSWORD)@postgresql-primary.postgresql.svc.cluster.local:5432/mas"
|
||||
value: "postgresql://bluemayne:$(POSTGRES_PASSWORD)@postgresql-cnpg-rw.postgresql-cnpg.svc.cluster.local:5432/mas"
|
||||
- name: POSTGRES_HOST
|
||||
value: "postgresql-primary.postgresql.svc.cluster.local"
|
||||
value: "postgresql-cnpg-rw.postgresql-cnpg.svc.cluster.local"
|
||||
- name: POSTGRES_PORT
|
||||
value: "5432"
|
||||
- name: POSTGRES_USER
|
||||
|
||||
@@ -15,5 +15,5 @@ commonLabels:
|
||||
# 이미지 태그 설정 (ArgoCD Image Updater가 자동으로 업데이트)
|
||||
images:
|
||||
- name: gitea0213.kro.kr/bluemayne/mas
|
||||
newTag: main-sha-c85c4eff4b228f88c6a748ca165ed396e51a09b2
|
||||
newTag: main-sha-9fe49be3a025f96835407dff45819fab6af96e8e
|
||||
|
||||
|
||||
Reference in New Issue
Block a user