2022-12-22 20:29:31 +08:00
|
|
|
{{- if eq .Values.COLLABORA_ENABLED "yes" }}
|
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
annotations:
|
|
|
|
kompose.cmd: kompose convert -c -f latest.yml
|
2023-01-28 23:23:46 +08:00
|
|
|
kompose.version: 1.28.0 (c4137012e)
|
2022-12-22 20:29:31 +08:00
|
|
|
labels:
|
|
|
|
io.kompose.service: nextcloud-aio-collabora
|
|
|
|
name: nextcloud-aio-collabora
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
io.kompose.service: nextcloud-aio-collabora
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
annotations:
|
|
|
|
kompose.cmd: kompose convert -c -f latest.yml
|
2023-01-28 23:23:46 +08:00
|
|
|
kompose.version: 1.28.0 (c4137012e)
|
2022-12-22 20:29:31 +08:00
|
|
|
labels:
|
|
|
|
io.kompose.network/nextcloud-aio: "true"
|
|
|
|
io.kompose.service: nextcloud-aio-collabora
|
|
|
|
spec:
|
2023-02-01 23:00:52 +08:00
|
|
|
initContainers:
|
|
|
|
- name: init-volumes
|
|
|
|
image: alpine
|
|
|
|
command:
|
|
|
|
- chmod
|
2023-02-02 01:51:40 +08:00
|
|
|
- "777"
|
2023-02-01 23:00:52 +08:00
|
|
|
- /nextcloud-aio-collabora-fonts
|
|
|
|
volumeMounts:
|
|
|
|
- name: nextcloud-aio-collabora-fonts
|
|
|
|
mountPath: /nextcloud-aio-collabora-fonts
|
2022-12-22 20:29:31 +08:00
|
|
|
containers:
|
|
|
|
- env:
|
|
|
|
- name: TZ
|
|
|
|
value: "{{ .Values.TIMEZONE }}"
|
|
|
|
- name: aliasgroup1
|
|
|
|
value: https://{{ .Values.NC_DOMAIN }}:443
|
|
|
|
- name: dictionaries
|
|
|
|
value: "{{ .Values.COLLABORA_DICTIONARIES }}"
|
|
|
|
- name: extra_params
|
2023-03-22 20:37:19 +08: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
|
2023-02-11 22:18:13 +08:00
|
|
|
- name: server_name
|
|
|
|
value: "{{ .Values.NC_DOMAIN }}"
|
2023-04-14 20:57:58 +08:00
|
|
|
image: nextcloud/aio-collabora:20230414_123705-latest
|
2022-12-22 20:29:31 +08:00
|
|
|
name: nextcloud-aio-collabora
|
2023-02-02 22:44:37 +08:00
|
|
|
ports:
|
|
|
|
- containerPort: 9980
|
2022-12-22 20:29:31 +08:00
|
|
|
volumeMounts:
|
|
|
|
- mountPath: /opt/cool/systemplate/tmpfonts
|
|
|
|
name: nextcloud-aio-collabora-fonts
|
|
|
|
volumes:
|
|
|
|
- name: nextcloud-aio-collabora-fonts
|
|
|
|
persistentVolumeClaim:
|
|
|
|
claimName: nextcloud-aio-collabora-fonts
|
|
|
|
{{- end }}
|