docs/deploy/helm/templates/service.yaml

15 lines
379 B
YAML

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