Merge pull request #1705 from c9s/c9s/k8s/sync-cronjob

FIX: [k8s] fix sync.enabled option
This commit is contained in:
c9s 2024-08-23 15:56:55 +08:00 committed by GitHub
commit c2679b4ae1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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 -}}

View File

@ -91,7 +91,7 @@ debug:
sync:
enabled: false
schedule: "* * * * *"
schedule: "0 * * * *"
## since: sync from time
since: false