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:
|
2023-08-10 06:46:40 +08:00
|
|
|
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
|
2023-10-16 16:17:16 +08:00
|
|
|
kompose.version: 1.31.2 (a92241f79)
|
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
|
2023-08-10 06:46:40 +08:00
|
|
|
namespace: {{ .Values.NAMESPACE }}
|
2022-12-22 20:29:31 +08:00
|
|
|
spec:
|
2023-11-13 21:24:13 +08:00
|
|
|
ipFamilyPolicy: PreferDualStack
|
2023-02-04 22:23:44 +08:00
|
|
|
type: LoadBalancer
|
2023-11-08 18:03:50 +08:00
|
|
|
externalTrafficPolicy: Local
|
2022-12-22 20:29:31 +08:00
|
|
|
ports:
|
2023-11-17 18:03:03 +08:00
|
|
|
- name: "2-tcp"
|
2022-12-22 20:29:31 +08:00
|
|
|
port: {{ .Values.TALK_PORT }}
|
|
|
|
targetPort: {{ .Values.TALK_PORT }}
|
2023-11-17 18:03:03 +08:00
|
|
|
- name: "2-udp"
|
2022-12-22 20:29:31 +08:00
|
|
|
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:
|
2023-08-10 06:46:40 +08:00
|
|
|
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
|
2023-10-16 16:17:16 +08:00
|
|
|
kompose.version: 1.31.2 (a92241f79)
|
2023-02-04 22:23:44 +08:00
|
|
|
labels:
|
|
|
|
io.kompose.service: nextcloud-aio-talk
|
|
|
|
name: nextcloud-aio-talk
|
2023-08-10 06:46:40 +08:00
|
|
|
namespace: {{ .Values.NAMESPACE }}
|
2023-02-04 22:23:44 +08:00
|
|
|
spec:
|
2023-11-13 21:24:13 +08:00
|
|
|
ipFamilyPolicy: PreferDualStack
|
2023-02-04 22:23:44 +08:00
|
|
|
ports:
|
|
|
|
- name: "8081"
|
|
|
|
port: 8081
|
|
|
|
targetPort: 8081
|
|
|
|
selector:
|
|
|
|
io.kompose.service: nextcloud-aio-talk
|
2022-12-22 20:29:31 +08:00
|
|
|
{{- end }}
|