provider: gke
controlplaneAWSProviderConfig: provider-aws # used to provision global resources such as route53 recordset and pca certificate
controlplaneGCPProviderConfig: provider-gcp # used to provision GCP global resources such as gcr bucket policy
# use spot instance for network/cluster to save cost in dev.
capacityType: SPOT
clusterController:
  gcp:
    validationServerServiceAccount: iam-validator-server@pingcap-gardener.iam.gserviceaccount.com
  tikvPreStopImage: "gcr.io/pingcap-public/dbaas/tidb-operator-prestop-hook:v2.0.0-alpha-69-g7fe1319"
  clusterAgent:
    chartPath: ../helm-charts/cluster-agent
    agentImage:
      repo: gcr.io/pingcap-gardener/tidbcloud/cluster-agent
      tag: ea6a6a403e28d5d93d901071e5e64bd0f667745e
    pdPatrolImage:
      # only used to fetch pd-patrol.
      tag: master-c53f203
  configChange:
    accountEnv: dev
    activity:
      activityHubEndpoint: "https://b9u12esjuf.execute-api.us-west-2.amazonaws.com"
      activityHubSource: "gitops"
      activityHubSourceKey: "1017a0dafa234d0089be538661c5acef"
      clinicEndpoint: "http://clinic-dev-1923272735.us-west-2.elb.amazonaws.com:8085"
  audit:
    sidecarImage: "gcr.io/pingcap-public/audit:81dc098e2ad54c6918e7c5aac80b052f532bc39f"
    sidecarCommand: ["/audit", "server", "--config", "/etc/audit/audit.yaml"]
