add since parameter

This commit is contained in:
c9s 2024-08-23 14:22:49 +08:00
parent 4bbb9c5e38
commit c7f62cf1e5
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54
2 changed files with 6 additions and 0 deletions

View File

@ -30,6 +30,10 @@ spec:
- "sync"
- "--config"
- "/config/bbgo.yaml"
{{- if .Values.sync.since }}
- "--since"
- {{ .Values.sync.since | quote }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:

View File

@ -92,6 +92,8 @@ debug:
sync:
enabled: false
schedule: "* * * * *"
## since: sync from time
since: false
resources:
# We usually recommend not to specify default resources and to leave this as a conscious