mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
use the secret name as the same as release name
This commit is contained in:
parent
e282a8a917
commit
8c77e38ac9
|
@ -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:
|
||||
|
|
|
@ -18,7 +18,7 @@ configmap:
|
|||
file: "config/bbgo.yaml"
|
||||
|
||||
dotenv:
|
||||
secret: "bbgo"
|
||||
secret: null
|
||||
|
||||
serviceAccount:
|
||||
# Specifies whether a service account should be created
|
||||
|
|
Loading…
Reference in New Issue
Block a user