network:
  k8sVersion: "1.27"
  certmanager:
    chartPath: ../helm-charts/certmanager/cert-manager-v1.10.0.tgz
    crdPaths:
      [../helm-charts/certmanager/cert-manager-crds-v1.10.0.yaml]
    controllerImage:
      repo: gcr.io/pingcap-public/cert-manager-controller
      tag: v1.10.0
    webhookImage:
      repo: gcr.io/pingcap-public/cert-manager-webhook
      tag: v1.10.0
    cainjectorImage:
      repo: gcr.io/pingcap-public/cert-manager-cainjector
      tag: v1.10.0
  csi:
    attacher:
      repo: 385595570414.dkr.ecr.us-west-2.amazonaws.com/third-party/sig-storage/csi-attacher
      tag: v3.1.0
    chartPath: ../helm-charts/csi/aws-ebs-csi-driver-2.4.0.tgz
    crdPaths: null
    driver:
      repo: 385595570414.dkr.ecr.us-west-2.amazonaws.com/third-party/ebs-csi-driver/aws-ebs-csi-driver
      tag: "v1.6.1"
    livenessProbe:
      repo: 385595570414.dkr.ecr.us-west-2.amazonaws.com/third-party/sig-storage/livenessprobe
      tag: v2.4.0
    nodeDriverRegistrar:
      repo: 385595570414.dkr.ecr.us-west-2.amazonaws.com/third-party/sig-storage/csi-node-driver-registrar
      tag: v2.3.0
    provisioner:
      repo: 385595570414.dkr.ecr.us-west-2.amazonaws.com/third-party/sig-storage/csi-provisioner
      tag: v2.2.2
    resizer:
      repo: 385595570414.dkr.ecr.us-west-2.amazonaws.com/third-party/sig-storage/csi-resizer
      tag: v1.1.0
  awsLoadBalancerController:
    chartPath: ../helm-charts/aws-load-balancer-controller/aws-load-balancer-controller-1.4.2.tgz
    crdPaths:
      - ../helm-charts/aws-load-balancer-controller/aws-load-balancer-controller-crds.yaml
    controllerImage:
      repo: 385595570414.dkr.ecr.us-west-2.amazonaws.com/third-party/amazon/aws-load-balancer-controller
      tag: v2.4.2
  clusterAutoscaler:
    chartPath: ../helm-charts/aws-cluster-auto-scaler/
    image:
      repo: 385595570414.dkr.ecr.us-west-2.amazonaws.com/third-party/autoscaling/cluster-autoscaler
      tag: "v1.25.0"
  operator:
    advancedStatefulset:
      name: gcr.io/pingcap-public/dbaas/advanced-statefulset:v0.8.0
    chartPath: ../helm-charts/tidb-operator/tidb-operator-v1.7.0-alpha.7
    crdPaths:
      - ../helm-charts/tidb-operator/advanced-statefulset-crd.v1.yaml
      - ../helm-charts/tidb-operator/tidb-operator-v1.7.0-alpha.7.yaml
    operator:
      name: gcr.io/pingcap-public/dbaas/tidb-operator
      tag: v1.7.0-alpha.7
    tidbBackupManager:
      name: gcr.io/pingcap-public/dbaas/tidb-backup-manager
      tag: v1.7.0-alpha.7
    dbMonitorProm:
      name: gcr.io/pingcap-public/dbaas/prometheus
      tag: v2.11.1
    dbMonitorGrafana:
      name: gcr.io/pingcap-public/dbaas/grafana
      tag: 6.0.1
  proxy:
    enableDevMode: true
    chartPath: ../helm-charts/proxy/cluster-proxy
    proxyImage:
      repo: gcr.io/pingcap-gardener/dbaas/dev/cluster-proxy
      tag: 4744f94439eb94afedc9de3fcea550f7ec2d0d01
    gottyImage:
      repo: gcr.io/pingcap-public/dbaas/gotty
      tag: "20211103"
    auth0Audience: "dev-proxy-service"
    auth0Domain: "tidb-dev.us.auth0.com"
    resources:
      memoryRequests: "100Mi"
      memoryLimits: "500Mi"
  clusterGateway:
    chartPath: ../helm-charts/kong
    crdPaths:
      - ../helm-charts/kong/crds/custom-resource-definitions.yaml
      - ../helm-charts/kong/crds/gateway-api-crd-standard-install.yaml
    allowedCidrs:
      - "0.0.0.0/0"
    kongImage:
      repo: 385595570414.dkr.ecr.us-west-2.amazonaws.com/third-party/kong/kong
      tag: "3.6"
    kongIngressControllerImage:
      repo: 385595570414.dkr.ecr.us-west-2.amazonaws.com/third-party/kong/kubernetes-ingress-controller
      tag: "3.1"
  dataflowAgent:
    chartPath: ../helm-charts/dataflow-agent/dataflow-agent.tgz
    dataflowAgentImage:
      repo: gcr.io/pingcap-gardener/dbaas/dev/dataflow-agent
      tag: 9073a5350d2f9cc68aa30c7208744f281c7d0bca
  tiflowOperator:
    chartPath: ../helm-charts/tiflow-operator/tiflow-operator.tgz
    crdPaths:
      - ../helm-charts/tiflow-operator/tiflow-operator/crds/pingcap.com_tiflowclusters.yaml
    tiflowOperatorImage:
      repo: gcr.io/pingcap-public/tidbcloud/tiflow-operator
      tag: 815345d55ba8a68dc74d14bd5127db5c1a727a5e
    enable: true
  pcaIssuer:
    chartPath: ../helm-charts/pca-issuer/aws-privateca-issuer-1.2.0-fixed.tgz
    crdPaths:
      - ../helm-charts/pca-issuer/aws-pca-issuer-crd.yaml
      - ../helm-charts/pca-issuer/aws-pca-clusterissuer-crd.yaml
    image:
      repo: gcr.io/pingcap-public/dbaas/aws-pca-issuer
      tag: v1.2.2
  sliReporter:
    chartPath: ../helm-charts/sli-reporter/sli-reporter.tgz
    image:
      repo: gcr.io/pingcap-gardener/dbaas/dev/sli-reporter
      tag: v2.0.1
    awsRegion: "us-west-2"
    deliveryStreamName: "sli-dev-metrics"
    deliveryStreamRoleArn: "arn:aws:iam::552185537300:role/sli-cross-account-role"
  kubeStateMetrics:
    chartPath: ../helm-charts/kube-state-metrics/kube-state-metrics.tgz
    image:
      registry: registry.k8s.io
      repo: kube-state-metrics/kube-state-metrics
      tag: v2.10.0
  nodeExporter:
    chartPath: ../helm-charts/node-exporter/node-exporter.tgz
    image:
      registry: quay.io
      repo: prometheus/node-exporter
      tag: v1.6.1
  enableEksPublicAccess: true
  apiserverPublicAccessCidrs:
    - "0.0.0.0/0"
  region: "us-west1"
  zones:
    - "us-west1-a"
    - "us-west1-b"
    - "us-west1-c"
  o11yConfig:
    env: dev
    seedVectorURL: "http://seed-us-west-2-vector-aggregator.dev.shared.aws.tidbcloud.com:9090"
    seedVectorEpSvcName: "com.amazonaws.vpce.us-west-2.vpce-svc-08e7c21cd1e10efc1"
    infraTenantID: infra-dev
    openAPIAddress: "https://www.gs.us-west-2.aws.observability.tidbcloud.com"
    createO11yInfraPath: "/api/v1/clusters"
    deleteO11yInfraPath: "/api/v1/clusters"
    getO11yInfraPath: "/api/v1/clusters"
    pauseO11yInfraPath: "/api/v1/clusters"
    resumeO11yInfraPath: "/api/v1/clusters"
    auth0GetTokenURL: "https://tidb-soc2.us.auth0.com/oauth/token"
    auth0Audience: "https://tidb-soc2.us.auth0.com/api/v2/"
    lokiServerDns: "ab38fa67a29b444b2923a6713bde1db1-595817497.us-west-2.elb.amazonaws.com"
    effectiveRegion:
      - aws-us-west-2-*
      - aws-eu-central-1-*
      - aws-ap-south-1-*
      - aws-ap-southeast-1-*
      - aws-ap-northeast-1-*
      - aws-ap-northeast-2-*
      - aws-us-east-1-*
      - gcp-us-west1-*
      - gcp-asia-east1-*
      - gcp-us-central1-*
      - gcp-asia-northeast1-*
      - gcp-asia-southeast1-*
      - gcp-asia-northeast2-*
    eventExporter:
      image:
        repo: ghcr.io/resmoio/kubernetes-event-exporter
        tag: v1.0
      chartPath: ../helm-charts/event-exporter/event-exporter.tgz
    metricsAgent:
      image:
        repo: victoriametrics/vmagent
        tag: v1.78.0
      chartPath: ../helm-charts/vmagent/victoria_metrics_agent.tgz
    clusterAgent:
      image:
        repo: gcr.io/pingcap-public/dbaas/vector
        tag: 0.23.X-2-debian
    logAgent:
      image:
        repo: gcr.io/pingcap-public/dbaas/vector
        tag: 0.23.X-2-debian
      chartPath: ../helm-charts/vector/vector.tgz
    loki:
      image:
        repo: gcr.io/pingcap-public/fluent-bit-plugin-loki
        tag: "main-8c1095a55-1.8.15-final-multi-arch"
      chartPath: ../helm-charts/fluent-bit
    so11y:
      image:
        repo: prom/prometheus
        tag: "v2.38.0"
      chartPath: ../helm-charts/prometheus/prometheus.tgz
  selfSignedCAConfig:
    tidbServerSelfSignedCAPath: examples/common/tidb-cluster-issuer-ca.yaml
