mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-12-29 18:20:49 +08:00
352e086b39
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
51 lines
1.8 KiB
YAML
Executable file
51 lines
1.8 KiB
YAML
Executable file
{{- if eq .Values.COLLABORA_ENABLED "yes" }}
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
annotations:
|
|
kompose.cmd: kompose convert -c -f latest.yml --namespace "{{ .Values.NAMESPACE }}"
|
|
kompose.version: 1.34.0 (cbf2835db)
|
|
labels:
|
|
io.kompose.service: nextcloud-aio-collabora
|
|
name: nextcloud-aio-collabora
|
|
namespace: "{{ .Values.NAMESPACE }}"
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
io.kompose.service: nextcloud-aio-collabora
|
|
template:
|
|
metadata:
|
|
annotations:
|
|
kompose.cmd: kompose convert -c -f latest.yml --namespace "{{ .Values.NAMESPACE }}"
|
|
kompose.version: 1.34.0 (cbf2835db)
|
|
labels:
|
|
io.kompose.service: nextcloud-aio-collabora
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: DONT_GEN_SSL_CERT
|
|
value: "1"
|
|
- name: TZ
|
|
value: "{{ .Values.TIMEZONE }}"
|
|
- name: aliasgroup1
|
|
value: https://{{ .Values.NC_DOMAIN }}:443
|
|
- name: dictionaries
|
|
value: "{{ .Values.COLLABORA_DICTIONARIES }}"
|
|
- name: extra_params
|
|
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
|
|
- name: server_name
|
|
value: "{{ .Values.NC_DOMAIN }}"
|
|
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-collabora:20240718_063028"
|
|
name: nextcloud-aio-collabora
|
|
ports:
|
|
- containerPort: 9980
|
|
protocol: TCP
|
|
securityContext:
|
|
capabilities:
|
|
add:
|
|
- MKNOD
|
|
- SYS_ADMIN
|
|
drop:
|
|
- NET_RAW
|
|
{{- end }}
|