mirror of
https://github.com/Azure-Samples/graphrag-accelerator.git
synced 2025-11-03 03:59:17 +00:00
22 lines
579 B
YAML
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 }}
|