# enable sentry log collector
# sentry:
#   dsn: "https://e85c9a30f8b54ae39ecf4a7b63dea760@o226447.ingest.sentry.io/6688512"
#   env: "local"
configServiceEndpoint: "http://localhost:8090"
storageClassConfigFile: ./examples/gke-provider/gcp-extra-storageclass.yaml
instanceTypeConfigFile: ./examples/gke-provider/gcp-instance-type.yaml
predicate:
  matchLabels:
    cloud.pingcap.com/provider-type: gke
    cloud.pingcap.com/region: us-west1
  matchExpressions:
    - key: "cloud.pingcap.com/reconciler"
      operator: "In"
      values:
        - <YourName>
tiflowCluster:
  master:
    defaultSpecCode: master-share-2c2g
    expirationMinute: 120
    shareDb:
      enableProxy: false
      proxyImage: "gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.1.0"
      serviceName: "tidbcloud-dp-dev-000:us-west2:tiflow-dev-us-west2"
      port: 3306
      user: tiflow-dev-us-west2-sa
      password:
    imageConfig:
      repo: gcr.io/pingcap-public/tidbcloud/tiflow
      tag: add-gcs-support
  executor:
    imageConfig:
      repo: gcr.io/pingcap-public/tidbcloud/tiflow
      tag: add-gcs-support
fullManage:
  project: nightly
  publicHostedZoneDomain: clusters.dev.tidb-cloud.com
  publicHostedZoneID: Z001609810TV4E79YOP22
  serviceRoleARN: "arn:aws:iam::385595570414:role/full-manager-eks-role"
  serviceRoleName: "full-manager-eks-role"
  assumeRoleARN: "arn:aws:iam::385595570414:role/full-manager-service-role"
  componentPCAARN: arn:aws:acm-pca:us-west-2:385595570414:certificate-authority/4668d5cc-1042-4371-9ff4-72ab9493c545
  assumeRoleExternalID: "123"
  gcpProjectID: pingcap-gardener
  gcpClusterServerSAName: "dev-cluster-server"
maxConcurrentReconciles:
  network: 10
  cluster: 10
  networkPeer: 10
  clusterNodeProtector: 10
  eksConnection: 10
  frpServer: 10
  privateLink: 10
  privateLinkEndpoint: 10
featureGates:
  set_priority_class:
    all: true
  use_tidb_operator_v2:
    all: false
    enabledProjects:
      - 3200203 # dbaastest2/tidb-operator-v2
      - 3200331 # Dedicated Test/tidb-operator-v2
      - 3200228 # Dedicated Test/azure-tidb-operator-v2
