mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-11-15 11:35:56 +08:00
25 lines
626 B
YAML
25 lines
626 B
YAML
|
{{- if eq .Values.TALK_ENABLED "yes" }}
|
||
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
annotations:
|
||
|
kompose.cmd: kompose convert -c -f latest.yml
|
||
|
kompose.version: 1.27.0 (b0ed6a2c9)
|
||
|
labels:
|
||
|
io.kompose.service: nextcloud-aio-talk
|
||
|
name: nextcloud-aio-talk
|
||
|
spec:
|
||
|
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
|
||
|
status:
|
||
|
loadBalancer: {}
|
||
|
{{- end }}
|