image:
  tag: v3.7.0


podDisruptionBudget:
  enabled: true
  maxUnavailable: 1

gateway:
  enabled: false

gatewayClass:
  enabled: false

updateStrategy:
  type: RollingUpdate
  rollingUpdate:
    maxUnavailable: 1

providers:
  kubernetesCRD:
    enabled: false
  kubernetesIngress:
    enabled: false
  kubernetesGateway:
    enabled: true
    experimentalChannel: false
    namespaces: []
    nativeLBByDefault: false
    labelSelector: "traefik.io/instance=internal"

metrics:
  prometheus:
    addEntryPointsLabels: true
    addRoutersLabels: true

logs:
  access:
    enabled: true
    # JSON access logs so the logging aggregator's traefik_parse transform can
    # extract route/service/status/duration/host/client_ip structured fields
    # (apps/base/logging/vector/aggregator.yaml).
    format: json

global:
  checkNewVersion: true
  sendAnonymousUsage: false
  notAppendXForwardedFor: false

service:
  enabled: true
  single: true
  annotations:
    purelb.io/service-group: "common"
    purelb.io/addresses: 198.18.200.4
  annotationsTCP: {}
  annotationsUDP: {}
  labels: {}
  spec:
    type: LoadBalancer
    loadBalancerIP: "198.18.200.4"
  additionalServices: {}

autoscaling:
  enabled: true
  minReplicas: 2
  maxReplicas: 5
  metrics: []
  behavior: {}
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: "{{ template \"traefik.fullname\" . }}"

persistence:
  enabled: false

affinity:
  podAntiAffinity:
    requiredDuringSchedulingIgnoredDuringExecution:
      - labelSelector:
          matchLabels:
            app.kubernetes.io/name: '{{ template "traefik.name" . }}'
            app.kubernetes.io/instance: '{{ .Release.Name }}-{{ include "traefik.namespace" . }}'
        topologyKey: kubernetes.io/hostname

podSecurityContext:
  runAsGroup: 65532
  runAsNonRoot: true
  runAsUser: 65532
  seccompProfile:
    type: RuntimeDefault

securityContext:
  allowPrivilegeEscalation: false
  capabilities:
    drop: [ALL]
    add: [NET_BIND_SERVICE]
  readOnlyRootFilesystem: true

ports:
  web:
    port: 80
  websecure:
    port: 443
  vault-direct:
    port: 8200
  ldaps:
    port: 636
    exposedPort: 636
    expose:
      default: true
    protocol: TCP

enabled: true
