# Default values for mailpod.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

replicaCount: 1
persistence:
  enabled: false
  existingClaim: mailboxes

rspamd:
  image:
    repository: gitea.geekhome.org/ghp/rspamd
    tag: 3.6-1
    pullPolicy: Always
  local.d:
    redis.conf: |
      servers = "rspamd-redis-master";
    worker-proxy.inc: |
      bind_socket = "0.0.0.0:11332";
    worker-normal.inc: |
      bind_socket = "0.0.0.0:11333";
    worker-controller.inc: |
      bind_socket = "0.0.0.0:11334";
    worker-fuzzy.inc: |
      bind_socket = "0.0.0.0:11335";
    logging.inc: |
      type = "console";

redis:
  enabled: true
  architecture: standalone
  auth:
    enabled: false

service:
  type: ClusterIP

imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""

serviceAccount:
  # Specifies whether a service account should be created
  create: true
  # Annotations to add to the service account
  annotations: {}
  # The name of the service account to use.
  # If not set and create is true, a name is generated using the fullname template
  name:

podSecurityContext: {}
  # fsGroup: 2000

securityContext: {}
  # capabilities:
  #   drop:
  #   - ALL
  # readOnlyRootFilesystem: true
  # runAsNonRoot: true
  # runAsUser: 1000


resources: {}
  # We usually recommend not to specify default resources and to leave this as a conscious
  # choice for the user. This also increases chances charts run on environments with little
  # resources, such as Minikube. If you do want to specify resources, uncomment the following
  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
  # limits:
  #   cpu: 100m
  #   memory: 128Mi
  # requests:
  #   cpu: 100m
  #   memory: 128Mi

nodeSelector: {}

tolerations: []

affinity: {}