2022-12-22 20:29:31 +08:00
|
|
|
{{- if eq .Values.TALK_ENABLED "yes" }}
|
2023-02-04 22:23:44 +08:00
|
|
|
---
|
2022-12-22 20:29:31 +08:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
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
|
2023-02-04 22:23:44 +08:00
|
|
|
name: nextcloud-aio-talk-public
|
2022-12-22 20:29:31 +08:00
|
|
|
spec:
|
2023-02-04 22:23:44 +08:00
|
|
|
type: LoadBalancer
|
2022-12-22 20:29:31 +08:00
|
|
|
ports:
|
|
|
|
- name: "{{ .Values.TALK_PORT }}"
|
|
|
|
port: {{ .Values.TALK_PORT }}
|
|
|
|
targetPort: {{ .Values.TALK_PORT }}
|
|
|
|
- name: {{ .Values.TALK_PORT }}-udp
|
|
|
|
port: {{ .Values.TALK_PORT }}
|
|
|
|
protocol: UDP
|
|
|
|
targetPort: {{ .Values.TALK_PORT }}
|
|
|
|
selector:
|
|
|
|
io.kompose.service: nextcloud-aio-talk
|
2023-02-04 22:23:44 +08:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
annotations:
|
|
|
|
kompose.cmd: kompose convert -c -f latest.yml
|
|
|
|
kompose.version: 1.28.0 (c4137012e)
|
|
|
|
labels:
|
|
|
|
io.kompose.service: nextcloud-aio-talk
|
|
|
|
name: nextcloud-aio-talk
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- name: "8081"
|
|
|
|
port: 8081
|
|
|
|
targetPort: 8081
|
|
|
|
selector:
|
|
|
|
io.kompose.service: nextcloud-aio-talk
|
2022-12-22 20:29:31 +08:00
|
|
|
{{- end }}
|