apiVersion: v1
kind: ConfigMap
metadata:
  name: erp-config
  namespace: erp
data:
  DB_HOST: "mysql.erp.svc.cluster.local"
  DB_PORT: "3306"
  DB_NAME: "erp_db"
  REDIS_HOST: "redis.erp.svc.cluster.local"
  REDIS_PORT: "6379"
  NACOS_HOST: "nacos.erp.svc.cluster.local"
  NACOS_PORT: "8848"
  NACOS_NAMESPACE: "public"
  NACOS_GROUP: "DEFAULT_GROUP"
---
apiVersion: v1
kind: Secret
metadata:
  name: erp-secrets
  namespace: erp
type: Opaque
stringData:
  DB_USERNAME: "root"
  DB_PASSWORD: "your-secure-password"
  REDIS_PASSWORD: "your-redis-password"
