## @section Global parameters
## Global Docker image parameters
## Please, note that this will override the image parameters, including dependencies, configured to use the global value
## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass
##

## @param global.imageRegistry Global Docker image registry
## @param global.imagePullSecrets Global Docker registry secret names as an array
## @param global.storageClass Global StorageClass for Persistent Volume(s)
##
global:
  imageRegistry: ''
  ## E.g.
  ## imagePullSecrets:
  ##   - myRegistryKeySecretName
  ##
  imagePullSecrets: []
  storageClass: ''

## @section Common parameters
##

## @param kubeVersion Override Kubernetes version
##
kubeVersion: ''
## @param nameOverride String to partially override common.names.name
##
nameOverride: ''
## @param fullnameOverride String to fully override common.names.fullname
##
fullnameOverride: ''
## @param namespaceOverride String to fully override common.names.namespace
##
namespaceOverride: ''
## @param commonLabels Labels to add to all deployed objects
##
commonLabels: {}
## @param commonAnnotations Annotations to add to all deployed objects
##
commonAnnotations: {}
## @param clusterDomain Kubernetes cluster domain name
##
clusterDomain: cluster.local
## @param extraDeploy Array of extra objects to deploy with the release
##
extraDeploy: []

## Enable diagnostic mode in the deployment
##
diagnosticMode:
  ## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
  ##
  enabled: false
  ## @param diagnosticMode.command Command to override all containers in the deployment
  ##
  command:
    - sleep
  ## @param diagnosticMode.args Args to override all containers in the deployment
  ##
  args:
    - infinity

