# Configurable Helm values for Rhino
# This is a YAML-formatted file.

global:
  # Set to your base image registry host ONLY if storing ALL images in one registry
  # If instead you will access third-party images from public docker registry, then
  # you will instead set image.registry for frontend/backend/worker as appropriate
  # imageRegistry: myrepo.docker.io
  
  # Configurable pull policy and secrets (if needed)
  #imagePullPolicy: IfNotPresent
  #imagePullSecrets: []
  
  # Configurable storage class
  storageClass: my-storage-class

  # Configurable external authentication
  # oauth:
  # 



# Specify secret for license file/keys
#
# Option A: Legacy single-secret approach (backward compatible)
#   All three license values in one Kubernetes Secret with keys:
#   LICENSE_KEY, LICENSE_SIGNATURE_KEY, LICENSE_FILE
#   licenseSecret: name-of-secret-with-license
#
# Option B: Modular license file configuration approach (file as ConfigMap and keys as Secrets)
#   More compatible with native `kubectl create configmap --from-file license.lic`
#   Key names default to LICENSE_KEY, LICENSE_SIGNATURE_KEY when omitted.
#   license:
#     key:
#       secretName: license-secret       # required
#       key: LICENSE_KEY                  # optional, default: LICENSE_KEY
#     signatureKey:
#       secretName: license-secret       # required
#       key: LICENSE_SIGNATURE_KEY        # optional, default: LICENSE_SIGNATURE_KEY
#     file:
#       configMap: license-file-cm        # required
#       key: license.lic                  # optional, default: license.lic
#
# Option C: If you purchased through AWS Marketplace, configure secrets only
#   license:
#     key:
#       secretName: license-secret       # required
#       key: LICENSE_KEY                  # optional, default: LICENSE_KEY
#     issuerFingerprint:
#       secretName: license-secret       # required
#       key: LICENSE_ISSUER_FINGERPRINT   # optional, default: LICENSE_ISSUER_FINGERPRINT


# Configure the service account for pod identity (required for AWS IRSA)
# serviceAccount:
#   name: ""  # The name of the Kubernetes ServiceAccount to use


# Configure the frontend service as desired (e.g. LoadBalancer, etc.)
# frontend:
#   image:
#     repository: rhino/frontend
#     tag: ""
#   service:
#     type: ClusterIP
#     port: 80
#   # If you require a custom security configuration, you can disable the default one
#   useDefaultSecurityContext: false
#   podSecurityContext: {}
#   containerSecurityContext: {}


# Configure the backend and worker services
# backend:
#   maxUploadSize: 500Mi
#   image:
#     repository: rhino/backend
#     tag: ""
#   worker:
#     image:
#       repository: rhino/worker
#       tag: ""
#     default:
#       replicaCount: 1  # Set to desired worker count
#     saq:
#       replicaCount: 2  # Set to desired worker count
#   volumeClaimTemplate:
#     storageClassName: "my-storage-class"  # Either configure global.storageClass or here, not both
#     resources:
#       requests:
#         storage: 10Gi
#   # If you require a custom security configuration, you can disable the default one
#   useDefaultSecurityContext: false
#   podSecurityContext: {}
#   containerSecurityContext: {}


# AI Configuration Block
# Configures LLM provider integration (OpenAI, Azure, etc.)
# ai:
#   llmConfig:
#     catalog:
#       providers:
#         - type: bedrock
#           name: bedrock-recommended
#           client_parameters:
#             region_name: us-east-1
#           models:
#             - model: claude-sonnet-4-6
#               proxy_model_name: us.anthropic.claude-sonnet-4-6
#               rate_limit:
#                 per_minute:
#                   tokens: 5000000
#                   requests: 10000
#             - model: claude-opus-4-6
#               proxy_model_name: us.anthropic.claude-opus-4-6-v1
#               rate_limit:
#                 per_minute:
#                   tokens: 3000000
#                   requests: 10000


# Override resource names if desired
#nameOverride: ""
#fullnameOverride: ""
