mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-27 00:17:31 +00:00
feat: support to install fastgpt via helm chart (#1023)
* feat: support to install fastgpt via helm chart Signed-off-by: rick <LinuxSuRen@users.noreply.github.com> --------- Signed-off-by: rick <LinuxSuRen@users.noreply.github.com> Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
This commit is contained in:
18
files/helm/fastgpt/templates/service.yaml
Normal file
18
files/helm/fastgpt/templates/service.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ include "fastgpt.fullname" . }}
|
||||
labels:
|
||||
{{- include "fastgpt.labels" . | nindent 4 }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
ports:
|
||||
- port: {{ .Values.service.port }}
|
||||
{{- if .Values.service.nodePort }}
|
||||
nodePort: {{ .Values.service.nodePort }}
|
||||
{{- end}}
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
name: http
|
||||
selector:
|
||||
{{- include "fastgpt.selectorLabels" . | nindent 4 }}
|
Reference in New Issue
Block a user