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:
  #  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: staging
    kubeConfigPath: "/Users/louis/.kube/staging-gardener-api.kubeconfig"
  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/louis/.kube/staging-admin-kubeconfig"
    projectIDAsInfraProjectID: true
  #    reconciler: chenfei
  secret:
    secretKey: arn:aws:secretsmanager:us-west-2:385595570414:secret:staging-ms-secret-config-yaml-66b2d43-6A5RRk
    region: us-west-2
  featureGates:
    eksfull:
      all: true
    delegate_user:
      all: true
    delegate_user4devtier:
      all: true
    new_cluster_metering:
      all: true
    expose_sql_error:
      all: true
    event_driven:
      all: true
  enableMySQLTLS: true
  eventbus:
    proxyAddress: "socks5://localhost:9092"
  infraAPIWatcher:
    enable: true

mysql:
  host: gateway01.us-west-2.prod.aws.tidbcloud.com
  port: 4000
  user: R9ez7VWZfnXH5Lw.staging
  database: staging_central
  logLevel: debug

biz:
  clusterCertsBucket: cluster-certificates-staging
  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/377a0e54-fc99-4761-b27b-ea772141cb49"

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

proxy:
  auth0Domain: tidb-staging.us.auth0.com
  auth0ClientID: Z6udjkgdhMIgcKSMsC27aAZ6Ex6a1w1g
  auth0Audience: staging-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" ]
