Brings /opt/kubernetes in line with config that was applied directly on the server: catalogue DB and S3 credentials/config in nearle-config.yaml and nearle-app-secrets.yaml, and deploy scripts switched to kubectl apply -k against the kustomize manifests. Also dedupes USE_S3/S3_ENDPOINT/S3_BUCKET/S3_REGION which were listed twice in nearle-config.yaml. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
29 lines
673 B
YAML
29 lines
673 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: nearle-config
|
|
namespace: nearle
|
|
labels:
|
|
app: fiesta
|
|
data:
|
|
NATS_URL: "nats://66.116.226.161:4222"
|
|
LOG_LEVEL: "info"
|
|
NATS_STREAM: "ORDERS"
|
|
NATS_SUBJECT: "api.>"
|
|
ALLOWED_ORIGINS: "*"
|
|
ENV: "production"
|
|
DATABASE_NAME: "nearledb"
|
|
DB_NAME: "nearledb"
|
|
DATABASE_PORT: "5433"
|
|
DB_PORT: "5433"
|
|
DATABASE_SERVER_HOST: "66.116.207.225"
|
|
DB_HOST: "66.116.207.225"
|
|
USER_CONTEXT_KEY: "nearle"
|
|
CATALOGUE_DB_HOST: "31.97.228.132"
|
|
CATALOGUE_DB_PORT: "6054"
|
|
CATALOGUE_DB_NAME: "pgvector"
|
|
USE_S3: "true"
|
|
S3_ENDPOINT: "https://nearle.sgp1.digitaloceanspaces.com"
|
|
S3_BUCKET: "nearle"
|
|
S3_REGION: "sgp1"
|