mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-11-15 03:24:48 +08:00
1b4a00735c
Signed-off-by: GitHub <noreply@github.com>
46 lines
1.2 KiB
YAML
Executable file
46 lines
1.2 KiB
YAML
Executable file
{{- if eq .Values.TALK_ENABLED "yes" }}
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations:
|
|
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
|
|
kompose.version: 1.32.0 (765fde254)
|
|
labels:
|
|
io.kompose.service: nextcloud-aio-talk
|
|
name: nextcloud-aio-talk-public
|
|
namespace: {{ .Values.NAMESPACE }}
|
|
spec:
|
|
ipFamilyPolicy: PreferDualStack
|
|
type: LoadBalancer
|
|
externalTrafficPolicy: Local
|
|
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
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations:
|
|
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
|
|
kompose.version: 1.32.0 (765fde254)
|
|
labels:
|
|
io.kompose.service: nextcloud-aio-talk
|
|
name: nextcloud-aio-talk
|
|
namespace: {{ .Values.NAMESPACE }}
|
|
spec:
|
|
ipFamilyPolicy: PreferDualStack
|
|
ports:
|
|
- name: "8081"
|
|
port: 8081
|
|
targetPort: 8081
|
|
selector:
|
|
io.kompose.service: nextcloud-aio-talk
|
|
{{- end }}
|