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:
17
files/helm/fastgpt/templates/secret-env.yaml
Normal file
17
files/helm/fastgpt/templates/secret-env.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
apiVersion: v1
|
||||
stringData:
|
||||
DEFAULT_ROOT_PSW: "1234"
|
||||
OPENAI_BASE_URL: "https://api.openai.com/v1"
|
||||
CHAT_API_KEY: "sk-xxxx"
|
||||
DB_MAX_LINK: "5"
|
||||
TOKEN_KEY: "any"
|
||||
ROOT_KEY: "root_key"
|
||||
FILE_TOKEN_KEY: "filetoken"
|
||||
MONGODB_URI: "mongodb://{{ .Values.mongodb.auth.rootUser }}:{{ .Values.mongodb.auth.rootPassword }}@{{ include "fastgpt.fullname" . }}-mongodb-headless:27017/fastgpt?authSource=admin"
|
||||
PG_URL: "postgresql://postgres:{{ .Values.postgresql.auth.rootPassword }}@{{ include "fastgpt.fullname" . }}-postgresql:5432/{{ .Values.postgresql.global.postgresql.auth.database }}"
|
||||
kind: Secret
|
||||
type: Opaque
|
||||
metadata:
|
||||
labels:
|
||||
{{ include "fastgpt.labels" . | nindent 4 }}
|
||||
name: {{ include "fastgpt.fullname" . }}-env
|
Reference in New Issue
Block a user