controllerManager:
  manager:
    # Command line arguments for the manager
    args:
    - --health-probe-bind-address=:8081
    - --metrics-bind-address=:8443
    - --metrics-secure
    - --leader-elect
    # Leader election ID - customize for multi-tenant clusters
    leaderElectionId: "jobsmanager.raczylo.com"
    # Enable development mode with verbose logging (console format)
    devMode: false
    # Environment variables for the manager container
    env:
      # Set to "debug" to enable verbose logging
      LOG_LEVEL: ""
    containerSecurityContext:
      allowPrivilegeEscalation: false
      capabilities:
        drop:
        - ALL
    image:
      repository: ghcr.io/lukaszraczylo/jobs-manager-operator
      tag: "0.1.8"
    resources:
      limits:
        cpu: 500m
        memory: 128Mi
      requests:
        cpu: 10m
        memory: 64Mi
  replicas: 1
  serviceAccount:
    annotations: {}

kubernetesClusterDomain: cluster.local

# Metrics service configuration
metricsService:
  ports:
  - name: https
    port: 8443
    protocol: TCP
    targetPort: https
  type: ClusterIP

# ServiceMonitor for Prometheus Operator integration
serviceMonitor:
  enabled: false
  # Namespace where ServiceMonitor will be created (defaults to release namespace)
  namespace: ""
  # Additional labels for ServiceMonitor
  labels: {}
  # Scrape interval
  interval: 30s
  # Scrape timeout
  scrapeTimeout: 10s
