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

replicaCount: 1

image:
  repository: interlegis/osticket
  tag: 1.14.1
  pullPolicy: IfNotPresent

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

installSecret: ""

persistence:
  enabled: true
  #storageClass: ""
  accessMode: ReadWriteOnce
  size: 10Gi

velero:
  namespace: velero
  backup:
    enabled: true
    snapshotVolumes: false
    defaultVolumesToRestic: true
    # cert-manager objects are usually blocked during backup
    excludedResources: 
      - certificates.cert-manager.io
      - orders.acme.cert-manager.io
      - certificaterequests.cert-manager.io
      - challenges.acme.cert-manager.io

service:
  type: ClusterIP
  port: 80

ingress:
  enabled: true
  annotations: {}
    # kubernetes.io/ingress.class: nginx
    # kubernetes.io/tls-acme: "true"
  hosts:
    - host: chart-example.local
      paths: []

  tls: []
  #  - secretName: chart-example-tls
  #    hosts:
  #      - chart-example.local

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

mariadb:
  internal: true
  image:
    tag: 10.5.13-debian-10-r58
  architecture: standalone
  auth:
    database: osticket
    username: osticket
    password: mysecretpw
  primary:
    persistence:
      enabled: true
      accessModes: 
      - ReadWriteOnce
      size: 20Gi
    resources:
      requests:
        memory: 700Mi
        cpu: 100m 

memcached:
  internal: true
  image: 
    tag: 1.6.13-debian-10-r0
  architecture: standalone
  replicaCount: 1
  pdb:
    minAvailable: 1

nodeSelector: {}

tolerations: []

affinity: {}