-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathhelmfile.yaml
More file actions
281 lines (262 loc) · 9.52 KB
/
helmfile.yaml
File metadata and controls
281 lines (262 loc) · 9.52 KB
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
repositories:
- name: tika
url: https://apache.jfrog.io/artifactory/tika
- name: collabora
url: https://collaboraonline.github.io/online/
- name: bitnami
url: https://charts.bitnami.com/bitnami
- name: onlyoffice
url: https://download.onlyoffice.com/charts/stable
- name: postgres-operator
url: https://opensource.zalando.com/postgres-operator/charts/postgres-operator
releases:
- name: tika
namespace: tika
chart: tika/tika
version: 2.9.0
labels:
ci-lint-skip: true # skip linting this chart in CI
values:
- image:
tag: "latest-full" # using "full" tag for OCR func.
- name: addons-onlyoffice
chart: addons/onlyoffice
namespace: onlyoffice
labels:
ci-lint-skip: true # skip linting this chart in CI
- name: addons-postgresql
chart: addons/postgresql
namespace: onlyoffice
labels:
ci-lint-skip: true # skip linting this chart in CI
needs:
- onlyoffice/postgres-operator
- name: rabbitmq
namespace: onlyoffice
chart: bitnami/rabbitmq
version: 15.5.3
labels:
ci-lint-skip: true # skip linting this chart in CI
- name: redis
namespace: onlyoffice
chart: bitnami/redis
version: 20.12.2
labels:
ci-lint-skip: true # skip linting this chart in CI
- name: postgres-operator
namespace: onlyoffice
chart: postgres-operator/postgres-operator
version: 1.14.0
labels:
ci-lint-skip: true # skip linting this chart in CI
values:
- configConnectionPooler:
connection_pooler_max_db_connections: 300
connection_pooler_number_of_instances: 3
connection_pooler_mode: "session"
- name: onlyoffice
namespace: onlyoffice
chart: onlyoffice/docs
version: 4.7.0
labels:
ci-lint-skip: true # skip linting this chart in CI
needs:
- onlyoffice/addons-onlyoffice
- onlyoffice/rabbitmq
- onlyoffice/redis
- onlyoffice/postgres-operator
values:
- wopi:
enabled: true
- ingress:
enabled: true
host: onlyoffice.kube.owncloud.test
ssl:
enabled: true
secret: onlyoffice-tls
- extraConf:
configMap: "doc-local.json"
- connections:
dbHost: postgres-pooler
dbExistingSecret: postgres.postgres.credentials.postgresql.acid.zalan.do
dbSecretKeyName: password
redisHost: redis-master
amqpHost: rabbitmq
- persistence:
existingClaim: ds-files
jsonPatches:
# patch https://github.com/ONLYOFFICE/Kubernetes-Docs/blob/851362e5b96f5e86fe8cc9c3bdd86b5f217dd5d0/templates/jobs/pre-install.yaml#L16 to a higher number
# without this, OnlyOffice installation fails on the first time
- target:
kind: Job
namespace: onlyoffice
name: pre-install
patch:
- op: replace
path: /spec/backoffLimit
value: 20
- name: addons-collabora
chart: addons/collabora
namespace: collabora
labels:
ci-lint-skip: true # skip linting this chart in CI
- name: collabora
namespace: collabora
chart: collabora/collabora-online
version: 1.1.60
labels:
ci-lint-skip: true # skip linting this chart in CI
values:
- collabora:
aliasgroups:
- host: "wopi-collabora.kube.owncloud.test" # needed because we connect via the ingress to the collaboration service
# - host: "collaboration-collabora.ocis.svc.cluster.local" # needed if we would use the cluster internal Service to connect to the collaboration service
extra_params: --o:ssl.enable=false --o:ssl.termination=true --o:net.frame_ancestors=ocis.kube.owncloud.test
proofKeysSecretRef: proofkey
- ingress:
enabled: true
className: "nginx"
annotations:
nginx.ingress.kubernetes.io/upstream-hash-by: "$arg_WOPISrc"
nginx.ingress.kubernetes.io/proxy-body-size: "0"
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
hosts:
- host: collabora.kube.owncloud.test
paths:
- path: /
pathType: ImplementationSpecific
tls:
- secretName: collabora-dev-tls
hosts:
- collabora.kube.owncloud.test
- name: ocis
chart: ../../charts/ocis
namespace: ocis
values:
- externalDomain: ocis.kube.owncloud.test
- ingress:
enabled: true
ingressClassName: nginx
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 1024m
tls:
- secretName: ocis-dev-tls
hosts:
- ocis.kube.owncloud.test
- insecure:
oidcIdpInsecure: true
ocisHttpApiInsecure: true
- features:
appsIntegration:
enabled: true
wopiIntegration:
officeSuites:
- name: DemoCollabora
product: Collabora
enabled: true
uri: "https://collabora.kube.owncloud.test"
insecure: true
disableProof: false
iconURI: https://collabora.kube.owncloud.test/favicon.ico
ingress:
# Collabora connects to the collaboration service via Ingress in this case
enabled: true
domain: wopi-collabora.kube.owncloud.test
ingressClassName: nginx
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 1024m
tls:
- secretName: ocis-dev-tls
hosts:
- wopi-collabora.kube.owncloud.test
- name: DemoOnlyOffice
product: OnlyOffice
enabled: true
uri: "https://onlyoffice.kube.owncloud.test"
insecure: true
disableProof: false
iconURI: https://onlyoffice.kube.owncloud.test/web-apps/apps/documenteditor/main/resources/img/favicon.ico
ingress:
# OnlyOffice connects to the collaboration service via the cluster internal Service in this case
# We need to configure the internal hostname in the OnlyOffice ipfilter, see also:
# https://test-helpcenter.onlyoffice.com/installation/docs-configure-ipfilter.aspx
# we do this for this setup in deployments/ocis-office/addons/onlyoffice/configmap.yaml
enabled: false
mimetypes:
# mimetypes for creation
- mime_type: application/vnd.oasis.opendocument.text
extension: odt
name: OpenDocument
description: OpenDocument text document
icon: image-edit
default_app: "Collabora"
allow_creation: true
- mime_type: application/vnd.oasis.opendocument.spreadsheet
extension: ods
name: OpenSpreadsheet
description: OpenDocument spreadsheet document
icon: image-edit
default_app: "Collabora"
allow_creation: true
- mime_type: application/vnd.oasis.opendocument.presentation
extension: odp
name: OpenPresentation
description: OpenDocument presentation document
icon: image-edit
default_app: "Collabora"
allow_creation: true
- mime_type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
extension: docx
name: Text document
description: Text document
icon: image-edit
default_app: "OnlyOffice"
allow_creation: true
- mime_type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
extension: xlsx
name: Spreadsheet
description: Spreadsheet
icon: image-edit
default_app: "OnlyOffice"
allow_creation: true
- mime_type: application/vnd.openxmlformats-officedocument.presentationml.presentation
extension: pptx
name: Presentation
description: Presentation
icon: image-edit
default_app: "OnlyOffice"
allow_creation: true
- mime_type: application/vnd.openxmlformats-officedocument.wordprocessingml.form
extension: docxf
name: FormDocument
description: Form document
icon: image-edit
default_app: "OnlyOffice"
allow_creation: true
- services:
idm:
persistence:
enabled: true
nats:
persistence:
enabled: true
search:
persistence:
enabled: true
extractor:
type: tika
tika:
url: http://tika.tika.svc.cluster.local:9998
storagesystem:
persistence:
enabled: true
storageusers:
persistence:
enabled: true
thumbnails:
persistence:
enabled: true
web:
persistence:
enabled: true