2022-12-22 20:29:31 +08:00
|
|
|
{{- if eq .Values.TALK_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-talk
|
|
|
|
name: nextcloud-aio-talk
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
io.kompose.service: nextcloud-aio-talk
|
|
|
|
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-talk
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- env:
|
2023-06-13 16:03:44 +08:00
|
|
|
- name: INTERNAL_SECRET
|
|
|
|
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 }}"
|
2023-06-26 18:27:30 +08:00
|
|
|
image: nextcloud/aio-talk:20230626_101439-latest
|
2022-12-22 20:29:31 +08:00
|
|
|
name: nextcloud-aio-talk
|
|
|
|
ports:
|
|
|
|
- containerPort: {{ .Values.TALK_PORT }}
|
|
|
|
- containerPort: {{ .Values.TALK_PORT }}
|
|
|
|
protocol: UDP
|
2023-02-04 22:23:44 +08:00
|
|
|
- containerPort: 8081
|
2022-12-22 20:29:31 +08:00
|
|
|
{{- end }}
|