Files
rent/deploy/k8s/config.yaml
T
2026-04-21 20:12:05 +08:00

25 lines
464 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: rent-server-config
namespace: rent-platform
data:
NODE_ENV: "production"
PORT: "3000"
DB_HOST: "mysql-service"
DB_PORT: "3306"
DB_USERNAME: "root"
DB_DATABASE: "rent_platform"
REDIS_HOST: "redis-service"
REDIS_PORT: "6379"
---
apiVersion: v1
kind: Secret
metadata:
name: rent-server-secret
namespace: rent-platform
type: Opaque
stringData:
DB_PASSWORD: "CHANGE_ME"
JWT_SECRET: "CHANGE_ME"