chore: sync server-local config drift (catalogue/S3 env, kustomize deploy scripts)
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>
This commit is contained in:
0
bootstrap_server.sh
Normal file → Executable file
0
bootstrap_server.sh
Normal file → Executable file
3
deploy-alaska.sh
Normal file → Executable file
3
deploy-alaska.sh
Normal file → Executable file
@@ -7,8 +7,7 @@ set -euo pipefail
|
|||||||
NAMESPACE="alaska"
|
NAMESPACE="alaska"
|
||||||
|
|
||||||
echo "🚀 Deploying Alaska Stack..."
|
echo "🚀 Deploying Alaska Stack..."
|
||||||
kubectl apply -f manifests/alaska/alaska.yaml
|
kubectl apply -k manifests/alaska
|
||||||
kubectl apply -f manifests/alaska/k8s-dashboard.yaml
|
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "✅ Alaska stack deployment applied."
|
echo "✅ Alaska stack deployment applied."
|
||||||
|
|||||||
0
deploy-core-stack.sh
Normal file → Executable file
0
deploy-core-stack.sh
Normal file → Executable file
28
deploy-nearle-stack.sh
Normal file → Executable file
28
deploy-nearle-stack.sh
Normal file → Executable file
@@ -6,32 +6,8 @@ set -euo pipefail
|
|||||||
|
|
||||||
NAMESPACE="nearle"
|
NAMESPACE="nearle"
|
||||||
|
|
||||||
echo "🔎 Ensuring namespace '${NAMESPACE}' exists..."
|
echo "🚀 Deploying Nearle Stack..."
|
||||||
kubectl apply -f manifests/nearle/nearle-namespace.yaml
|
kubectl apply -k manifests/nearle
|
||||||
|
|
||||||
echo "🔐 Deploying Configs & Secrets..."
|
|
||||||
kubectl apply -f manifests/nearle/nearle-secrets.yaml
|
|
||||||
kubectl apply -f manifests/nearle/nearle-app-secrets.yaml
|
|
||||||
kubectl apply -f manifests/nearle/nearle-config.yaml
|
|
||||||
kubectl apply -f manifests/nearle/fiesta-gateway.yaml
|
|
||||||
|
|
||||||
echo "🚀 Deploying Services..."
|
|
||||||
kubectl apply -f manifests/nearle/jupiter-sts.yaml
|
|
||||||
kubectl apply -f manifests/nearle/jupiter-svc.yaml
|
|
||||||
|
|
||||||
kubectl apply -f manifests/nearle/nearle-titan.yaml
|
|
||||||
|
|
||||||
kubectl apply -f manifests/nearle/fiesta-sts.yaml
|
|
||||||
kubectl apply -f manifests/nearle/fiesta-svc.yaml
|
|
||||||
|
|
||||||
kubectl apply -f manifests/nearle/nearle-ariane.yaml
|
|
||||||
|
|
||||||
kubectl apply -f manifests/nearle/atlantis-sts.yaml
|
|
||||||
kubectl apply -f manifests/nearle/atlantis-svc.yaml
|
|
||||||
|
|
||||||
echo "🌐 Deploying Gateway Routes..."
|
|
||||||
kubectl apply -f manifests/nearle/nearle-gateway.yaml
|
|
||||||
kubectl apply -f manifests/nearle/nearle-reference-grant.yaml
|
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "✅ Nearle stack deployment applied."
|
echo "✅ Nearle stack deployment applied."
|
||||||
|
|||||||
@@ -7,17 +7,14 @@ metadata:
|
|||||||
app: fiesta
|
app: fiesta
|
||||||
type: Opaque
|
type: Opaque
|
||||||
stringData:
|
stringData:
|
||||||
# The IP of your BigRock Server
|
|
||||||
DATABASE_HOST: "66.116.207.225"
|
DATABASE_HOST: "66.116.207.225"
|
||||||
DB_HOST: "66.116.207.225"
|
DB_HOST: "66.116.207.225"
|
||||||
|
|
||||||
# The user we confirmed works
|
|
||||||
DATABASE_USERNAME: "admin"
|
DATABASE_USERNAME: "admin"
|
||||||
DB_USER: "admin"
|
DB_USER: "admin"
|
||||||
|
|
||||||
# The password we confirmed works
|
|
||||||
DATABASE_PASSWORD: "Package@123#"
|
DATABASE_PASSWORD: "Package@123#"
|
||||||
DB_PASSWORD: "Package@123#"
|
DB_PASSWORD: "Package@123#"
|
||||||
|
|
||||||
# The rest...
|
|
||||||
JWT_SECRET_KEY: "nearle"
|
JWT_SECRET_KEY: "nearle"
|
||||||
|
CATALOGUE_DB_USER: "admin"
|
||||||
|
CATALOGUE_DB_PASSWORD: "'Package@321#'"
|
||||||
|
S3_ACCESS_KEY: "DO801G8Q8JAZKF49U3WJ"
|
||||||
|
S3_SECRET_KEY: "lBQExYfkVqH+ybmGVmQH5MkThBbrIohA/VQLgcPUvug"
|
||||||
|
|||||||
@@ -8,10 +8,8 @@ metadata:
|
|||||||
data:
|
data:
|
||||||
NATS_URL: "nats://66.116.226.161:4222"
|
NATS_URL: "nats://66.116.226.161:4222"
|
||||||
LOG_LEVEL: "info"
|
LOG_LEVEL: "info"
|
||||||
# The stream is set to ORDERS as per your request
|
|
||||||
NATS_STREAM: "ORDERS"
|
NATS_STREAM: "ORDERS"
|
||||||
# Base subject pattern - the app likely appends the path to this or uses it as a listener filter
|
NATS_SUBJECT: "api.>"
|
||||||
NATS_SUBJECT: "api.>"
|
|
||||||
ALLOWED_ORIGINS: "*"
|
ALLOWED_ORIGINS: "*"
|
||||||
ENV: "production"
|
ENV: "production"
|
||||||
DATABASE_NAME: "nearledb"
|
DATABASE_NAME: "nearledb"
|
||||||
@@ -21,3 +19,10 @@ data:
|
|||||||
DATABASE_SERVER_HOST: "66.116.207.225"
|
DATABASE_SERVER_HOST: "66.116.207.225"
|
||||||
DB_HOST: "66.116.207.225"
|
DB_HOST: "66.116.207.225"
|
||||||
USER_CONTEXT_KEY: "nearle"
|
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"
|
||||||
|
|||||||
Reference in New Issue
Block a user