mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 11:58:41 +00:00
20 lines
463 B
YAML
20 lines
463 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "graphql.fullname" . }}
|
|
labels:
|
|
{{- include "graphql.labels" . | nindent 4 }}
|
|
{{- with .Values.service.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
- port: {{ .Values.service.port }}
|
|
targetPort: http
|
|
protocol: TCP
|
|
name: http
|
|
selector:
|
|
{{- include "graphql.selectorLabels" . | nindent 4 }}
|