## @section Novu API Parameters
##
api:
  ## Novu image
  ## ref: https://github.com/orgs/novuhq/packages
  ## @param api.image.registry Novu image registry
  ## @param api.image.repository Novu image repository
  ## @param api.image.tag Novu image tag (immutable tags are recommended)
  ## @param api.image.digest Novu image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag image tag (immutable tags are recommended)
  ## @param api.image.pullPolicy Novu image pull policy
  ## @param api.image.pullSecrets Novu image pull secrets
  ## @param api.image.debug Enable Novu image debug mode
  ##
  image:
    registry: ghcr.io
    repository: novuhq/novu/api
    tag: 0.15.0
    digest: ''
    ## Specify a imagePullPolicy
    ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
    ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
    ##
    pullPolicy: IfNotPresent
    ## Optionally specify an array of imagePullSecrets.
    ## Secrets must be manually created in the namespace.
    ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
    ## e.g:
    ## pullSecrets:
    ##   - myRegistryKeySecretName
    ##
    pullSecrets: []
    ## Enable debug mode
    ##
    debug: false
  ## @param api.replicaCount Number of novu api replicas to deploy
  ##
  replicaCount: 1
  ## @param api.containerPorts.http novu api HTTP container port
  ##
  containerPorts:
    http: 3000
  ## Configure extra options for novu api containers' liveness and readiness probes
  ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
  ## @param api.livenessProbe.enabled Enable livenessProbe on novu api containers
  ## @param api.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
  ## @param api.livenessProbe.periodSeconds Period seconds for livenessProbe
  ## @param api.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
  ## @param api.livenessProbe.failureThreshold Failure threshold for livenessProbe
  ## @param api.livenessProbe.successThreshold Success threshold for livenessProbe
  ##
  livenessProbe:
    enabled: true
    initialDelaySeconds: 30
    periodSeconds: 10
    timeoutSeconds: 5
    failureThreshold: 6
    successThreshold: 1
  ## @param api.readinessProbe.enabled Enable readinessProbe on novu api containers
  ## @param api.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
  ## @param api.readinessProbe.periodSeconds Period seconds for readinessProbe
  ## @param api.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
  ## @param api.readinessProbe.failureThreshold Failure threshold for readinessProbe
  ## @param api.readinessProbe.successThreshold Success threshold for readinessProbe
  ##
  readinessProbe:
    enabled: true
    initialDelaySeconds: 30
    periodSeconds: 10
    timeoutSeconds: 5
    failureThreshold: 6
    successThreshold: 1
  ## @param api.startupProbe.enabled Enable startupProbe on novu api containers
  ## @param api.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
  ## @param api.startupProbe.periodSeconds Period seconds for startupProbe
  ## @param api.startupProbe.timeoutSeconds Timeout seconds for startupProbe
  ## @param api.startupProbe.failureThreshold Failure threshold for startupProbe
  ## @param api.startupProbe.successThreshold Success threshold for startupProbe
  ##
  startupProbe:
    enabled: false
    initialDelaySeconds: 30
    periodSeconds: 10
    timeoutSeconds: 5
    failureThreshold: 6
    successThreshold: 1
  ## @param api.customLivenessProbe Custom livenessProbe that overrides the default one
  ##
  customLivenessProbe: {}
  ## @param api.customReadinessProbe Custom readinessProbe that overrides the default one
  ##
  customReadinessProbe: {}
  ## @param api.customStartupProbe Custom startupProbe that overrides the default one
  ##
  customStartupProbe: {}
  ## novu api resource requests and limits
  ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
  ## @param api.resources.limits The resources limits for the novu api containers
  ## @param api.resources.requests The requested resources for the novu api containers
  ##
  resources:
    limits: {}
    requests: {}
  ## Configure Pods Security Context
  ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
  ## @param api.podSecurityContext.enabled Enabled novu api pods' Security Context
  ## @param api.podSecurityContext.fsGroup Set novu api pod's Security Context fsGroup
  ##
  podSecurityContext:
    enabled: false
    fsGroup: 1001
  ## Configure Container Security Context
  ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
  ## @param api.containerSecurityContext.enabled Enabled novu api containers' Security Context
  ## @param api.containerSecurityContext.runAsUser Set novu api containers' Security Context runAsUser
  ## @param api.containerSecurityContext.runAsNonRoot Set novu api containers' Security Context runAsNonRoot
  ## @param api.containerSecurityContext.readOnlyRootFilesystem Set novu api containers' Security Context runAsNonRoot
  ##
  containerSecurityContext:
    enabled: false
    runAsUser: 1001
    runAsNonRoot: true
    readOnlyRootFilesystem: false

  ## @param api.existingConfigmap The name of an existing ConfigMap with your custom configuration for novu api
  ##
  existingConfigmap:
  ## @param api.command Override default container command (useful when using custom images)
  ##
  command: []
  ## @param api.args Override default container args (useful when using custom images)
  ##
  args: []
  ## @param api.hostAliases novu api pods host aliases
  ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
  ##
  hostAliases: []
  ## @param api.podLabels Extra labels for novu api pods
  ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
  ##
  podLabels: {}
  ## @param api.podAnnotations Annotations for novu api pods
  ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
  ##
  podAnnotations: {}
  ## @param api.podAffinityPreset Pod affinity preset. Ignored if `api.affinity` is set. Allowed values: `soft` or `hard`
  ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
  ##
  podAffinityPreset: ''
  ## @param api.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `api.affinity` is set. Allowed values: `soft` or `hard`
  ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
  ##
  podAntiAffinityPreset: soft
  ## Pod Disruption Budget configuration
  ## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
  ## @param api.pdb.create Enable/disable a Pod Disruption Budget creation
  ## @param api.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
  ## @param api.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
  ##
  pdb:
    create: false
    minAvailable: 1
    maxUnavailable: ''
  ## Autoscaling configuration
  ## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
  ## @param api.autoscaling.enabled Enable autoscaling for api
  ## @param api.autoscaling.minReplicas Minimum number of api replicas
  ## @param api.autoscaling.maxReplicas Maximum number of api replicas
  ## @param api.autoscaling.targetCPU Target CPU utilization percentage
  ## @param api.autoscaling.targetMemory Target Memory utilization percentage
  ##
  autoscaling:
    enabled: false
    minReplicas: ''
    maxReplicas: ''
    targetCPU: ''
    targetMemory: ''
  ## Node api.affinity preset
  ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
  ##
  nodeAffinityPreset:
    ## @param api.nodeAffinityPreset.type Node affinity preset type. Ignored if `api.affinity` is set. Allowed values: `soft` or `hard`
    ##
    type: ''
    ## @param api.nodeAffinityPreset.key Node label key to match. Ignored if `api.affinity` is set
    ##
    key: ''
    ## @param api.nodeAffinityPreset.values Node label values to match. Ignored if `api.affinity` is set
    ## E.g.
    ## values:
    ##   - e2e-az1
    ##   - e2e-az2
    ##
    values: []
  ## @param api.affinity Affinity for novu api pods assignment
  ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
  ## NOTE: `api.podAffinityPreset`, `api.podAntiAffinityPreset`, and `api.nodeAffinityPreset` will be ignored when it's set
  ##
  affinity: {}
  ## @param api.nodeSelector Node labels for novu api pods assignment
  ## ref: https://kubernetes.io/docs/user-guide/node-selection/
  ##
  nodeSelector: {}
  ## @param api.tolerations Tolerations for novu api pods assignment
  ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
  ##
  tolerations: []
  ## @param api.updateStrategy.type novu api statefulset strategy type
  ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
  ##
  updateStrategy:
    ## StrategyType
    ## Can be set to RollingUpdate or OnDelete
    ##
    type: RollingUpdate

  ## ONLY FOR STATEFULSETS
  ## @param api.podManagementPolicy Statefulset Pod management policy, it needs to be Parallel to be able to complete the cluster join
  ## Ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
  ##
  podManagementPolicy: OrderedReady

  ## @param api.priorityClassName novu api pods' priorityClassName
  ##
  priorityClassName: ''
  ## @param api.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
  ## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
  ##
  topologySpreadConstraints: []
  ## @param api.schedulerName Name of the k8s scheduler (other than default) for novu api pods
  ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
  ##
  schedulerName: ''
  ## @param api.terminationGracePeriodSeconds Seconds Redmine pod needs to terminate gracefully
  ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
  ##
  terminationGracePeriodSeconds: ''
  ## @param api.lifecycleHooks for the novu api container(s) to automate configuration before or after startup
  ##
  lifecycleHooks: {}
  ## @param api.extraEnvVars Array with extra environment variables to add to novu api nodes
  ## e.g:
  ## extraEnvVars:
  ##   - name: FOO
  ##     value: "bar"
  ##
  extraEnvVars: []
  ## @param api.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for novu api nodes
  ##
  extraEnvVarsCM: ''
  ## @param api.extraEnvVarsSecret Name of existing Secret containing extra env vars for novu api nodes
  ##
  extraEnvVarsSecret: ''
  ## @param api.extraVolumes Optionally specify extra list of additional volumes for the novu api pod(s)
  ##
  extraVolumes: []
  ## @param api.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the novu api container(s)
  ##
  extraVolumeMounts: []
  ## @param api.sidecars Add additional sidecar containers to the novu api pod(s)
  ## e.g:
  ## sidecars:
  ##   - name: your-image-name
  ##     image: your-image
  ##     imagePullPolicy: Always
  ##     ports:
  ##       - name: portname
  ##         containerPort: 1234
  ##
  sidecars: []
  ## @param api.initContainers Add additional init containers to the novu api pod(s)
  ## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
  ## e.g:
  ## initContainers:
  ##  - name: your-image-name
  ##    image: your-image
  ##    imagePullPolicy: Always
  ##    command: ['sh', '-c', 'echo "hello world"']
  ##
  initContainers: []

  service:
    ## @param api.service.annotations Additional custom annotations for api service
    ##
    annotations: {}
    ## @param api.service.extraPorts Extra port to expose on api service
    ##
    extraPorts: []

  ## @param api.port The port on which the API backend should listen on
  ##
  port: 3000

  env:
    ## @param api.env.NODE_ENV The environment of the app.
    ##
    NODE_ENV: production
    ## @param api.env.API_ROOT_URL Define the required env for novu
    ##
    API_ROOT_URL: http://novu-api:3000
    ## @param api.env.DISABLE_USER_REGISTRATION If users should not be able to create new accounts. Possible values are: true, false
    ##
    DISABLE_USER_REGISTRATION: true
    ## @param api.env.FRONT_BASE_URL The base url on which your frontend is accessible for the user. (e.g. web.novu.co)
    ##
    FRONT_BASE_URL: http://novu-web:4200
    ## @param api.env.MONGO_MIN_POOL_SIZE The min pool size of the MongoDB connection
    ##
    MONGO_MIN_POOL_SIZE: 10
    ## @param api.env.MONGO_MAX_POOL_SIZE The max pool size of the MongoDB connection
    ##
    MONGO_MAX_POOL_SIZE: 50

  ## novu api ingress parameters
  ## ref: http://kubernetes.io/docs/user-guide/ingress/
  ##
  ingress:
    ## @param api.ingress.enabled Enable ingress record generation for novu api
    ##
    enabled: false
    ## @param api.ingress.pathType Ingress path type
    ##
    pathType: ImplementationSpecific
    ## @param api.ingress.apiVersion Force Ingress API version (automatically detected if not set)
    ##
    apiVersion: ''
    ## @param api.ingress.hostname Default host for the ingress record
    ##
    hostname: novu-api.local
    ## @param api.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
    ## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
    ## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
    ##
    ingressClassName: ''
    ## @param api.ingress.path Default path for the ingress record
    ## NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers
    ##
    path: /
    ## @param api.ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
    ## Use this parameter to set the required annotations for cert-manager, see
    ## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
    ## e.g:
    ## annotations:
    ##   kubernetes.io/api.ingress.class: nginx
    ##   cert-manager.io/cluster-issuer: cluster-issuer-name
    ##
    annotations: {}
    ## @param api.ingress.tls Enable TLS configuration for the host defined at `api.ingress.hostname` parameter
    ## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.api.ingress.hostname }}`
    ## You can:
    ##   - Use the `api.ingress.secrets` parameter to create this TLS secret
    ##   - Rely on cert-manager to create it by setting the corresponding annotations
    ##   - Rely on Helm to create self-signed certificates by setting `api.ingress.selfSigned=true`
    ##
    tls: false
    ## @param api.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
    ##
    selfSigned: false
    ## @param api.ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record
    ## e.g:
    ## extraHosts:
    ##   - name: novu.local
    ##     path: /
    ##
    extraHosts: []
    ## @param api.ingress.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host
    ## e.g:
    ## extraPaths:
    ## - path: /*
    ##   backend:
    ##     serviceName: ssl-redirect
    ##     servicePort: use-annotation
    ##
    extraPaths: []
    ## @param api.ingress.extraTls TLS configuration for additional hostname(s) to be covered with this ingress record
    ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
    ## e.g:
    ## extraTls:
    ## - hosts:
    ##     - novu.local
    ##   secretName: novu.local-tls
    ##
    extraTls: []
    ## @param api.ingress.secrets Custom TLS certificates as secrets
    ## NOTE: 'key' and 'certificate' are expected in PEM format
    ## NOTE: 'name' should line up with a 'secretName' set further up
    ## If it is not set and you're using cert-manager, this is unneeded, as it will create a secret for you with valid certificates
    ## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days
    ## It is also possible to create and manage the certificates outside of this helm chart
    ## Please see README.md for more information
    ## e.g:
    ## secrets:
    ##   - name: novu.local-tls
    ##     key: |-
    ##       -----BEGIN RSA PRIVATE KEY-----
    ##       ...
    ##       -----END RSA PRIVATE KEY-----
    ##     certificate: |-
    ##       -----BEGIN CERTIFICATE-----
    ##       ...
    ##       -----END CERTIFICATE-----
    ##
    secrets: []
    ## @param api.ingress.extraRules Additional rules to be covered with this ingress record
    ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
    ## e.g:
    ## extraRules:
    ## - host: example.local
    ##     http:
    ##       path: /
    ##       backend:
    ##         service:
    ##           name: example-svc
    ##           port:
    ##             name: http
    ##
    extraRules: []

