mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
Merge pull request #1705 from c9s/c9s/k8s/sync-cronjob
FIX: [k8s] fix sync.enabled option
This commit is contained in:
commit
c2679b4ae1
|
@ -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.0
|
version: 0.4.1
|
||||||
|
|
||||||
# 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
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
{{- if .Values.sync.enabled }}
|
||||||
---
|
---
|
||||||
apiVersion: batch/v1
|
apiVersion: batch/v1
|
||||||
kind: CronJob
|
kind: CronJob
|
||||||
|
@ -51,3 +52,4 @@ spec:
|
||||||
{{- else }}
|
{{- else }}
|
||||||
name: {{ include "bbgo.fullname" . }}
|
name: {{ include "bbgo.fullname" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end -}}
|
||||||
|
|
|
@ -91,7 +91,7 @@ debug:
|
||||||
|
|
||||||
sync:
|
sync:
|
||||||
enabled: false
|
enabled: false
|
||||||
schedule: "* * * * *"
|
schedule: "0 * * * *"
|
||||||
## since: sync from time
|
## since: sync from time
|
||||||
since: false
|
since: false
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user