apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: cp9-premium
resources:
  - clusterrole.yaml
  - clusterrolebinding.yaml
  - serviceaccount.yaml
  - deployment.yaml
configMapGenerator:
  - name: o11y-agent-control-server-root-config
    files:
      - config.yaml
  - name: templates-nextgen-k8s
    files:
      - templates/k8s/vector-values-aws.yaml
      - templates/k8s/vmagent.yaml
  - name: templates-nextgen-sharedpool
    files:
      - templates/sharedpool/vector-values-aws.yaml
      - templates/sharedpool/vmagent.yaml
  - name: templates-nextgen-sharedpool-jobs
    files:
      - templates/sharedpool/jobs/compute-tiflash.yaml
      - templates/sharedpool/jobs/coprocessor-worker.yaml
      - templates/sharedpool/jobs/dm.yaml
      - templates/sharedpool/jobs/pd.yaml
      - templates/sharedpool/jobs/scheduler.yaml
      - templates/sharedpool/jobs/schema-manager.yaml
      - templates/sharedpool/jobs/tibr.yaml
      - templates/sharedpool/jobs/ticdc.yaml
      - templates/sharedpool/jobs/tikv-worker.yaml
      - templates/sharedpool/jobs/tikv.yaml
      - templates/sharedpool/jobs/tiproxy.yaml
      - templates/sharedpool/jobs/tso.yaml
      - templates/sharedpool/jobs/worker-tidb.yaml
      - templates/sharedpool/jobs/write-tiflash.yaml
  - name: templates-nextgen-tidbgroup
    files:
      - templates/tidbgroup/vector-values-aws.yaml
  - name: templates-nextgen-tidbgroup-jobs
    files:
      - templates/tidbgroup/jobs/cassandra-proxy.yaml
      - templates/tidbgroup/jobs/node-exporter.yaml
      - templates/tidbgroup/jobs/tidb.yaml
      - templates/tidbgroup/jobs/tiproxy.yaml
