mirror of
https://gitlab.com/oecis/charts.git
synced 2024-11-19 13:19:03 +00:00
16 lines
362 B
YAML
16 lines
362 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "gate.fullname" . }}
|
|
labels:
|
|
{{- include "gate.labels" . | nindent 4 }}
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
- port: {{ .Values.service.port }}
|
|
targetPort: minecraft
|
|
protocol: TCP
|
|
name: minecraft
|
|
selector:
|
|
{{- include "gate.selectorLabels" . | nindent 4 }}
|