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 }}
|
2024-01-24 20:09:20 +08:00
|
|
|
kompose.version: 1.32.0 (765fde254)
|
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-21 18:44:17 +08:00
|
|
|
- name: "{{ .Values.TALK_PORT }}"
|
2022-12-22 20:29:31 +08:00
|
|
|
port: {{ .Values.TALK_PORT }}
|
|
|
|
targetPort: {{ .Values.TALK_PORT }}
|
2023-11-23 16:45:28 +08:00
|
|
|
- name: {{ .Values.TALK_PORT }}-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 }}
|
2024-01-24 20:09:20 +08:00
|
|
|
kompose.version: 1.32.0 (765fde254)
|
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 }}
|