fleet-memory/helm/hindsight/templates/controlplane-service.yaml
2025-11-25 19:28:26 +01:00

17 lines
475 B
YAML

{{- if .Values.controlPlane.enabled }}
apiVersion: v1
kind: Service
metadata:
name: {{ include "hindsight.fullname" . }}-control-plane
labels:
{{- include "hindsight.controlPlane.labels" . | nindent 4 }}
spec:
type: {{ .Values.controlPlane.service.type }}
ports:
- port: {{ .Values.controlPlane.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "hindsight.controlPlane.selectorLabels" . | nindent 4 }}
{{- end }}