## @section Novu Worker Parameters
##
worker:
  ## Novu image
  ## ref: https://github.com/orgs/novuhq/packages
  ## @param worker.image.registry Novu image registry
  ## @param worker.image.repository Novu image repository
  ## @param worker.image.tag Novu image tag (immutable tags are recommended)
  ## @param worker.image.digest Novu image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag image tag (immutable tags are recommended)
  ## @param worker.image.pullPolicy Novu image pull policy
  ## @param worker.image.pullSecrets Novu image pull secrets
  ## @param worker.image.debug Enable Novu image debug mode
  ##
  image:
    registry: ghcr.io
    repository: novuhq/novu/worker
    tag: 0.15.0
    digest: ''
    ## Specify a imagePullPolicy
    ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
    ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
    ##
    pullPolicy: IfNotPresent
    ## Optionally specify an array of imagePullSecrets.
    ## Secrets must be manually created in the namespace.
    ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
    ## e.g:
    ## pullSecrets:
    ##   - myRegistryKeySecretName
    ##
    pullSecrets: []
    ## Enable debug mode
    ##
    debug: false
  ## @param worker.replicaCount Number of novu worker replicas to deploy
  ##
  replicaCount: 1
  ## @param worker.containerPorts.http novu worker HTTP container port
  ## @param worker.containerPorts.https novu worker HTTPS container port
  ##
  containerPorts:
    http: 80
    https: 443
  ## Configure extra options for novu worker containers' liveness and readiness probes
  ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
  ## @param worker.livenessProbe.enabled Enable livenessProbe on novu worker containers
  ## @param worker.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
  ## @param worker.livenessProbe.periodSeconds Period seconds for livenessProbe
  ## @param worker.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
  ## @param worker.livenessProbe.failureThreshold Failure threshold for livenessProbe
  ## @param worker.livenessProbe.successThreshold Success threshold for livenessProbe
  ##
  livenessProbe:
    enabled: true
    initialDelaySeconds: 30
    periodSeconds: 10
    timeoutSeconds: 5
    failureThreshold: 6
    successThreshold: 1
  ## @param worker.readinessProbe.enabled Enable readinessProbe on novu worker containers
  ## @param worker.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
  ## @param worker.readinessProbe.periodSeconds Period seconds for readinessProbe
  ## @param worker.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
  ## @param worker.readinessProbe.failureThreshold Failure threshold for readinessProbe
  ## @param worker.readinessProbe.successThreshold Success threshold for readinessProbe
  ##
  readinessProbe:
    enabled: true
    initialDelaySeconds: 30
    periodSeconds: 10
    timeoutSeconds: 5
    failureThreshold: 6
    successThreshold: 1
  ## @param worker.startupProbe.enabled Enable startupProbe on novu worker containers
  ## @param worker.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
  ## @param worker.startupProbe.periodSeconds Period seconds for startupProbe
  ## @param worker.startupProbe.timeoutSeconds Timeout seconds for startupProbe
  ## @param worker.startupProbe.failureThreshold Failure threshold for startupProbe
  ## @param worker.startupProbe.successThreshold Success threshold for startupProbe
  ##
  startupProbe:
    enabled: false
    initialDelaySeconds: 30
    periodSeconds: 10
    timeoutSeconds: 5
    failureThreshold: 6
    successThreshold: 1
  ## @param worker.customLivenessProbe Custom livenessProbe that overrides the default one
  ##
  customLivenessProbe: {}
  ## @param worker.customReadinessProbe Custom readinessProbe that overrides the default one
  ##
  customReadinessProbe: {}
  ## @param worker.customStartupProbe Custom startupProbe that overrides the default one
  ##
  customStartupProbe: {}
  ## novu worker resource requests and limits
  ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
  ## @param worker.resources.limits The resources limits for the novu worker containers
  ## @param worker.resources.requests The requested resources for the novu worker containers
  ##
  resources:
    limits: {}
    requests: {}
  ## Configure Pods Security Context
  ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
  ## @param worker.podSecurityContext.enabled Enabled novu worker pods' Security Context
  ## @param worker.podSecurityContext.fsGroup Set novu worker pod's Security Context fsGroup
  ##
  podSecurityContext:
    enabled: false
    fsGroup: 1001
  ## Configure Container Security Context
  ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
  ## @param worker.containerSecurityContext.enabled Enabled novu worker containers' Security Context
  ## @param worker.containerSecurityContext.runAsUser Set novu worker containers' Security Context runAsUser
  ## @param worker.containerSecurityContext.runAsNonRoot Set novu worker containers' Security Context runAsNonRoot
  ## @param worker.containerSecurityContext.readOnlyRootFilesystem Set novu worker containers' Security Context runAsNonRoot
  ##
  containerSecurityContext:
    enabled: false
    runAsUser: 1001
    runAsNonRoot: true
    readOnlyRootFilesystem: false

  ## @param worker.existingConfigmap The name of an existing ConfigMap with your custom configuration for novu worker
  ##
  existingConfigmap:
  ## @param worker.command Override default container command (useful when using custom images)
  ##
  command: []
  ## @param worker.args Override default container args (useful when using custom images)
  ##
  args: []
  ## @param worker.hostAliases novu worker pods host aliases
  ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
  ##
  hostAliases: []
  ## @param worker.podLabels Extra labels for novu worker pods
  ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
  ##
  podLabels: {}
  ## @param worker.podAnnotations Annotations for novu worker pods
  ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
  ##
  podAnnotations: {}
  ## @param worker.podAffinityPreset Pod affinity preset. Ignored if `worker.affinity` is set. Allowed values: `soft` or `hard`
  ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
  ##
  podAffinityPreset: ''
  ## @param worker.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `worker.affinity` is set. Allowed values: `soft` or `hard`
  ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
  ##
  podAntiAffinityPreset: soft
  ## Pod Disruption Budget configuration
  ## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
  ## @param worker.pdb.create Enable/disable a Pod Disruption Budget creation
  ## @param worker.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
  ## @param worker.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
  ##
  pdb:
    create: false
    minAvailable: 1
    maxUnavailable: ''
  ## Autoscaling configuration
  ## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
  ## @param worker.autoscaling.enabled Enable autoscaling for worker
  ## @param worker.autoscaling.minReplicas Minimum number of worker replicas
  ## @param worker.autoscaling.maxReplicas Maximum number of worker replicas
  ## @param worker.autoscaling.targetCPU Target CPU utilization percentage
  ## @param worker.autoscaling.targetMemory Target Memory utilization percentage
  ##
  autoscaling:
    enabled: false
    minReplicas: ''
    maxReplicas: ''
    targetCPU: ''
    targetMemory: ''
  ## Node worker.affinity preset
  ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
  ##
  nodeAffinityPreset:
    ## @param worker.nodeAffinityPreset.type Node affinity preset type. Ignored if `worker.affinity` is set. Allowed values: `soft` or `hard`
    ##
    type: ''
    ## @param worker.nodeAffinityPreset.key Node label key to match. Ignored if `worker.affinity` is set
    ##
    key: ''
    ## @param worker.nodeAffinityPreset.values Node label values to match. Ignored if `worker.affinity` is set
    ## E.g.
    ## values:
    ##   - e2e-az1
    ##   - e2e-az2
    ##
    values: []
  ## @param worker.affinity Affinity for novu worker pods assignment
  ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
  ## NOTE: `worker.podAffinityPreset`, `worker.podAntiAffinityPreset`, and `worker.nodeAffinityPreset` will be ignored when it's set
  ##
  affinity: {}
  ## @param worker.nodeSelector Node labels for novu worker pods assignment
  ## ref: https://kubernetes.io/docs/user-guide/node-selection/
  ##
  nodeSelector: {}
  ## @param worker.tolerations Tolerations for novu worker pods assignment
  ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
  ##
  tolerations: []
  ## @param worker.updateStrategy.type novu worker statefulset strategy type
  ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
  ##
  updateStrategy:
    ## StrategyType
    ## Can be set to RollingUpdate or OnDelete
    ##
    type: RollingUpdate

  ## ONLY FOR STATEFULSETS
  ## @param worker.podManagementPolicy Statefulset Pod management policy, it needs to be Parallel to be able to complete the cluster join
  ## Ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
  ##
  podManagementPolicy: OrderedReady

  ## @param worker.priorityClassName novu worker pods' priorityClassName
  ##
  priorityClassName: ''
  ## @param worker.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
  ## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
  ##
  topologySpreadConstraints: []
  ## @param worker.schedulerName Name of the k8s scheduler (other than default) for novu worker pods
  ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
  ##
  schedulerName: ''
  ## @param worker.terminationGracePeriodSeconds Seconds Redmine pod needs to terminate gracefully
  ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
  ##
  terminationGracePeriodSeconds: ''
  ## @param worker.lifecycleHooks for the novu worker container(s) to automate configuration before or after startup
  ##
  lifecycleHooks: {}
  ## @param worker.extraEnvVars Array with extra environment variables to add to novu worker nodes
  ## e.g:
  ## extraEnvVars:
  ##   - name: FOO
  ##     value: "bar"
  ##
  extraEnvVars: []
  ## @param worker.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for novu worker nodes
  ##
  extraEnvVarsCM: ''
  ## @param worker.extraEnvVarsSecret Name of existing Secret containing extra env vars for novu worker nodes
  ##
  extraEnvVarsSecret: ''
  ## @param worker.extraVolumes Optionally specify extra list of additional volumes for the novu worker pod(s)
  ##
  extraVolumes: []
  ## @param worker.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the novu worker container(s)
  ##
  extraVolumeMounts: []
  ## @param worker.sidecars Add additional sidecar containers to the novu worker pod(s)
  ## e.g:
  ## sidecars:
  ##   - name: your-image-name
  ##     image: your-image
  ##     imagePullPolicy: Always
  ##     ports:
  ##       - name: portname
  ##         containerPort: 1234
  ##
  sidecars: []
  ## @param worker.initContainers Add additional init containers to the novu worker pod(s)
  ## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
  ## e.g:
  ## initContainers:
  ##  - name: your-image-name
  ##    image: your-image
  ##    imagePullPolicy: Always
  ##    command: ['sh', '-c', 'echo "hello world"']
  ##
  initContainers: []

  service:
    ## @param worker.service.annotations Additional custom annotations for worker service
    ##
    annotations: {}
    ## @param worker.service.extraPorts Extra port to expose on worker service
    ##
    extraPorts: []

  ## @param worker.port The port on which the Worker app should listen on
  ##
  port: 3004

