graphrag-accelerator/infra/helm/graphrag/templates/graphrag-index-service.yaml
2024-06-26 15:45:06 -04:00

22 lines
579 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "graphrag.index.fullname" . }}
{{- if .Values.index.service.annotations }}
annotations:
{{- range $key, $value := .Values.index.service.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
labels:
{{- include "graphrag.index.labels" . | nindent 4 }}
spec:
type: {{ .Values.index.service.type }}
ports:
- port: {{ .Values.index.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "graphrag.index.selectorLabels" . | nindent 4 }}