119 lines
2.8 KiB
YAML
119 lines
2.8 KiB
YAML
image:
|
|
repository: nextcloud
|
|
flavor: apache
|
|
tag:
|
|
pullPolicy: Always
|
|
|
|
replicaCount: 1
|
|
|
|
|
|
internalDatabase:
|
|
enabled: false
|
|
|
|
externalDatabase:
|
|
enabled: type
|
|
type: mysql
|
|
|
|
|
|
mariadb:
|
|
enabled: true
|
|
architecture: standalone
|
|
|
|
primary:
|
|
persistence:
|
|
enabled: true
|
|
existingClaim: ""
|
|
storageClass: ""
|
|
accessMode: ReadWriteOnce
|
|
size: 8Gi
|
|
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 8080
|
|
loadBalancerIP: ""
|
|
nodePort:
|
|
|
|
persistence:
|
|
enabled: true
|
|
accessMode: ReadWriteOnce
|
|
size: 8Gi
|
|
|
|
nextcloudData:
|
|
enabled: true
|
|
subPath:
|
|
annotations: {}
|
|
accessMode: ReadWriteOnce
|
|
size: 8Gi
|
|
|
|
#limits:
|
|
# cpu: 100m
|
|
# memory: 128Mi
|
|
#requests:
|
|
# cpu: 100m
|
|
# memory: 128Mi
|
|
|
|
nextcloud:
|
|
configs:
|
|
https.config.php: |-
|
|
<?php
|
|
$CONFIG = array (
|
|
'overwritehost' => 'cloud.limbosolutions.com',
|
|
'overwrite.cli.url' => 'https://cloud.limbosolutions.com',
|
|
'overwriteprotocol' => 'https',
|
|
'trusted_proxies' => array ( 0 => '127.0.0.1', 1 => '::1', 2 => '10.0.0.0'),
|
|
);
|
|
|
|
# A value of 1 e.g. will only run these background jobs between 01:00am UTC and 05:00am UTC:
|
|
# https://docs.nextcloud.com/server/30/admin_manual/configuration_server/background_jobs_configuration.html
|
|
maintenance.config.php: |-
|
|
<?php
|
|
$CONFIG = array (
|
|
'maintenance_window_start' => 1,
|
|
);
|
|
# nextcloud:
|
|
# configs:
|
|
# logging.config.php: |-
|
|
# <?php
|
|
# $CONFIG = array (
|
|
# 'log_type' => 'file',
|
|
# 'logfile' => 'nextcloud.log',
|
|
# 'loglevel' => 0,
|
|
# 'logdateformat' => 'F d, Y H:i:s'
|
|
# );
|
|
|
|
|
|
ingress:
|
|
enabled: true
|
|
className: traefik
|
|
annotations:
|
|
kubernetes.io/ingress.class: traefik
|
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure,public-https
|
|
|
|
# traefik.public-https.redirect.permanent: 'true'
|
|
# traefik.public-https.redirect.regex: 'https://(.*)/.well-known/(?:card|cal)dav'
|
|
# traefik.public-https.redirect.replacement: 'https://$$1/remote.php/dav'
|
|
# traefik.public-https.headers.STSPreload: 'true'
|
|
# traefik.public-https.headers.STSSeconds: '15552000'
|
|
# traefik.public-https.routers.nextcloud.middlewares: 'nextcloudHeader'
|
|
|
|
# traefik.web-secure.routers.nextcloud.middlewares: 'nextcloudHeader'
|
|
# traefik.websecure.headers.STSPreload: 'true'
|
|
# traefik.websecure.headers.STSSeconds: '15552000'
|
|
# traefik.websecure.redirect.permanent: 'true'
|
|
# traefik.websecure.redirect.regex: 'https://(.*)/.well-known/(?:card|cal)dav'
|
|
# traefik.websecure.redirect.replacement: 'https://$$1/remote.php/dav'
|
|
# hosts:
|
|
# - host: cloud.limbosolutions.com
|
|
# paths:
|
|
# - path: /
|
|
# pathType: Prefix
|
|
tls:
|
|
- secretName: cloud-limbosolutions-com-secret-tls
|
|
hosts:
|
|
- "cloud.limbosolutions.com"
|
|
|
|
|
|
|