log-center/k8s/secrets.yaml
zyc 637c479818
All checks were successful
Build and Deploy Log Center / build-and-deploy (push) Successful in 1m30s
feat: initial log center with k8s deployment
2026-01-30 11:49:47 +08:00

20 lines
606 B
YAML

# K8s Secret for Log Center database credentials
# Apply this ONCE before first deployment:
# kubectl apply -f k8s/secrets.yaml
#
# You can also create it with kubectl directly:
# kubectl create secret generic log-center-secrets \
# --from-literal=db-host=pgm-7xv4811oj11j86htzo.pg.rds.aliyuncs.com \
# --from-literal=db-user=log_center \
# --from-literal=db-password=JogNQdtrd3WY8CBCAiYfYEGx
apiVersion: v1
kind: Secret
metadata:
name: log-center-secrets
type: Opaque
stringData:
db-host: pgm-7xv4811oj11j86htzo.pg.rds.aliyuncs.com
db-user: log_center
db-password: JogNQdtrd3WY8CBCAiYfYEGx