Files
gh-christianlouis-docuelevate/helm/docuelevate/templates/api-service.yaml
T
2026-02-25 13:31:54 +00:00

19 lines
497 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "docuelevate.fullname" . }}-api
namespace: {{ .Release.Namespace }}
labels:
{{- include "docuelevate.labels" . | nindent 4 }}
app.kubernetes.io/component: api
spec:
type: {{ .Values.api.service.type }}
ports:
- port: {{ .Values.api.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "docuelevate.selectorLabels" . | nindent 4 }}
app.kubernetes.io/component: api