apiVersion: v1
data:
  kubesphere.yaml: |

    ldap:
      host: openldap.kubesphere-system.svc:389
      managerDN: cn=admin,dc=kubesphere,dc=io
      managerPassword: admin
      userSearchBase: ou=Users,dc=kubesphere,dc=io
      groupSearchBase: ou=Groups,dc=kubesphere,dc=io
    redis:
      host: redis.kubesphere-system.svc
      port: 6379
      password: ""
      db: 0
    s3:
      endpoint: http://minio.kubesphere-system.svc:9000
      region: us-east-1
      disableSSL: true
      forcePathStyle: true
      accessKeyID: openpitrixminioaccesskey
      secretAccessKey: openpitrixminiosecretkey
      bucket: s2i-binaries
    mysql:
      host: mysql.kubesphere-system.svc:3306
      username: root
      password: password
      maxIdleConnections: 100
      maxOpenConnections: 100
      maxConnectionLifeTime: 10s
    devops:
      host: http://ks-jenkins.kubesphere-devops-system.svc/
      username: admin
      password: ${JWT_TOKEN}
      maxConnections: 100
    sonarQube:
      host: http://sonarqube.kubesphere-devops-system.svc/
      token: ""
    servicemesh:
      istioPilotHost: http://istio-pilot.istio-system.svc:8080/version
      jaegerQueryHost: http://jaeger-query.istio-system.svc:16686
      servicemeshPrometheusHost: http://prometheus-k8s-system.kubesphere-monitoring-system.svc:9090
    openpitrix:
      runtimeManagerEndpoint:    "openpitrix-runtime-manager.openpitrix-system.svc:9103"
      clusterManagerEndpoint:    "openpitrix-cluster-manager.openpitrix-system.svc:9104"
      repoManagerEndpoint:       "openpitrix-repo-manager.openpitrix-system.svc:9101"
      appManagerEndpoint:        "openpitrix-app-manager.openpitrix-system.svc:9102"
      categoryManagerEndpoint:   "openpitrix-category-manager.openpitrix-system.svc:9113"
      attachmentManagerEndpoint: "openpitrix-attachment-manager.openpitrix-system.svc:9122"
      repoIndexerEndpoint:       "openpitrix-repo-indexer.openpitrix-system.svc:9108"
    monitoring:
      endpoint: http://prometheus-k8s.kubesphere-monitoring-system.svc:9090
      secondaryEndpoint: http://prometheus-k8s-system.kubesphere-monitoring-system.svc:9090
    logging:
      host: http://elasticsearch-logging-data.kubesphere-logging-system.svc.cluster.local:9200
      indexPrefix: ks-logstash-log
    alerting:
      endpoint: http://alerting.kubesphere-alerting-system.svc
    notification:
      endpoint: http://notification.kubesphere-alerting-system.svc
kind: ConfigMap
metadata:
  name: kubesphere-config
  namespace: kubesphere-system
