# Example values for NiFi with Basic Authentication (Single User Authentication)
# Basic auth only supports single-node deployment

global:
  busybox:
    repository: public.ecr.aws/docker/library/busybox:stable

  nifi:
    nodeCount: 1  # REQUIRED: Basic auth only supports single node

  # Basic Authentication Configuration
  # This is the default fallback when OIDC and LDAP are disabled
  basic:
    admin_username: "admin"
    admin_password: "your32characterpasswordhere123"  # Must be at least 12 characters

# Resource configuration for single node
resources:
  requests:
    memory: "2Gi"
    cpu: "1000m"
  limits:
    memory: "4Gi"
    cpu: "2000m"

# Storage configuration
volumeClaims:
  config:
    storageClass: "gp3"
    size: "5Gi"
  state:
    storageClass: "gp3"
    size: "10Gi"
  logs:
    storageClass: "gp3"
    size: "2Gi"
  flowfile:
    storageClass: "gp3"
    size: "10Gi"
  content:
    storageClass: "gp3"
    size: "15Gi"
  provenance:
    storageClass: "gp3"
    size: "10Gi"

# Your specific ALB ingress configuration
ingress:
  enabled: true
  ingressClassName: alb
  hostName: example.com # nifi.example.com
  siteToSite:
    subDomain: s2s # Subdomain for site-to-site traffic (e.g. s2s.example.com)
  annotations: { }

# JVM Heap configuration for single node
jvmHeap:
  min: 512m
  max: 1g

# Node selector and tolerations (adjust as needed for your cluster)
nodeSelector: {}
tolerations: []
affinity: {}
