2022-12-22 20:29:31 +08:00
|
|
|
{{- if eq .Values.TALK_ENABLED "yes" }}
|
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
annotations:
|
2024-02-29 02:30:56 +08:00
|
|
|
kompose.cmd: kompose convert -c -f latest.yml --namespace "{{ .Values.NAMESPACE }}"
|
2024-06-06 16:00:47 +08:00
|
|
|
kompose.version: 1.34.0 (cbf2835db)
|
2022-12-22 20:29:31 +08:00
|
|
|
labels:
|
|
|
|
io.kompose.service: nextcloud-aio-talk
|
|
|
|
name: nextcloud-aio-talk
|
2024-02-29 02:30:56 +08:00
|
|
|
namespace: "{{ .Values.NAMESPACE }}"
|
2022-12-22 20:29:31 +08:00
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
io.kompose.service: nextcloud-aio-talk
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
annotations:
|
2024-02-29 02:30:56 +08:00
|
|
|
kompose.cmd: kompose convert -c -f latest.yml --namespace "{{ .Values.NAMESPACE }}"
|
2024-06-06 16:00:47 +08:00
|
|
|
kompose.version: 1.34.0 (cbf2835db)
|
2022-12-22 20:29:31 +08:00
|
|
|
labels:
|
|
|
|
io.kompose.service: nextcloud-aio-talk
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- env:
|
2024-04-04 17:03:02 +08:00
|
|
|
- name: TALK_MAX_STREAM_BITRATE
|
|
|
|
value: "{{ .Values.TALK_MAX_STREAM_BITRATE }}"
|
2024-04-11 20:06:58 +08:00
|
|
|
- name: TALK_MAX_SCREEN_BITRATE
|
2024-04-24 18:15:02 +08:00
|
|
|
value: "{{ .Values.TALK_MAX_SCREEN_BITRATE }}"
|
|
|
|
- name: INTERNAL_SECRET
|
2023-06-13 16:03:44 +08:00
|
|
|
value: "{{ .Values.TALK_INTERNAL_SECRET }}"
|
2022-12-22 20:29:31 +08:00
|
|
|
- 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 }}"
|
2024-06-06 16:00:47 +08:00
|
|
|
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-talk:20240606_075829-latest"
|
2022-12-22 20:29:31 +08:00
|
|
|
name: nextcloud-aio-talk
|
|
|
|
ports:
|
|
|
|
- containerPort: {{ .Values.TALK_PORT }}
|
2023-07-20 21:54:51 +08:00
|
|
|
protocol: TCP
|
2022-12-22 20:29:31 +08:00
|
|
|
- containerPort: {{ .Values.TALK_PORT }}
|
|
|
|
protocol: UDP
|
2023-02-04 22:23:44 +08:00
|
|
|
- containerPort: 8081
|
2023-07-20 21:54:51 +08:00
|
|
|
protocol: TCP
|
2024-03-08 17:34:27 +08:00
|
|
|
securityContext:
|
|
|
|
capabilities:
|
|
|
|
drop:
|
|
|
|
- NET_RAW
|
2022-12-22 20:29:31 +08:00
|
|
|
{{- end }}
|