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:
|
2024-12-16 18:40:10 +08:00
|
|
|
kompose.version: 1.35.0 (9532ceef3)
|
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
|
2024-02-29 02:30:56 +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:
|
2024-12-16 18:40:10 +08:00
|
|
|
kompose.version: 1.35.0 (9532ceef3)
|
2023-02-04 22:23:44 +08:00
|
|
|
labels:
|
|
|
|
io.kompose.service: nextcloud-aio-talk
|
|
|
|
name: nextcloud-aio-talk
|
2024-02-29 02:30:56 +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 }}
|