charts/sudoscientist-go-backend/templates/service.yaml

16 lines
412 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
name: {{ include "sudoscientist-go-backend.fullname" . }}
labels:
{{- include "sudoscientist-go-backend.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "sudoscientist-go-backend.selectorLabels" . | nindent 4 }}