16 lines
400 B
YAML
16 lines
400 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "the-other-dude.fullname" . }}-api
|
|
labels:
|
|
{{- include "the-other-dude.apiLabels" . | nindent 4 }}
|
|
spec:
|
|
type: {{ .Values.api.service.type }}
|
|
ports:
|
|
- port: {{ .Values.api.service.port }}
|
|
targetPort: http
|
|
protocol: TCP
|
|
name: http
|
|
selector:
|
|
{{- include "the-other-dude.apiSelectorLabels" . | nindent 4 }}
|