2022-12-22 20:29:31 +08:00
|
|
|
{{- if eq .Values.COLLABORA_ENABLED "yes" }}
|
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
annotations:
|
2023-08-10 06:46:40 +08:00
|
|
|
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
|
2023-07-20 21:54:51 +08:00
|
|
|
kompose.version: 1.30.0 (9d8dcb518)
|
2022-12-22 20:29:31 +08:00
|
|
|
labels:
|
|
|
|
io.kompose.service: nextcloud-aio-collabora
|
|
|
|
name: nextcloud-aio-collabora
|
2023-08-10 06:46:40 +08:00
|
|
|
namespace: {{ .Values.NAMESPACE }}
|
2022-12-22 20:29:31 +08:00
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
io.kompose.service: nextcloud-aio-collabora
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
annotations:
|
2023-08-10 06:46:40 +08:00
|
|
|
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
|
2023-07-20 21:54:51 +08:00
|
|
|
kompose.version: 1.30.0 (9d8dcb518)
|
2022-12-22 20:29:31 +08:00
|
|
|
labels:
|
|
|
|
io.kompose.network/nextcloud-aio: "true"
|
|
|
|
io.kompose.service: nextcloud-aio-collabora
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- env:
|
2023-05-11 17:48:01 +08:00
|
|
|
- name: DONT_GEN_SSL_CERT
|
|
|
|
value: "1"
|
2022-12-22 20:29:31 +08:00
|
|
|
- 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-08-17 15:22:48 +08:00
|
|
|
image: nextcloud/aio-collabora:20230817_065941-latest
|
2022-12-22 20:29:31 +08:00
|
|
|
name: nextcloud-aio-collabora
|
2023-02-02 22:44:37 +08:00
|
|
|
ports:
|
|
|
|
- containerPort: 9980
|
2023-07-20 21:54:51 +08:00
|
|
|
hostPort: 9980
|
|
|
|
protocol: TCP
|
2022-12-22 20:29:31 +08:00
|
|
|
{{- end }}
|