## @section Novu Websocket Parameters
##
ws:
  ## Novu image
  ## ref: https://github.com/orgs/novuhq/packages
  ## @param ws.image.registry Novu image registry
  ## @param ws.image.repository Novu image repository
  ## @param ws.image.tag Novu image tag (immutable tags are recommended)
  ## @param ws.image.digest Novu image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag image tag (immutable tags are recommended)
  ## @param ws.image.pullPolicy Novu image pull policy
  ## @param ws.image.pullSecrets Novu image pull secrets
  ## @param ws.image.debug Enable Novu image debug mode
  ##
  image:
    registry: ghcr.io
    repository: novuhq/novu/ws
    tag: 0.15.0
    digest: ''
    ## Specify a imagePullPolicy
    ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
    ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
    ##
    pullPolicy: IfNotPresent
    ## Optionally specify an array of imagePullSecrets.
    ## Secrets must be manually created in the namespace.
    ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
    ## e.g:
    ## pullSecrets:
    ##   - myRegistryKeySecretName
    ##
    pullSecrets: []
    ## Enable debug mode
    ##
    debug: false
  ## @param ws.replicaCount Number of novu ws replicas to deploy
  ##
  replicaCount: 1
  ## @param ws.containerPorts.http novu ws HTTP container port
  ## @param ws.containerPorts.https novu ws HTTPS container port
  ##
  containerPorts:
    http: 80
    https: 443
  ## Configure extra options for novu ws containers' liveness and readiness probes
  ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
  ## @param ws.livenessProbe.enabled Enable livenessProbe on novu ws containers
  ## @param ws.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
  ## @param ws.livenessProbe.periodSeconds Period seconds for livenessProbe
  ## @param ws.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
  ## @param ws.livenessProbe.failureThreshold Failure threshold for livenessProbe
  ## @param ws.livenessProbe.successThreshold Success threshold for livenessProbe
  ##
  livenessProbe:
    enabled: true
    initialDelaySeconds: 30
    periodSeconds: 10
    timeoutSeconds: 5
    failureThreshold: 6
    successThreshold: 1
  ## @param ws.readinessProbe.enabled Enable readinessProbe on novu ws containers
  ## @param ws.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
  ## @param ws.readinessProbe.periodSeconds Period seconds for readinessProbe
  ## @param ws.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
  ## @param ws.readinessProbe.failureThreshold Failure threshold for readinessProbe
  ## @param ws.readinessProbe.successThreshold Success threshold for readinessProbe
  ##
  readinessProbe:
    enabled: true
    initialDelaySeconds: 30
    periodSeconds: 10
    timeoutSeconds: 5
    failureThreshold: 6
    successThreshold: 1
  ## @param ws.startupProbe.enabled Enable startupProbe on novu ws containers
  ## @param ws.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
  ## @param ws.startupProbe.periodSeconds Period seconds for startupProbe
  ## @param ws.startupProbe.timeoutSeconds Timeout seconds for startupProbe
  ## @param ws.startupProbe.failureThreshold Failure threshold for startupProbe
  ## @param ws.startupProbe.successThreshold Success threshold for startupProbe
  ##
  startupProbe:
    enabled: false
    initialDelaySeconds: 30
    periodSeconds: 10
    timeoutSeconds: 5
    failureThreshold: 6
    successThreshold: 1
  ## @param ws.customLivenessProbe Custom livenessProbe that overrides the default one
  ##
  customLivenessProbe: {}
  ## @param ws.customReadinessProbe Custom readinessProbe that overrides the default one
  ##
  customReadinessProbe: {}
  ## @param ws.customStartupProbe Custom startupProbe that overrides the default one
  ##
  customStartupProbe: {}
  ## novu ws resource requests and limits
  ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
  ## @param ws.resources.limits The resources limits for the novu ws containers
  ## @param ws.resources.requests The requested resources for the novu ws containers
  ##
  resources:
    limits: {}
    requests: {}
  ## Configure Pods Security Context
  ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
  ## @param ws.podSecurityContext.enabled Enabled novu ws pods' Security Context
  ## @param ws.podSecurityContext.fsGroup Set novu ws pod's Security Context fsGroup
  ##
  podSecurityContext:
    enabled: false
    fsGroup: 1001
  ## Configure Container Security Context
  ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
  ## @param ws.containerSecurityContext.enabled Enabled novu ws containers' Security Context
  ## @param ws.containerSecurityContext.runAsUser Set novu ws containers' Security Context runAsUser
  ## @param ws.containerSecurityContext.runAsNonRoot Set novu ws containers' Security Context runAsNonRoot
  ## @param ws.containerSecurityContext.readOnlyRootFilesystem Set novu ws containers' Security Context runAsNonRoot
  ##
  containerSecurityContext:
    enabled: false
    runAsUser: 1001
    runAsNonRoot: true
    readOnlyRootFilesystem: false

  ## @param ws.existingConfigmap The name of an existing ConfigMap with your custom configuration for novu ws
  ##
  existingConfigmap:
  ## @param ws.command Override default container command (useful when using custom images)
  ##
  command: []
  ## @param ws.args Override default container args (useful when using custom images)
  ##
  args: []
  ## @param ws.hostAliases novu ws pods host aliases
  ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
  ##
  hostAliases: []
  ## @param ws.podLabels Extra labels for novu ws pods
  ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
  ##
  podLabels: {}
  ## @param ws.podAnnotations Annotations for novu ws pods
  ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
  ##
  podAnnotations: {}
  ## @param ws.podAffinityPreset Pod affinity preset. Ignored if `ws.affinity` is set. Allowed values: `soft` or `hard`
  ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
  ##
  podAffinityPreset: ''
  ## @param ws.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `ws.affinity` is set. Allowed values: `soft` or `hard`
  ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
  ##
  podAntiAffinityPreset: soft
  ## Pod Disruption Budget configuration
  ## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
  ## @param ws.pdb.create Enable/disable a Pod Disruption Budget creation
  ## @param ws.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
  ## @param ws.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
  ##
  pdb:
    create: false
    minAvailable: 1
    maxUnavailable: ''
  ## Autoscaling configuration
  ## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
  ## @param ws.autoscaling.enabled Enable autoscaling for ws
  ## @param ws.autoscaling.minReplicas Minimum number of ws replicas
  ## @param ws.autoscaling.maxReplicas Maximum number of ws replicas
  ## @param ws.autoscaling.targetCPU Target CPU utilization percentage
  ## @param ws.autoscaling.targetMemory Target Memory utilization percentage
  ##
  autoscaling:
    enabled: false
    minReplicas: ''
    maxReplicas: ''
    targetCPU: ''
    targetMemory: ''
  ## Node ws.affinity preset
  ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
  ##
  nodeAffinityPreset:
    ## @param ws.nodeAffinityPreset.type Node affinity preset type. Ignored if `ws.affinity` is set. Allowed values: `soft` or `hard`
    ##
    type: ''
    ## @param ws.nodeAffinityPreset.key Node label key to match. Ignored if `ws.affinity` is set
    ##
    key: ''
    ## @param ws.nodeAffinityPreset.values Node label values to match. Ignored if `ws.affinity` is set
    ## E.g.
    ## values:
    ##   - e2e-az1
    ##   - e2e-az2
    ##
    values: []
  ## @param ws.affinity Affinity for novu ws pods assignment
  ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
  ## NOTE: `ws.podAffinityPreset`, `ws.podAntiAffinityPreset`, and `ws.nodeAffinityPreset` will be ignored when it's set
  ##
  affinity: {}
  ## @param ws.nodeSelector Node labels for novu ws pods assignment
  ## ref: https://kubernetes.io/docs/user-guide/node-selection/
  ##
  nodeSelector: {}
  ## @param ws.tolerations Tolerations for novu ws pods assignment
  ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
  ##
  tolerations: []
  ## @param ws.updateStrategy.type novu ws statefulset strategy type
  ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
  ##
  updateStrategy:
    ## StrategyType
    ## Can be set to RollingUpdate or OnDelete
    ##
    type: RollingUpdate

  ## ONLY FOR STATEFULSETS
  ## @param ws.podManagementPolicy Statefulset Pod management policy, it needs to be Parallel to be able to complete the cluster join
  ## Ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
  ##
  podManagementPolicy: OrderedReady

  ## @param ws.priorityClassName novu ws pods' priorityClassName
  ##
  priorityClassName: ''
  ## @param ws.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
  ## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
  ##
  topologySpreadConstraints: []
  ## @param ws.schedulerName Name of the k8s scheduler (other than default) for novu ws pods
  ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
  ##
  schedulerName: ''
  ## @param ws.terminationGracePeriodSeconds Seconds Redmine pod needs to terminate gracefully
  ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
  ##
  terminationGracePeriodSeconds: ''
  ## @param ws.lifecycleHooks for the novu ws container(s) to automate configuration before or after startup
  ##
  lifecycleHooks: {}
  ## @param ws.extraEnvVars Array with extra environment variables to add to novu ws nodes
  ## e.g:
  ## extraEnvVars:
  ##   - name: FOO
  ##     value: "bar"
  ##
  extraEnvVars: []
  ## @param ws.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for novu ws nodes
  ##
  extraEnvVarsCM: ''
  ## @param ws.extraEnvVarsSecret Name of existing Secret containing extra env vars for novu ws nodes
  ##
  extraEnvVarsSecret: ''
  ## @param ws.extraVolumes Optionally specify extra list of additional volumes for the novu ws pod(s)
  ##
  extraVolumes: []
  ## @param ws.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the novu ws container(s)
  ##
  extraVolumeMounts: []
  ## @param ws.sidecars Add additional sidecar containers to the novu ws pod(s)
  ## e.g:
  ## sidecars:
  ##   - name: your-image-name
  ##     image: your-image
  ##     imagePullPolicy: Always
  ##     ports:
  ##       - name: portname
  ##         containerPort: 1234
  ##
  sidecars: []
  ## @param ws.initContainers Add additional init containers to the novu ws pod(s)
  ## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
  ## e.g:
  ## initContainers:
  ##  - name: your-image-name
  ##    image: your-image
  ##    imagePullPolicy: Always
  ##    command: ['sh', '-c', 'echo "hello world"']
  ##
  initContainers: []

  service:
    ## @param ws.service.annotations Additional custom annotations for ws service
    ##
    annotations: {}
    ## @param ws.service.extraPorts Extra port to expose on ws service
    ##
    extraPorts: []

  ## novu ws ingress parameters
  ## ref: http://kubernetes.io/docs/user-guide/ingress/
  ##
  ingress:
    ## @param ws.ingress.enabled Enable ingress record generation for novu api
    ##
    enabled: false
    ## @param ws.ingress.pathType Ingress path type
    ##
    pathType: ImplementationSpecific
    ## @param ws.ingress.apiVersion Force Ingress API version (automatically detected if not set)
    ##
    apiVersion: ''
    ## @param ws.ingress.hostname Default host for the ingress record
    ##
    hostname: novu-ws.local
    ## @param ws.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
    ## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
    ## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
    ##
    ingressClassName: ''
    ## @param ws.ingress.path Default path for the ingress record
    ## NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers
    ##
    path: /
    ## @param ws.ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
    ## Use this parameter to set the required annotations for cert-manager, see
    ## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
    ## e.g:
    ## annotations:
    ##   kubernetes.io/ws.ingress.class: nginx
    ##   cert-manager.io/cluster-issuer: cluster-issuer-name
    ##
    annotations: {}
    ## @param ws.ingress.tls Enable TLS configuration for the host defined at `ws.ingress.hostname` parameter
    ## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.ws.ingress.hostname }}`
    ## You can:
    ##   - Use the `ws.ingress.secrets` parameter to create this TLS secret
    ##   - Rely on cert-manager to create it by setting the corresponding annotations
    ##   - Rely on Helm to create self-signed certificates by setting `ws.ingress.selfSigned=true`
    ##
    tls: false
    ## @param ws.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
    ##
    selfSigned: false
    ## @param ws.ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record
    ## e.g:
    ## extraHosts:
    ##   - name: novu.local
    ##     path: /
    ##
    extraHosts: []
    ## @param ws.ingress.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host
    ## e.g:
    ## extraPaths:
    ## - path: /*
    ##   backend:
    ##     serviceName: ssl-redirect
    ##     servicePort: use-annotation
    ##
    extraPaths: []
    ## @param ws.ingress.extraTls TLS configuration for additional hostname(s) to be covered with this ingress record
    ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
    ## e.g:
    ## extraTls:
    ## - hosts:
    ##     - novu.local
    ##   secretName: novu.local-tls
    ##
    extraTls: []
    ## @param ws.ingress.secrets Custom TLS certificates as secrets
    ## NOTE: 'key' and 'certificate' are expected in PEM format
    ## NOTE: 'name' should line up with a 'secretName' set further up
    ## If it is not set and you're using cert-manager, this is unneeded, as it will create a secret for you with valid certificates
    ## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days
    ## It is also possible to create and manage the certificates outside of this helm chart
    ## Please see README.md for more information
    ## e.g:
    ## secrets:
    ##   - name: novu.local-tls
    ##     key: |-
    ##       -----BEGIN RSA PRIVATE KEY-----
    ##       ...
    ##       -----END RSA PRIVATE KEY-----
    ##     certificate: |-
    ##       -----BEGIN CERTIFICATE-----
    ##       ...
    ##       -----END CERTIFICATE-----
    ##
    secrets: []
    ## @param ws.ingress.extraRules Additional rules to be covered with this ingress record
    ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
    ## e.g:
    ## extraRules:
    ## - host: example.local
    ##     http:
    ##       path: /
    ##       backend:
    ##         service:
    ##           name: example-svc
    ##           port:
    ##             name: http
    ##
    extraRules: []

  ## @param ws.port The port on which the Websocket app should listen on
  ##
  port: 3002

