All checks were successful
Build and Deploy Log Center / build-and-deploy (push) Successful in 1m30s
20 lines
606 B
YAML
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
|