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

config:
  shootLabel: unknown
  awsESUserName: elastic
  awsESHost: awsESHost
  awsESPwd: awsESPwd
  slowQueryTiDBHost: slowQueryTiDBHost
  slowQueryTiDBUser: slowQueryTiDBUser
  slowQueryTiDBPassword: slowQueryTiDBPassword
  slowQueryTiDBDatabase: slowQueryTiDBDatabase
  slowQueryTiDBCA: slowQueryTiDBCA
  slowQueryTiDBCert: slowQueryTiDBCert
  slowQueryTiDBKey: slowQueryTiDBKey
  slowQueryImage: gcr.io/pingcap-public/elastic/filebeat-oss:8.0.0-slowquerylog-v1

replicaCount: 1

image:
  repository: gcr.io/pingcap-public/elastic/filebeat-oss-tidb-module
  pullPolicy: IfNotPresent
  # Overrides the image tag whose default is the chart appVersion.
  tag: "7.12.2"

imagePullSecrets: []
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

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

service:
  type: ClusterIP
  port: 80

ingress:
  enabled: false
  annotations: {}
    # kubernetes.io/ingress.class: nginx
    # kubernetes.io/tls-acme: "true"
  hosts:
    - host: chart-example.local
      paths:
      - path: /
        backend:
          serviceName: chart-example.local
          servicePort: 80
  tls: []
  #  - secretName: chart-example-tls
  #    hosts:
  #      - chart-example.local

resources:
  limits:
    cpu: 500m
    memory: 200Mi
  requests:
    cpu: 20m
    memory: 100Mi

autoscaling:
  enabled: false
  minReplicas: 1
  maxReplicas: 100
  targetCPUUtilizationPercentage: 80
  # targetMemoryUtilizationPercentage: 80

nodeSelector: {}

## Tolerations for pod assignment
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
tolerations:
- operator: Exists

affinity: {}
