Files
helm-charts/charts/wyoming-piper/templates/service.yaml

18 lines
521 B
YAML

---
apiVersion: v1
kind: Service
metadata:
name: {{ include "wyoming-piper.fullname" . }}
labels:
{{- include "wyoming-piper.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- name: wyoming
port: {{ .Values.service.wyoming.port }}
targetPort: {{ .Values.service.wyoming.targetPort | default "10200" }}
nodePort: {{ .Values.service.wyoming.nodePort | default "10200" }}
protocol: TCP
selector:
{{- include "wyoming-piper.selectorLabels" . | nindent 4 }}