2022-12-22 12:29:31 +00:00
|
|
|
{{- if eq .Values.COLLABORA_ENABLED "yes" }}
|
|
|
|
|
apiVersion: apps/v1
|
|
|
|
|
kind: Deployment
|
|
|
|
|
metadata:
|
|
|
|
|
annotations:
|
2024-12-16 10:40:10 +00:00
|
|
|
kompose.version: 1.35.0 (9532ceef3)
|
2022-12-22 12:29:31 +00:00
|
|
|
labels:
|
|
|
|
|
io.kompose.service: nextcloud-aio-collabora
|
|
|
|
|
name: nextcloud-aio-collabora
|
2024-02-28 18:30:56 +00:00
|
|
|
namespace: "{{ .Values.NAMESPACE }}"
|
2022-12-22 12:29:31 +00:00
|
|
|
spec:
|
|
|
|
|
replicas: 1
|
|
|
|
|
selector:
|
|
|
|
|
matchLabels:
|
|
|
|
|
io.kompose.service: nextcloud-aio-collabora
|
|
|
|
|
template:
|
|
|
|
|
metadata:
|
|
|
|
|
annotations:
|
2024-12-16 10:40:10 +00:00
|
|
|
kompose.version: 1.35.0 (9532ceef3)
|
2022-12-22 12:29:31 +00:00
|
|
|
labels:
|
|
|
|
|
io.kompose.service: nextcloud-aio-collabora
|
|
|
|
|
spec:
|
|
|
|
|
containers:
|
|
|
|
|
- env:
|
2023-05-11 09:48:01 +00:00
|
|
|
- name: DONT_GEN_SSL_CERT
|
|
|
|
|
value: "1"
|
2022-12-22 12:29:31 +00:00
|
|
|
- name: TZ
|
|
|
|
|
value: "{{ .Values.TIMEZONE }}"
|
|
|
|
|
- name: aliasgroup1
|
|
|
|
|
value: https://{{ .Values.NC_DOMAIN }}:443
|
|
|
|
|
- name: dictionaries
|
|
|
|
|
value: "{{ .Values.COLLABORA_DICTIONARIES }}"
|
|
|
|
|
- name: extra_params
|
2024-12-16 10:40:10 +00:00
|
|
|
value: --o:ssl.enable=false --o:ssl.termination=true --o:mount_jail_tree=false --o:logging.level=warning --o:home_mode.enable=true {{ .Values.COLLABORA_SECCOMP_POLICY }} --o:remote_font_config.url=https://{{ .Values.NC_DOMAIN }}/apps/richdocuments/settings/fonts.json --o:net.post_allow_host[0]=0.0.0.0/0 --o:net.post_allow_host[1]=::/0
|
2023-02-11 15:18:13 +01:00
|
|
|
- name: server_name
|
|
|
|
|
value: "{{ .Values.NC_DOMAIN }}"
|
2024-12-16 10:40:10 +00:00
|
|
|
image: nextcloud/aio-collabora:20241216_102930
|
|
|
|
|
readinessProbe:
|
|
|
|
|
exec:
|
|
|
|
|
command:
|
|
|
|
|
- /healthcheck.sh
|
|
|
|
|
failureThreshold: 3
|
|
|
|
|
initialDelaySeconds: 360
|
|
|
|
|
periodSeconds: 30
|
|
|
|
|
timeoutSeconds: 30
|
|
|
|
|
livenessProbe:
|
|
|
|
|
exec:
|
|
|
|
|
command:
|
|
|
|
|
- /healthcheck.sh
|
|
|
|
|
failureThreshold: 3
|
|
|
|
|
initialDelaySeconds: 360
|
|
|
|
|
periodSeconds: 30
|
|
|
|
|
timeoutSeconds: 30
|
2022-12-22 12:29:31 +00:00
|
|
|
name: nextcloud-aio-collabora
|
2023-02-02 15:44:37 +01:00
|
|
|
ports:
|
|
|
|
|
- containerPort: 9980
|
2023-07-20 13:54:51 +00:00
|
|
|
protocol: TCP
|
2023-11-21 16:49:51 +01:00
|
|
|
securityContext:
|
|
|
|
|
capabilities:
|
|
|
|
|
add:
|
|
|
|
|
- MKNOD
|
2024-11-21 22:58:47 +01:00
|
|
|
- CAP_SYS_ADMIN
|
2022-12-22 12:29:31 +00:00
|
|
|
{{- end }}
|