tiinf:
  localMode: true
  grpc:
    enable: true
    port: 20000
  gin:
    enable: false
  metrics:
    enable: true
    port: 20001
  trace:
    enable: true
  logger:
    enable: true
    level: "debug"

server:
  customCIDRs:
    - projectID: 3199304 # project jiajin-test-2 for test shopline privatelink
      regionCIDRs:
        - region: us-east-1
          cidr: 10.252.8.0/21
  #  logLevel: debug
  stage: "local"
  #  grpcAddr: 0.0.0.0:20000
  #  httpAddr: 0.0.0.0:20001
  serviceAddresses: # NOTE: you can use `kubectl port-forward` to forward svc to local
    billing2: localhost:18888
    infraMetering: localhost:21000
    dataflowSvcAddr: localhost:21001
    accountProviderSvcAddr: localhost:10000
  workerConfig:
  #    includeOnlyProjectIds: [ 74069 ]
  gardener:
    gardenerProjectName: nightly-ms
    # kubectl get secret -n garden garden-kubeconfig-for-admin --template={{'.data.kubeconfig'}} | base64 -d > dev-gardener-api
    # remove the kubeConfigPath config after migrating ExecuteCtlCommand RPC to cluster-proxy service
    kubeConfigPath: "/Users/chenfei/.infra-api/infra-api-kubeconfig.yaml"
  infraAPI:
    # NOTE: directly specify kubeconfig file of infra-api
    # follow this article to get base eks kubeconfig file: https://github.com/tidbcloud/infra/blob/master/docs/operation-101.md#2-retrieve-kubeconfig
    kubeConfigPath: "/Users/chenfei/.infra-api/infra-api-kubeconfig.yaml"
    projectIDAsInfraProjectID: true
  #    reconciler: chenfei
  secret:
    secretKey: arn:aws:secretsmanager:us-west-2:385595570414:secret:nightly-ms-secret-config-yaml-c076f30-CFsbcf
    region: us-west-2
  featureGates:
    eksfull:
      all: true
      disabledProjects:
        - 73772 # dp-whitelist-pitr-dual-region
        - 43494 # zhongmin'test
        - 73986 # gardener legacy test
        - 74051 # jiajin migration network test
        - 74080 # project name: jiahao-test
        - 253467 # gardener-test
        - 2653524 # ehco old arch
        - 2653522 # ehco old arch with more res
        - 2863487 # jiajin-migration-clean-up
        - 3198830 # gardener-public-endpoint-test
    gkefull:
      all: true
      disabledProjects:
        - 73772   # dp-whitelist-pitr-dual-region
        - 43494   # zhongmin'test
        - 73986   # gardener legacy test
        - 103708  # qiushirui test
        - 253467  # gardener-test
        - 73779   # yiwen-traffic-verification
        - 2023467 # jiajin-migration-test
        - 1123468 # zlj-migration-test
        - 2653524 # ehco old arch
        - 2653522 # ehco old arch with more res
    delegate_user:
      all: true
    delegate_user4devtier:
      all: true
    new_cluster_metering:
      all: true
    expose_sql_error:
      all: true
    event_driven:
      all: true
    cache_immutable:
      all: true
    new_project_metering:
      all: true
  enableMySQLTLS: false
  eventbus:
    proxyAddress: "socks5://localhost:9092"
  infraAPIWatcher:
    enable: true

mysql:
  host: cm-dev-stg.cluster-c6owagykop0g.us-west-2.rds.amazonaws.com
  port: 3306
  user: dev_cm_rw
  database: dev_core
  enableDetailedLog: true
  logLevel: info

biz:
  clusterCertsBucket: cluster-certificates-nightly
  dataTransferSplitEnable: true
  billingPackageIDs:
    onDemand: 2
    poc: 1
    devTier: 3

  eventSyncGcpPubsubTopic: "dev-user-behavior-analysis"
  eventSyncGcpProjectId: "pingcap-gardener"
infra:
  cmkArn: "arn:aws:kms:us-west-2:385595570414:key/f15101b5-6aed-48bf-9b9a-fc36406efe92"

aws:
  pcaArn: "arn:aws:acm-pca:us-west-2:385595570414:certificate-authority/4668d5cc-1042-4371-9ff4-72ab9493c545"

proxy:
  auth0Domain: tidb-dev.us.auth0.com
  auth0ClientID: "qetSCop5DfAOsK2S7WKTCre9iBvSdNmo"
  auth0Audience: "dev-proxy-service"
regions: #**DO NOT CHANGE THE ORDER!**
  aws: [ "us-east-2", "us-east-1", "us-west-1", "us-west-2", "af-south-1",
         "ap-east-1", "ap-south-1", "ap-northeast-3", "ap-northeast-2", "ap-southeast-1",
         "ap-southeast-2", "ap-northeast-1", "ca-central-1", "eu-central-1", "eu-west-1",
         "eu-west-2", "eu-south-1", "eu-west-3", "eu-north-1", "me-south-1",
         "sa-east-1", "ap-southeast-3" ]
  gcp: [ "asia-east1", "asia-east2", "asia-northeast1", "asia-northeast2", "asia-northeast3",
         "asia-south1", "asia-southeast1", "asia-southeast2", "australia-southeast1", "europe-central2",
         "europe-north1", "europe-west1", "europe-west2", "europe-west3", "europe-west4",
         "europe-west6", "northamerica-northeast1", "southamerica-east1", "us-central1", "us-east1",
         "us-east4", "us-west1", "us-west2", "us-west3", "us-west4" ]
  gcpNewArch: [ "us-west1", "us-west2" ]

degradation:
  enable: true
  disabled_rpc_methods:
    - "/core.CoreService/ListClusters"
  disabled_workers:
    - "sync_profile"

o11y:
  globalServerDomain: www.gs.us-west-2.aws.observability.tidbcloud.com
  bizType: dev-tidbcloud
  auth0Domain: tidb-soc2.us.auth0.com
  auth0ClientID: Sd4aekPCa5nMUSQBIvf8eGSL895WtV4o
  auth0Audience: https://tidb-soc2.us.auth0.com/api/v2/
