nodeSelector:
  workload: general

# Web UI Ingress Configuration
ingress:
  web:
    enabled: true
    ingressClassName: traefik
    annotations:
      cert-manager.io/cluster-issuer: letsencrypt
      traefik.ingress.kubernetes.io/router.entrypoints: web
    hosts:
      - name: airflow.dvirlabs.com
        tls:
          enabled: false

  flower:
    enabled: false

# PostgreSQL Configuration
postgresql:
  enabled: true
  auth:
    username: airflow
    password: airflow123
    database: airflow
  primary:
    nodeSelector:
      workload: general
    persistence:
      enabled: true
      storageClass: nfs-client
      size: 10Gi

# Airflow Executor Configuration
executor: KubernetesExecutor

# Redis not needed with KubernetesExecutor
redis:
  enabled: false

# Airflow Home directory
airflowHome: /opt/airflow

# Default resources for Airflow pods
resources:
  requests:
    cpu: 100m
    memory: 128Mi
  limits:
    cpu: 500m
    memory: 512Mi

# Statsd exporter for metrics
statsd:
  enabled: true

# Labels
labels:
  app: airflow