You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
2.0 KiB

---
2 years ago
apiVersion: helm.fluxcd.io/v1
kind: HelmRelease
metadata:
name: nextcloud
namespace: nextcloud
annotations:
fluxcd.io/automated: "true"
fluxcd.io/tag.chart-image: regex:20\.[0-9]+\.[0-9]+-fpm-alpine$
fluxcd.io/tag.nginx: regex:1\.19\.[0-9]+-alpine$
2 years ago
fluxcd.io/tag.postgresql: semver:~13.1
spec:
test:
enable: true
rollback:
enable: true
retry: true
releaseName: nextcloud
chart:
repository: https://nextcloud.github.io/helm
name: nextcloud
version: 2.5.11
2 years ago
valuesFrom:
- secretKeyRef:
name: nextcloud-secrets
2 years ago
values:
image:
repository: nextcloud
tag: 20.0.8-fpm-alpine
2 years ago
ingress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
nginx.ingress.kubernetes.io/proxy-body-size: 4G
nginx.ingress.kubernetes.io/server-snippet: |-
location = /.well-known/carddav {
return 301 https://$host/remote.php/dav;
}
location = /.well-known/caldav {
return 301 https://$host/remote.php/dav;
}
2 years ago
tls:
- hosts:
- cloud.ssene.ca
secretName: nextcloud-tls-cert
2 years ago
nextcloud:
host: cloud.ssene.ca
nginx:
enabled: true
image:
repository: nginx
tag: 1.19.8-alpine
2 years ago
internalDatabase:
enabled: false
externalDatabase:
enabled: true
type: postgresql
host: nextcloud-postgresql.nextcloud.svc.cluster.local
postgresql:
enabled: true
persistence:
enabled: true
existingClaim: database-nextcloud
image:
repository: bitnami/postgresql
tag: 13.1.0
volumePermissions:
enabled: true
psp:
create: true
rbac:
create: true
redis:
enabled: true
usePassword: true
2 years ago
persistence:
enabled: true
startupProbe:
enabled: false
lifecycle:
postStartCommand: ["/bin/sh", "-c", "crond"]
extraEnv:
- name: PHP_MEMORY_LIMIT
value: 512M