## @section Novu Web Parameters
##
web:
  ## Novu image
  ## ref: https://github.com/orgs/novuhq/packages
  ## @param web.image.registry Novu image registry
  ## @param web.image.repository Novu image repository
  ## @param web.image.tag Novu image tag (immutable tags are recommended)
  ## @param web.image.digest Novu image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag image tag (immutable tags are recommended)
  ## @param web.image.pullPolicy Novu image pull policy
  ## @param web.image.pullSecrets Novu image pull secrets
  ## @param web.image.debug Enable Novu image debug mode
  ##
  image:
    registry: ghcr.io
    repository: novuhq/novu/web
    tag: 0.15.0
    digest: ''
    ## Specify a imagePullPolicy
    ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
    ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
    ##
    pullPolicy: IfNotPresent
    ## Optionally specify an array of imagePullSecrets.
    ## Secrets must be manually created in the namespace.
    ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
    ## e.g:
    ## pullSecrets:
    ##   - myRegistryKeySecretName
    ##
    pullSecrets: []
    ## Enable debug mode
    ##
    debug: false
  ## @param web.replicaCount Number of novu web replicas to deploy
  ##
  replicaCount: 1
  ## Configure extra options for novu web containers' liveness and readiness probes
  ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
  ## @param web.livenessProbe.enabled Enable livenessProbe on novu web containers
  ## @param web.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
  ## @param web.livenessProbe.periodSeconds Period seconds for livenessProbe
  ## @param web.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
  ## @param web.livenessProbe.failureThreshold Failure threshold for livenessProbe
  ## @param web.livenessProbe.successThreshold Success threshold for livenessProbe
  ##
  livenessProbe:
    enabled: true
    initialDelaySeconds: 30
    periodSeconds: 10
    timeoutSeconds: 5
    failureThreshold: 6
    successThreshold: 1
  ## @param web.readinessProbe.enabled Enable readinessProbe on novu web containers
  ## @param web.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
  ## @param web.readinessProbe.periodSeconds Period seconds for readinessProbe
  ## @param web.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
  ## @param web.readinessProbe.failureThreshold Failure threshold for readinessProbe
  ## @param web.readinessProbe.successThreshold Success threshold for readinessProbe
  ##
  readinessProbe:
    enabled: true
    initialDelaySeconds: 30
    periodSeconds: 10
    timeoutSeconds: 5
    failureThreshold: 6
    successThreshold: 1
  ## @param web.startupProbe.enabled Enable startupProbe on novu web containers
  ## @param web.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
  ## @param web.startupProbe.periodSeconds Period seconds for startupProbe
  ## @param web.startupProbe.timeoutSeconds Timeout seconds for startupProbe
  ## @param web.startupProbe.failureThreshold Failure threshold for startupProbe
  ## @param web.startupProbe.successThreshold Success threshold for startupProbe
  ##
  startupProbe:
    enabled: false
    initialDelaySeconds: 30
    periodSeconds: 10
    timeoutSeconds: 5
    failureThreshold: 6
    successThreshold: 1
  ## @param web.customLivenessProbe Custom livenessProbe that overrides the default one
  ##
  customLivenessProbe: {}
  ## @param web.customReadinessProbe Custom readinessProbe that overrides the default one
  ##
  customReadinessProbe: {}
  ## @param web.customStartupProbe Custom startupProbe that overrides the default one
  ##
  customStartupProbe: {}
  ## novu web resource requests and limits
  ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
  ## @param web.resources.limits The resources limits for the novu web containers
  ## @param web.resources.requests The requested resources for the novu web containers
  ##
  resources:
    limits: {}
    requests: {}
  ## Configure Pods Security Context
  ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
  ## @param web.podSecurityContext.enabled Enabled novu web pods' Security Context
  ## @param web.podSecurityContext.fsGroup Set novu web pod's Security Context fsGroup
  ##
  podSecurityContext:
    enabled: false
    fsGroup: 1001
  ## Configure Container Security Context
  ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
  ## @param web.containerSecurityContext.enabled Enabled novu web containers' Security Context
  ## @param web.containerSecurityContext.runAsUser Set novu web containers' Security Context runAsUser
  ## @param web.containerSecurityContext.runAsNonRoot Set novu web containers' Security Context runAsNonRoot
  ## @param web.containerSecurityContext.readOnlyRootFilesystem Set novu web containers' Security Context runAsNonRoot
  ##
  containerSecurityContext:
    enabled: false
    runAsUser: 1001
    runAsNonRoot: true
    readOnlyRootFilesystem: false

  ## @param web.existingConfigmap The name of an existing ConfigMap with your custom configuration for novu web
  ##
  existingConfigmap:
  ## @param web.command Override default container command (useful when using custom images)
  ##
  command: []
  ## @param web.args Override default container args (useful when using custom images)
  ##
  args: []
  ## @param web.hostAliases novu web pods host aliases
  ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
  ##
  hostAliases: []
  ## @param web.podLabels Extra labels for novu web pods
  ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
  ##
  podLabels: {}
  ## @param web.podAnnotations Annotations for novu web pods
  ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
  ##
  podAnnotations: {}
  ## @param web.podAffinityPreset Pod affinity preset. Ignored if `web.affinity` is set. Allowed values: `soft` or `hard`
  ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
  ##
  podAffinityPreset: ''
  ## @param web.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `web.affinity` is set. Allowed values: `soft` or `hard`
  ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
  ##
  podAntiAffinityPreset: soft
  ## Pod Disruption Budget configuration
  ## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
  ## @param web.pdb.create Enable/disable a Pod Disruption Budget creation
  ## @param web.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
  ## @param web.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
  ##
  pdb:
    create: false
    minAvailable: 1
    maxUnavailable: ''
  ## Autoscaling configuration
  ## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
  ## @param web.autoscaling.enabled Enable autoscaling for web
  ## @param web.autoscaling.minReplicas Minimum number of web replicas
  ## @param web.autoscaling.maxReplicas Maximum number of web replicas
  ## @param web.autoscaling.targetCPU Target CPU utilization percentage
  ## @param web.autoscaling.targetMemory Target Memory utilization percentage
  ##
  autoscaling:
    enabled: false
    minReplicas: ''
    maxReplicas: ''
    targetCPU: ''
    targetMemory: ''
  ## Node web.affinity preset
  ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
  ##
  nodeAffinityPreset:
    ## @param web.nodeAffinityPreset.type Node affinity preset type. Ignored if `web.affinity` is set. Allowed values: `soft` or `hard`
    ##
    type: ''
    ## @param web.nodeAffinityPreset.key Node label key to match. Ignored if `web.affinity` is set
    ##
    key: ''
    ## @param web.nodeAffinityPreset.values Node label values to match. Ignored if `web.affinity` is set
    ## E.g.
    ## values:
    ##   - e2e-az1
    ##   - e2e-az2
    ##
    values: []
  ## @param web.affinity Affinity for novu web pods assignment
  ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
  ## NOTE: `web.podAffinityPreset`, `web.podAntiAffinityPreset`, and `web.nodeAffinityPreset` will be ignored when it's set
  ##
  affinity: {}
  ## @param web.nodeSelector Node labels for novu web pods assignment
  ## ref: https://kubernetes.io/docs/user-guide/node-selection/
  ##
  nodeSelector: {}
  ## @param web.tolerations Tolerations for novu web pods assignment
  ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
  ##
  tolerations: []
  ## @param web.updateStrategy.type novu web statefulset strategy type
  ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
  ##
  updateStrategy:
    ## StrategyType
    ## Can be set to RollingUpdate or OnDelete
    ##
    type: RollingUpdate

  ## ONLY FOR STATEFULSETS
  ## @param web.podManagementPolicy Statefulset Pod management policy, it needs to be Parallel to be able to complete the cluster join
  ## Ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
  ##
  podManagementPolicy: OrderedReady

  ## @param web.priorityClassName novu web pods' priorityClassName
  ##
  priorityClassName: ''
  ## @param web.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
  ## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
  ##
  topologySpreadConstraints: []
  ## @param web.schedulerName Name of the k8s scheduler (other than default) for novu web pods
  ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
  ##
  schedulerName: ''
  ## @param web.terminationGracePeriodSeconds Seconds Redmine pod needs to terminate gracefully
  ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
  ##
  terminationGracePeriodSeconds: ''
  ## @param web.lifecycleHooks for the novu web container(s) to automate configuration before or after startup
  ##
  lifecycleHooks: {}
  ## @param web.extraEnvVars Array with extra environment variables to add to novu web nodes
  ## e.g:
  ## extraEnvVars:
  ##   - name: FOO
  ##     value: "bar"
  ##
  extraEnvVars: []
  ## @param web.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for novu web nodes
  ##
  extraEnvVarsCM: ''
  ## @param web.extraEnvVarsSecret Name of existing Secret containing extra env vars for novu web nodes
  ##
  extraEnvVarsSecret: ''
  ## @param web.extraVolumes Optionally specify extra list of additional volumes for the novu web pod(s)
  ##
  extraVolumes: []
  ## @param web.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the novu web container(s)
  ##
  extraVolumeMounts: []
  ## @param web.sidecars Add additional sidecar containers to the novu web pod(s)
  ## e.g:
  ## sidecars:
  ##   - name: your-image-name
  ##     image: your-image
  ##     imagePullPolicy: Always
  ##     ports:
  ##       - name: portname
  ##         containerPort: 1234
  ##
  sidecars: []
  ## @param web.initContainers Add additional init containers to the novu web pod(s)
  ## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
  ## e.g:
  ## initContainers:
  ##  - name: your-image-name
  ##    image: your-image
  ##    imagePullPolicy: Always
  ##    command: ['sh', '-c', 'echo "hello world"']
  ##
  initContainers: []

  service:
    ## @param web.service.annotations Additional custom annotations for web service
    ##
    annotations: {}
    ## @param web.service.extraPorts Extra port to expose on web service
    ##
    extraPorts: []

  ## novu web ingress parameters
  ## ref: http://kubernetes.io/docs/user-guide/ingress/
  ##
  ingress:
    ## @param web.ingress.enabled Enable ingress record generation for novu api
    ##
    enabled: false
    ## @param web.ingress.pathType Ingress path type
    ##
    pathType: ImplementationSpecific
    ## @param web.ingress.apiVersion Force Ingress API version (automatically detected if not set)
    ##
    apiVersion: ''
    ## @param web.ingress.hostname Default host for the ingress record
    ##
    hostname: novu-web.local
    ## @param web.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
    ## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
    ## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
    ##
    ingressClassName: ''
    ## @param web.ingress.path Default path for the ingress record
    ## NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers
    ##
    path: /
    ## @param web.ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
    ## Use this parameter to set the required annotations for cert-manager, see
    ## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
    ## e.g:
    ## annotations:
    ##   kubernetes.io/web.ingress.class: nginx
    ##   cert-manager.io/cluster-issuer: cluster-issuer-name
    ##
    annotations: {}
    ## @param web.ingress.tls Enable TLS configuration for the host defined at `web.ingress.hostname` parameter
    ## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.web.ingress.hostname }}`
    ## You can:
    ##   - Use the `web.ingress.secrets` parameter to create this TLS secret
    ##   - Rely on cert-manager to create it by setting the corresponding annotations
    ##   - Rely on Helm to create self-signed certificates by setting `web.ingress.selfSigned=true`
    ##
    tls: false
    ## @param web.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
    ##
    selfSigned: false
    ## @param web.ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record
    ## e.g:
    ## extraHosts:
    ##   - name: novu.local
    ##     path: /
    ##
    extraHosts: []
    ## @param web.ingress.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host
    ## e.g:
    ## extraPaths:
    ## - path: /*
    ##   backend:
    ##     serviceName: ssl-redirect
    ##     servicePort: use-annotation
    ##
    extraPaths: []
    ## @param web.ingress.extraTls TLS configuration for additional hostname(s) to be covered with this ingress record
    ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
    ## e.g:
    ## extraTls:
    ## - hosts:
    ##     - novu.local
    ##   secretName: novu.local-tls
    ##
    extraTls: []
    ## @param web.ingress.secrets Custom TLS certificates as secrets
    ## NOTE: 'key' and 'certificate' are expected in PEM format
    ## NOTE: 'name' should line up with a 'secretName' set further up
    ## If it is not set and you're using cert-manager, this is unneeded, as it will create a secret for you with valid certificates
    ## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days
    ## It is also possible to create and manage the certificates outside of this helm chart
    ## Please see README.md for more information
    ## e.g:
    ## secrets:
    ##   - name: novu.local-tls
    ##     key: |-
    ##       -----BEGIN RSA PRIVATE KEY-----
    ##       ...
    ##       -----END RSA PRIVATE KEY-----
    ##     certificate: |-
    ##       -----BEGIN CERTIFICATE-----
    ##       ...
    ##       -----END CERTIFICATE-----
    ##
    secrets: []
    ## @param web.ingress.extraRules Additional rules to be covered with this ingress record
    ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
    ## e.g:
    ## extraRules:
    ## - host: example.local
    ##     http:
    ##       path: /
    ##       backend:
    ##         service:
    ##           name: example-svc
    ##           port:
    ##             name: http
    ##
    extraRules: []

  ## @param web.port The port on which the Web app should listen on
  ##
  port: 4200

  env:
    ## @param web.env.NODE_ENV The environment of the app.
    ##
    NODE_ENV: production

  ## @param web.apiExternalEndpoint The external endpoint of the API
  ##
  apiExternalEndpoint: http://localhost:3000

  ## @param web.wsExternalEndpoint The external websocket endpoint of the API
  wsExternalEndpoint: ws://localhost:3002

