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.

94 lines
2.2 KiB

---
apiVersion: helm.fluxcd.io/v1
kind: HelmRelease
metadata:
name: nextcloud
namespace: nextcloud
annotations:
fluxcd.io/automated: "true"
fluxcd.io/tag.chart-image: regex:21\.[0-9]+\.[0-9]+-fpm-alpine$
fluxcd.io/tag.nginx: regex:1\.19\.[0-9]+-alpine$
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.6.1
valuesFrom:
- secretKeyRef:
name: nextcloud-secrets
values:
image:
repository: nextcloud
tag: 21.0.1-fpm-alpine
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;
}
tls:
- hosts:
- cloud.ssene.ca
secretName: nextcloud-tls-cert
nextcloud:
host: cloud.ssene.ca
extraVolumes:
- name: photos
persistentVolumeClaim:
claimName: photos-nextcloud
readOnly: false
extraVolumeMounts:
- name: photos
mountPath: "/mnt/photos"
nginx:
enabled: true
image:
repository: nginx
tag: 1.19.10-alpine
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
persistence:
enabled: true
livenessProbe:
enabled: false
readinessProbe:
enabled: false
startupProbe:
enabled: true
lifecycle:
postStartCommand: ["/bin/sh", "-c", "crond"]