apiVersion: v1
kind: ConfigMap
metadata:
  name: dbaas-ui-runtime
  labels:
    app.kubernetes.io/name: dbaas-ui
    app.kubernetes.io/part-of: dbaas-ui
data:
  config.js: |
    (() => {
      'use strict'
      const origin = window.location.origin
      window.__CP9_CONFIG__ = Object.freeze({
        schemaVersion: 1,
        profile: 'cp9-dev',
        mainApiOrigin: origin,
        releaseEnv: 'dev',
        auth0Domain: 'tidb-dev.us.auth0.com',
        auth0ClientId: 'KiwWajLJ3pto8SsZ7F35NaqNhwnoRh1c',
        auth0CallbackPath: '/auth_redirect',
        auth0LogoutPath: '/',
        o11y: null,
        integrations: Object.freeze({
          analytics: false,
          sentry: false,
          recaptcha: false,
          stripe: false,
          reo: false
        })
      })
    })()
