# 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