16 lines
364 B
YAML
Raw Normal View History

2024-02-07 23:03:10 -05:00
apiVersion: v1
kind: Service
metadata:
2024-02-08 22:45:35 -05:00
name: {{ include "core-api.fullname" . }}
2024-02-07 23:03:10 -05:00
labels:
2024-02-08 22:45:35 -05:00
{{- include "core-api.labels" . | nindent 4 }}
2024-02-07 23:03:10 -05:00
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
2024-02-08 22:45:35 -05:00
{{- include "core-api.selectorLabels" . | nindent 4 }}