## @section Persistence Parameters
##

## Enable persistence using Persistent Volume Claims
## ref: https://kubernetes.io/docs/user-guide/persistent-volumes/
##
persistence:
  ## @param persistence.enabled Enable persistence using Persistent Volume Claims
  ##
  enabled: true
  ## @param persistence.mountPath Path to mount the volume at.
  ##
  mountPath: /novu/data
  ## @param persistence.subPath The subdirectory of the volume to mount to, useful in dev environments and one PV for multiple services
  ##
  subPath: ''
  ## @param persistence.storageClass Storage class of backing PVC
  ## If defined, storageClassName: <storageClass>
  ## If set to "-", storageClassName: "", which disables dynamic provisioning
  ## If undefined (the default) or set to null, no storageClassName spec is
  ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
  ##   GKE, AWS & OpenStack)
  ##
  storageClass: ''
  ## @param persistence.annotations Persistent Volume Claim annotations
  ##
  annotations: {}
  ## @param persistence.accessModes Persistent Volume Access Modes
  ##
  accessModes:
    - ReadWriteOnce
  ## @param persistence.size Size of data volume
  ##
  size: 8Gi
  ## @param persistence.existingClaim The name of an existing PVC to use for persistence
  ##
  existingClaim: ''
  ## @param persistence.selector Selector to match an existing Persistent Volume for WordPress data PVC
  ## If set, the PVC can't have a PV dynamically provisioned for it
  ## E.g.
  ## selector:
  ##   matchLabels:
  ##     app: my-app
  ##
  selector: {}
  ## @param persistence.dataSource Custom PVC data source
  ##
  dataSource: {}

