From 5eaa51ffcccfab8270bf4928669f421928c625a0 Mon Sep 17 00:00:00 2001 From: talksik Date: Sun, 29 Mar 2026 10:17:17 -0700 Subject: [PATCH] migrate to llink database within gcp --- go/k8s/dev/orion.yaml | 5 ++++- go/k8s/dev/particleprocessorworker.yaml | 5 ++++- go/k8s/migrations.yaml | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/go/k8s/dev/orion.yaml b/go/k8s/dev/orion.yaml index a5b28ab..a9741b1 100644 --- a/go/k8s/dev/orion.yaml +++ b/go/k8s/dev/orion.yaml @@ -36,7 +36,10 @@ spec: - name: "GCS_BUCKET" value: "flowy-llink-bucket" - name: "LLINK_POSTGRES_CONNECTION_URL" - value: "postgresql://neondb_owner:npg_ysiLkYo3Ez9G@ep-aged-feather-amfusyhe-pooler.c-5.us-east-1.aws.neon.tech/neondb?sslmode=require&channel_binding=require" + valueFrom: + secretKeyRef: + name: shared-secrets + key: LLINK_POSTGRES_CONNECTION_URL - name: "DEEPGRAM_SECRET" valueFrom: secretKeyRef: diff --git a/go/k8s/dev/particleprocessorworker.yaml b/go/k8s/dev/particleprocessorworker.yaml index 1da47f3..6657255 100644 --- a/go/k8s/dev/particleprocessorworker.yaml +++ b/go/k8s/dev/particleprocessorworker.yaml @@ -34,7 +34,10 @@ spec: - name: "GOOGLE_SERVICE_ACCOUNT_EMAIL" value: "iam-for-gke-sa@flowy-dev-440017.iam.gserviceaccount.com" - name: "LLINK_POSTGRES_CONNECTION_URL" - value: "postgresql://neondb_owner:npg_ysiLkYo3Ez9G@ep-aged-feather-amfusyhe-pooler.c-5.us-east-1.aws.neon.tech/neondb?sslmode=require&channel_binding=require" + valueFrom: + secretKeyRef: + name: shared-secrets + key: LLINK_POSTGRES_CONNECTION_URL - name: "DEEPGRAM_API_KEY" valueFrom: secretKeyRef: diff --git a/go/k8s/migrations.yaml b/go/k8s/migrations.yaml index b490a58..0a67a4b 100644 --- a/go/k8s/migrations.yaml +++ b/go/k8s/migrations.yaml @@ -12,6 +12,9 @@ spec: args: ["-path", "/migrations", "-database", "$(LLINK_POSTGRES_CONNECTION_URL)", "up"] env: - name: "LLINK_POSTGRES_CONNECTION_URL" - value: "postgresql://neondb_owner:npg_ysiLkYo3Ez9G@ep-aged-feather-amfusyhe-pooler.c-5.us-east-1.aws.neon.tech/neondb?sslmode=require&channel_binding=require" + valueFrom: + secretKeyRef: + name: shared-secrets + key: LLINK_POSTGRES_CONNECTION_URL restartPolicy: Never backoffLimit: 0