Files
vnctalk-prosody/helm/prosody/templates/service.yaml
T
macanhhuy d6dddbbc91
Build + push image / build-and-push (push) Successful in 1m8s
chore: remove GCP + GitLab references, migrate to Gitea registry
Replace eu.gcr.io/vnc-development image refs with gitea.saas.vnc.biz/vnciac,
swap gcr-json-key pull secret for gitea-registry, and update CI/deploy docs
from GitLab CI to Gitea Actions.
2026-08-19 17:31:05 +07:00

88 lines
1.8 KiB
YAML

apiVersion: v1
kind: Service
metadata:
name: http
labels:
{{- include "prosody.labels" . | nindent 4 }}
{{- with .Values.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: ClusterIP
ports:
- port: 5280
targetPort: 5280
protocol: TCP
name: http
selector:
{{- include "prosody.selectorLabels" . | nindent 4 }}
---
apiVersion: v1
kind: Service
metadata:
name: s2s
labels:
{{- include "prosody.labels" . | nindent 4 }}
{{- if .Values.service.annotationsenabled }}
{{- with .Values.service.s2s.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
spec:
type: LoadBalancer
ports:
- port: 5222
targetPort: 5222
protocol: TCP
name: c2s
- port: 5269
targetPort: 5269
protocol: TCP
name: s2s
selector:
{{- include "prosody.selectorLabels" . | nindent 4 }}
---
apiVersion: v1
kind: Service
metadata:
name: telnet
labels:
{{- include "prosody.labels" . | nindent 4 }}
{{- if .Values.service.annotationsenabled }}
{{- with .Values.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
spec:
type: ClusterIP
ports:
- port: 5582
targetPort: 5582
protocol: TCP
name: telnet
selector:
{{- include "prosody.selectorLabels" . | nindent 4 }}
---
apiVersion: v1
kind: Service
metadata:
name: web2
labels:
{{- include "prosody.labels" . | nindent 4 }}
{{- with .Values.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: ClusterIP
ports:
- port: 8080
targetPort: 8080
protocol: TCP
name: web2
selector:
{{- include "prosody.selectorLabels" . | nindent 4 }}