## ServiceAccount configuration
##
serviceAccount:
  ## @param serviceAccount.create Specifies whether a ServiceAccount should be created
  ##
  create: true
  ## @param serviceAccount.name The name of the ServiceAccount to use.
  ## If not set and create is true, a name is generated using the common.names.fullname template
  ##
  name: ''
  ## @param serviceAccount.annotations Additional Service Account annotations (evaluated as a template)
  ##
  annotations: {}
  ## @param serviceAccount.automountServiceAccountToken Automount service account token for the server service account
  ##
  automountServiceAccountToken: true

## Prometheus metrics
##
metrics:
  ## @param metrics.enabled Enable the export of Prometheus metrics
  ##
  enabled: false
  ## Prometheus Operator ServiceMonitor configuration
  ##
  serviceMonitor:
    ## @param metrics.serviceMonitor.enabled if `true`, creates a Prometheus Operator ServiceMonitor (also requires `metrics.enabled` to be `true`)
    ##
    enabled: false
    ## @param metrics.serviceMonitor.namespace Namespace in which Prometheus is running
    ##
    namespace: ''
    ## @param metrics.serviceMonitor.annotations Additional custom annotations for the ServiceMonitor
    ##
    annotations: {}
    ## @param metrics.serviceMonitor.labels Extra labels for the ServiceMonitor
    ##
    labels: {}
    ## @param metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in Prometheus
    ##
    jobLabel: ''
    ## @param metrics.serviceMonitor.honorLabels honorLabels chooses the metric's labels on collisions with target labels
    ##
    honorLabels: false
    ## @param metrics.serviceMonitor.interval Interval at which metrics should be scraped.
    ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
    ## e.g:
    ## interval: 10s
    ##
    interval: ''
    ## @param metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
    ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
    ## e.g:
    ## scrapeTimeout: 10s
    ##
    scrapeTimeout: ''
    ## @param metrics.serviceMonitor.metricRelabelings Specify additional relabeling of metrics
    ##
    metricRelabelings: []
    ## @param metrics.serviceMonitor.relabelings Specify general relabeling
    ##
    relabelings: []
    ## @param metrics.serviceMonitor.selector Prometheus instance selector labels
    ## ref: https://github.com/bitnami/charts/tree/main/bitnami/prometheus-operator#prometheus-configuration
    ## selector:
    ##   prometheus: my-prometheus
    ##
    selector: {}

