# VMCluster tenant migration runner. Disabled by default: enable per
# region in deployments/vm-migration/envs. Dormant when enabled
# (replicas: 0): scale up per migration campaign and size resources
# then. The HTTP API has mutating endpoints without auth — reach it via
# port-forward or the internal ingress path only.
enabled: false
replicas: 0
image:
  repository: 557537366020.dkr.ecr.us-west-2.amazonaws.com/vm-migration
  tag: "" # full git hash of the image build
  pullPolicy: IfNotPresent
args:
  - serve
  - --addr
  - :8080
  - --migrations-dir
  - /workspace/migrations
resources:
  limits:
    cpu: "2"
    memory: 4Gi
  requests:
    cpu: "1"
    memory: 2Gi
terminationGracePeriodSeconds: 120
serviceAccount:
  name: vm-migration
# The serve pod deploys the two temporary vmselects (vmselect-migration,
# vmselect-candidate) into rbac.namespace. create: false falls back to
# managing the RBAC out-of-band in the CD repo. The vmselects' image and
# sizing come from the migration's compiled plan (plan.json `vmselects`),
# not from this chart — tune them per migration via POST /tune.
rbac:
  create: false
  namespace: observability
persistence:
  size: 10Gi
  storageClassName: ""
ingress:
  className: nginx-read
