# Default values for cluster-agent.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

replicaCount: 1

clusterAgent:
  image:
    repository: cluster-agent
    pullPolicy: IfNotPresent
    # Overrides the image tag whose default is the chart appVersion.
    tag: local
  args:
    provider: kind
  env:
    - name: TIKV_CTL_PATH
      value: /opt/other-binary/tikv-ctl
    - name: PD_CTL_PATH
      value: /opt/other-binary/pd-ctl
    - name: PD_PATROL_CTL_PATH
      value: /opt/other-binary/pd-patrol-ctl

tikvCtl:
  # the full image string of tikv-ctl
  imageStr: "pingcap/tikv:v7.5.1"

pdCtl:
  # the full image string of pd-ctl
  imageStr: "pingcap/pd:v7.5.1"

pdPatrolCtl:
  # the full image string of pd-ctl
  # only used to fetch pd-patrol.
#  imageStr: "hub.pingcap.net/tikv/pd/image:master-c53f203
  imageStr: "pingcap/pd:v7.5.1"

nameOverride: ""
fullnameOverride: ""

serviceAccount:
  # Specifies whether a service account should be created
  create: true
  # Annotations to add to the service account
  annotations: {}
  # The name of the service account to use.
  # If not set and create is true, a name is generated using the fullname template
  name: ""

podAnnotations: {}

podSecurityContext:
  # fsGroup: 2000
  runAsGroup: 1000
  runAsUser: 1000

securityContext: {}
  # capabilities:
  #   drop:
  #   - ALL
  # readOnlyRootFilesystem: true
# runAsNonRoot: true

service:
  type: ClusterIP
  port: 8080

ingress:
  enabled: false

resources: {}
  # We usually recommend not to specify default resources and to leave this as a conscious
  # choice for the user. This also increases chances charts run on environments with little
  # resources, such as Minikube. If you do want to specify resources, uncomment the following
  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
  # limits:
  #   cpu: 100m
  #   memory: 128Mi
  # requests:
  #   cpu: 100m
#   memory: 128Mi

nodeSelector: {}

tolerations: []

affinity: {}
