-
Notifications
You must be signed in to change notification settings - Fork 14
/
release.yaml
106 lines (102 loc) · 2.79 KB
/
release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: nextcloud
spec:
interval: 5m
chart:
spec:
# renovate: registryUrl=https://nextcloud.github.io/helm/
chart: nextcloud
version: 2.5.16
sourceRef:
kind: HelmRepository
name: nextcloud
namespace: flux-system
interval: 5m
dependsOn:
- name: nextcloud-db
# See https://github.com/nextcloud/helm/blob/master/charts/nextcloud/values.yaml
values:
image:
repository: nextcloud
tag: 21.0.0
ingress:
enabled: true
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 4G
nginx.ingress.kubernetes.io/server-snippet: |-
server_tokens off;
proxy_hide_header X-Powered-By;
rewrite ^/.well-known/webfinger /public.php?service=webfinger last;
rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json;
location = /.well-known/carddav {
return 301 $scheme://$host/remote.php/dav;
}
location = /.well-known/caldav {
return 301 $scheme://$host/remote.php/dav;
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
deny all;
}
location ~ ^/(?:autotest|occ|issue|indie|db_|console) {
deny all;
}
tls:
- hosts:
- nextcloud.${CLUSTER_DOMAIN}
#username: admin
#password: password
#redis:
# enabled: true
internalDatabase:
enabled: false
externalDatabase:
enabled: true
type: postgresql
database: postgres
#user: set in secret
#password: set in secret
host: nextcloud-db-postgres-cluster-postgres
cronjob:
enabled: true
nextcloud:
host: nextcloud.${CLUSTER_DOMAIN}
persistence:
subPath: nextcloud/nextcloud
phpConfigs:
uploadLimit.ini: |
upload_max_filesize = 16G
post_max_size = 16G
max_input_time = 3600
max_execution_time = 3600
livenessProbe:
enabled: false
readinessProbe:
enabled: false
mail:
enabled: true
fromAddress: nextcloud@${CLUSTER_DOMAIN}
domain: ${CLUSTER_DOMAIN}
smtp:
host: mailserver.kube-system
secure: ''
port: 25
authtype: LOGIN
name: ''
password: ''
persistence:
enabled: true
size: 14T
existingClaim: nfs-kubernetes
valuesFrom:
- kind: Secret
name: "nextcloud-helm-values"
valuesKey: nextcloud.yaml
optional: false