use the secret name as the same as release name

This commit is contained in:
c9s 2020-12-17 18:08:09 +08:00
parent e282a8a917
commit 8c77e38ac9
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ spec:
# the "env" entries will override the environment variables from envFrom.
envFrom:
- secretRef:
name: {{ .Values.dotenv.secret }}
name: {{ .Values.dotenv.secret | default .Release.Name }}
{{- end }}
volumes:

View File

@ -18,7 +18,7 @@ configmap:
file: "config/bbgo.yaml"
dotenv:
secret: "bbgo"
secret: null
serviceAccount:
# Specifies whether a service account should be created