mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-28 00:56:26 +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:
15
files/helm/fastgpt/templates/tests/test-connection.yaml
Normal file
15
files/helm/fastgpt/templates/tests/test-connection.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: "{{ include "fastgpt.fullname" . }}-test-connection"
|
||||
labels:
|
||||
{{- include "fastgpt.labels" . | nindent 4 }}
|
||||
annotations:
|
||||
"helm.sh/hook": test
|
||||
spec:
|
||||
containers:
|
||||
- name: wget
|
||||
image: busybox
|
||||
command: ['wget']
|
||||
args: ['{{ include "fastgpt.fullname" . }}:{{ .Values.service.port }}']
|
||||
restartPolicy: Never
|
Reference in New Issue
Block a user