mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
Merge pull request #1713 from c9s/c9s/chart/env-section
This commit is contained in:
commit
68e56d76e6
|
@ -15,7 +15,7 @@ type: application
|
||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# This is the chart version. This version number should be incremented each time you make changes
|
||||||
# to the chart and its templates, including the app version.
|
# to the chart and its templates, including the app version.
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||||
version: 0.4.2
|
version: 0.4.3
|
||||||
|
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application. Versions are not expected to
|
# incremented each time you make changes to the application. Versions are not expected to
|
||||||
|
|
|
@ -98,6 +98,18 @@ spec:
|
||||||
mountPath: /config
|
mountPath: /config
|
||||||
|
|
||||||
# the "env" entries will override the environment variables from envFrom.
|
# the "env" entries will override the environment variables from envFrom.
|
||||||
|
env:
|
||||||
|
- name: USE_MARKETS_CACHE_IN_MEMORY
|
||||||
|
value: "true"
|
||||||
|
{{- if .Values.environment }}
|
||||||
|
- name: BBGO_ENV
|
||||||
|
value: {{ .Values.environment | quote }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{- if .Values.rbTreeOrderbook.enabled }}
|
||||||
|
- name: ENABLE_RBT_ORDERBOOK
|
||||||
|
value: "true"
|
||||||
|
{{- end }}
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: {{ .Values.dotenv.secret | default .Release.Name }}
|
name: {{ .Values.dotenv.secret | default .Release.Name }}
|
||||||
|
|
|
@ -89,6 +89,12 @@ grpc:
|
||||||
debug:
|
debug:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
|
environment: dev
|
||||||
|
|
||||||
|
# this set ENABLE_RBT_ORDERBOOK env
|
||||||
|
rbTreeOrderbook:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
sync:
|
sync:
|
||||||
enabled: false
|
enabled: false
|
||||||
schedule: "0 * * * *"
|
schedule: "0 * * * *"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user