2024-09-21 03:08:36 +00:00
|
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
|
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
|
|
|
name: nextcloud
|
|
|
|
spec:
|
|
|
|
interval: 5m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: app-template
|
2024-11-10 21:05:56 +00:00
|
|
|
version: 3.5.1
|
2024-09-21 03:08:36 +00:00
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: bjws-charts
|
|
|
|
namespace: flux-system
|
|
|
|
dependsOn:
|
|
|
|
- name: openebs
|
|
|
|
namespace: openebs
|
|
|
|
values:
|
|
|
|
controllers:
|
|
|
|
main:
|
|
|
|
containers:
|
|
|
|
nextcloud:
|
|
|
|
image:
|
|
|
|
repository: nextcloud
|
2024-11-09 00:02:32 +00:00
|
|
|
tag: 30.0.2
|
2024-09-21 03:08:36 +00:00
|
|
|
|
|
|
|
envFrom:
|
|
|
|
- secretRef:
|
|
|
|
name: nextcloud-secrets
|
|
|
|
env:
|
|
|
|
POSTGRES_HOST: postgresql.database.svc
|
|
|
|
POSTGRES_DB: nextcloud
|
|
|
|
POSTGRES_USER: nextcloud
|
|
|
|
|
|
|
|
# REDIS_HOST: redis.database.svc
|
|
|
|
# REDIS_HOST_PORT: 6379
|
|
|
|
|
|
|
|
SMTP_HOST: exim.default.svc
|
|
|
|
SMTP_PORT: 8025
|
|
|
|
SMTP_AUTHTYPE: PLAIN
|
|
|
|
MAIL_FROM_ADDRESS: karasu
|
|
|
|
MAIL_DOMAIN: ${SECRET_BASE_DOMAIN}
|
|
|
|
|
|
|
|
PHP_UPLOAD_LIMIT: 25G
|
|
|
|
|
|
|
|
NEXTCLOUD_UPDATE: 0
|
|
|
|
NEXTCLOUD_TRUSTED_DOMAINS: '*.${SECRET_NEW_DOMAIN}'
|
|
|
|
|
|
|
|
service:
|
|
|
|
app:
|
|
|
|
controller: main
|
|
|
|
|
|
|
|
ports:
|
|
|
|
http:
|
|
|
|
port: 80
|
|
|
|
|
|
|
|
ingress:
|
|
|
|
main:
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
|
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
|
|
nginx.ingress.kubernetes.io/proxy-body-size: 25G
|
|
|
|
|
|
|
|
className: internal
|
|
|
|
hosts:
|
|
|
|
- host: "drive.internal.${SECRET_NEW_DOMAIN}"
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
service:
|
|
|
|
identifier: app
|
|
|
|
port: http
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
existingClaim: nextcloud-data
|
|
|
|
advancedMounts:
|
|
|
|
main: # controller name
|
|
|
|
nextcloud: # container name
|
|
|
|
- path: /var/www/html
|