diff --git a/component/class/defaults.yml b/component/class/defaults.yml index 8003fcf..20549ab 100644 --- a/component/class/defaults.yml +++ b/component/class/defaults.yml @@ -8,4 +8,4 @@ parameters: collector: registry: 'ghcr.io' repository: 'vshn/cloudscale-metrics-collector' - tag: 'v0.3.2' + tag: 'v0.3.3' diff --git a/component/component/main.jsonnet b/component/component/main.jsonnet index b935aaf..9840f49 100644 --- a/component/component/main.jsonnet +++ b/component/component/main.jsonnet @@ -94,7 +94,7 @@ local secrets = [ }, }, }, - schedule: '10 4,10,16,22 * * *', + schedule: '10 4,10,16 * * *', # Times in UTC! Don't run job around midnight as cloudscale API may return incomplete data successfulJobsHistoryLimit: 3, }, }, diff --git a/component/tests/golden/defaults/cloudscale-metrics-collector/cloudscale-metrics-collector/cronjob.yaml b/component/tests/golden/defaults/cloudscale-metrics-collector/cloudscale-metrics-collector/cronjob.yaml index bd7e48e..9929b5f 100644 --- a/component/tests/golden/defaults/cloudscale-metrics-collector/cloudscale-metrics-collector/cronjob.yaml +++ b/component/tests/golden/defaults/cloudscale-metrics-collector/cloudscale-metrics-collector/cronjob.yaml @@ -38,9 +38,9 @@ spec: secretKeyRef: key: token name: cloudscale - image: ghcr.io/vshn/cloudscale-metrics-collector:v0.3.2 + image: ghcr.io/vshn/cloudscale-metrics-collector:v0.3.3 name: cloudscale-metrics-collector-backfill resources: {} restartPolicy: OnFailure - schedule: 10 4,10,16,22 * * * + schedule: 10 4,10,16 * * * successfulJobsHistoryLimit: 3