diff --git a/charts/bbgo/Chart.yaml b/charts/bbgo/Chart.yaml index 2f27f5ae8..81856c143 100644 --- a/charts/bbgo/Chart.yaml +++ b/charts/bbgo/Chart.yaml @@ -15,7 +15,7 @@ type: application # 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. # 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 # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/bbgo/templates/cronjob_sync.yaml b/charts/bbgo/templates/cronjob_sync.yaml index 917bf3383..dcd164fb6 100644 --- a/charts/bbgo/templates/cronjob_sync.yaml +++ b/charts/bbgo/templates/cronjob_sync.yaml @@ -1,3 +1,4 @@ +{{- if .Values.sync.enabled }} --- apiVersion: batch/v1 kind: CronJob @@ -51,3 +52,4 @@ spec: {{- else }} name: {{ include "bbgo.fullname" . }} {{- end }} +{{- end -}} diff --git a/charts/bbgo/values.yaml b/charts/bbgo/values.yaml index f96b462c7..b444efa25 100644 --- a/charts/bbgo/values.yaml +++ b/charts/bbgo/values.yaml @@ -91,7 +91,7 @@ debug: sync: enabled: false - schedule: "* * * * *" + schedule: "0 * * * *" ## since: sync from time since: false