# Infisical Helm Chart Values
# Documentation: https://infisical.com/docs/self-hosting/deployment-options/kubernetes-helm

ingress:
  enabled: true
  className: nginx
  nginx:
    enabled: false
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt-prod
  hosts:
    - host: secret.techarvest.co.zw
      paths:
        - path: /
          pathType: Prefix
  tls:
    - secretName: secret-techarvest-tls
      hosts:
        - secret.techarvest.co.zw

# For a basic self-hosted setup, we can use the sub-charts for PG and Redis
# or connect to external ones. To keep it simple and reliable in nextgen,
# we'll use the built-in sub-charts with persistence enabled.

postgresql:
  enabled: true
  persistence:
    enabled: true
    storageClass: local-path
    size: 10Gi

redis:
  enabled: true
  master:
    persistence:
      enabled: true
      storageClass: local-path
      size: 2Gi
