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

ingress:
  tls:
    enabled: true
  annotations:
    kubernetes.io/tls-acme: "true"
    kubernetes.io/ingress.class: "nginx"
    nginx.ingress.kubernetes.io/proxy-body-size: 21m
    nginx.ingress.kubernetes.io/proxy-connect-timeout: "300"
    nginx.ingress.kubernetes.io/proxy-send-timeout: "300"
    nginx.ingress.kubernetes.io/proxy-read-timeout: "300"
  modSecurity:
    enabled: false
    secRuleEngine: "DetectionOnly"

livenessProbe:
  path: "/healthz/liveness"
  initialDelaySeconds: 120
  timeoutSeconds: 15
  scheme: "HTTP"
  probeType: "httpGet"
readinessProbe:
  path: "/healthz/readiness"
  initialDelaySeconds: 5
  timeoutSeconds: 3
  scheme: "HTTP"
  probeType: "httpGet"

resources:
  limits:
    cpu: 1
    memory: 512M
  requests:
    cpu: 10m
    memory: 64M

workers:
  worker:
    replicaCount: 1
    terminationGracePeriodSeconds: 15
    command:
      - /cnb/lifecycle/launcher
      - bin/worker
    resources:
      limits:
        cpu: 1
        memory: 512M
      requests:
        cpu: 5m
        memory: 64M
  # scheduler:
  #   replicaCount: 1
  #   terminationGracePeriodSeconds: 15
  #   command:
  #     - /cnb/lifecycle/launcher
  #     - bin/schedule
  #   resources:
  #     limits:
  #       cpu: 20m
  #       memory: 128M
  #     requests:
  #       cpu: 5m
  #       memory: 32M
