mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 00:05:15 +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.
|
# the "env" entries will override the environment variables from envFrom.
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: {{ .Values.dotenv.secret }}
|
name: {{ .Values.dotenv.secret | default .Release.Name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -18,7 +18,7 @@ configmap:
|
||||||
file: "config/bbgo.yaml"
|
file: "config/bbgo.yaml"
|
||||||
|
|
||||||
dotenv:
|
dotenv:
|
||||||
secret: "bbgo"
|
secret: null
|
||||||
|
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
# Specifies whether a service account should be created
|
# Specifies whether a service account should be created
|
||||||
|
|
Loading…
Reference in New Issue
Block a user