##@section Secrets definition
##
jwt:
  ## @param jwt.secret The secret keybase which is used to encrypt / verify the tokens issued for authentication
  ## Please change this for production use !
  ##
  secret: your-secret

store:
  ## @param store.encryption-key The encryption key used to encrypt/decrypt provider credentials
  ## Please change this for production use !
  ##
  encryption-key: ekwUKf9yLjGPLOz939Y1GM0nJckVoVyF # you need to change this !

## @section Mongodb configuration
##

## @param mongodb.enabled Switch to enable or disable the MongoDB helm chart
## @param mongodb.auth.enabled Enable auth for mongodb database
## @param mongodb.auth.usernames Array of Name for custom users to create
## @param mongodb.auth.passwords Array of Password for custom users to create
## @param mongodb.auth.databases  Array of Name for custom databases to create
## @param mongodb.architecture mongodb architecture (`standalone` or `replication`)
## ref : https://docs.bitnami.com/kubernetes/infrastructure/mongodb/get-started/understand-architecture/
mongodb:
  enabled: false
  architecture: standalone
  auth:
    enabled: true
    usernames:
      - novu_user
    passwords:
      - novu_password # you need to change this !
    databases:
      - novu_db

## @section Redis configuration
##

## @param redis.enabled Switch to enable or disable the redis helm chart
## ref : https://docs.bitnami.com/kubernetes/infrastructure/mongodb/get-started/understand-architecture/
## @param redis.auth.enabled Enable auth for redis database
## @param redis.auth.password password for redis database
## @param redis.architecture redis architecture (`standalone` or `replication`)
## refhttps://docs.bitnami.com/kubernetes/infrastructure/redis/get-started/understand-cluster-topologies/
redis:
  enabled: false
  architecture: standalone
  auth:
    enabled: true
    password: novu_password # you need to change this !

## @section Localstack (S3) configuration
##

## @param localstack.enabled Switch to enable or disable the localstack helm chart
## @param localstack.startServices List of comma separated services to start in the localstack
## @param localstack.image.tag the version of localstack docker image to use
localstack:
  enabled: false
  startServices: s3
  image:
    tag: 2.1.0

## @section External mongoDB database configuration
##

## @param externalDatabase.host Host for external mongoDB database
## @param externalDatabase.port Port for external mongoDB database
## @param externalDatabase.username Username for external mongoDB database
## @param externalDatabase.password Password for external mongoDB database
## @param externalDatabase.database Database name for external mongoDB database
externalDatabase:
  host: mongodb.local
  port: 27017
  username: 'novu'
  password: ''
  database: novu-db

## @section External redis configuration
##

## @param externalRedis.host Host for external Redis database
## @param externalRedis.port Port for external Redis database
## @param externalRedis.password Password for external Redis database
externalRedis:
  host: redis
  port: 6379
  password: ''

## @section External s3 configuration
##

## @param externalS3.endpoint Endpoint for external S3 storage access
## @param externalS3.bucketName Bucket name for external S3 storage access
## @param externalS3.region Region name for external S3 storage access
## @param externalS3.accessKey access Key for external S3 storage access
## @param externalS3.secretKey secret Key for external S3 storage access
externalS3:
  endpoint: http://localstack:4566
  bucketName: novu-local
  region: us-east-1
  accessKey: test
  secretKey: test
