serge-helm-chart/templates/service.yaml

16 lines
364 B
YAML
Raw Normal View History

2023-04-13 13:27:14 -04:00
apiVersion: v1
kind: Service
metadata:
name: {{ include "serge-ai.fullname" . }}
labels:
{{- include "serge-ai.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "serge-ai.selectorLabels" . | nindent 4 }}