mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-12-29 18:20:49 +08:00
e41d8b824c
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
56 lines
1.9 KiB
YAML
Executable file
56 lines
1.9 KiB
YAML
Executable file
{{- if eq .Values.TALK_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-talk
|
|
name: nextcloud-aio-talk
|
|
namespace: "{{ .Values.NAMESPACE }}"
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
io.kompose.service: nextcloud-aio-talk
|
|
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-talk
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: TALK_MAX_STREAM_BITRATE
|
|
value: "{{ .Values.TALK_MAX_STREAM_BITRATE }}"
|
|
- name: TALK_MAX_SCREEN_BITRATE
|
|
value: "{{ .Values.TALK_MAX_SCREEN_BITRATE }}"
|
|
- name: INTERNAL_SECRET
|
|
value: "{{ .Values.TALK_INTERNAL_SECRET }}"
|
|
- name: NC_DOMAIN
|
|
value: "{{ .Values.NC_DOMAIN }}"
|
|
- name: SIGNALING_SECRET
|
|
value: "{{ .Values.SIGNALING_SECRET }}"
|
|
- name: TALK_PORT
|
|
value: "{{ .Values.TALK_PORT }}"
|
|
- name: TURN_SECRET
|
|
value: "{{ .Values.TURN_SECRET }}"
|
|
- name: TZ
|
|
value: "{{ .Values.TIMEZONE }}"
|
|
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-talk:20240606_075829-latest"
|
|
name: nextcloud-aio-talk
|
|
ports:
|
|
- containerPort: {{ .Values.TALK_PORT }}
|
|
protocol: TCP
|
|
- containerPort: {{ .Values.TALK_PORT }}
|
|
protocol: UDP
|
|
- containerPort: 8081
|
|
protocol: TCP
|
|
securityContext:
|
|
capabilities:
|
|
drop:
|
|
- NET_RAW
|
|
{{- end }}
|