ingress:
  enabled: true
  className: traefik
  annotations:
    traefik.ingress.kubernetes.io/router.entrypoints: websecure
    traefik.ingress.kubernetes.io/router.tls: "true"
    traefik.ingress.kubernetes.io/router.tls.certresolver: letsencrypt
  hosts:
    - name: nextcloud.dvirlabs.com
      path: /
      pathType: Prefix
  tls:
    - hosts:
        - nextcloud.dvirlabs.com

nextcloud:
  host: nextcloud.dvirlabs.com
  username: admin
  password: Aa123456
  existingSecret:
    enabled: false

  extraEnv:
    - name: OVERWRITEPROTOCOL
      value: https

internalDatabase:
  enabled: false

externalDatabase:
  enabled: true
  type: mysql
  host: nextcloud-mariadb
  user: nextcloud
  password: nextcloudpass
  database: nextcloud

persistence:
  enabled: true
  storageClass: nfs-client
  accessMode: ReadWriteOnce
  size: 1000Gi

mariadb:
  enabled: true
  auth:
    rootPassword: Aa123456
    username: nextcloud
    password: nextcloudpass
    database: nextcloud
  primary:
    persistence:
      enabled: true
      storageClass: nfs-client
      size: 5Gi

livenessProbe:
  enabled: false

readinessProbe:
  enabled: false
