diff --git a/component/component/billing.jsonnet b/component/component/billing.jsonnet index 3fe6d1ab2..d8a2ca8f2 100644 --- a/component/component/billing.jsonnet +++ b/component/component/billing.jsonnet @@ -127,7 +127,7 @@ local backfillCJ = function(name, query, sla, type) env+: commonEnv + jobEnv, command: [ 'sh', '-c' ], args: [ - 'appuio-reporting report --timerange 1h --begin=$(date -d "now -3 hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u -Iseconds)', + 'appuio-reporting report --timerange 1h --begin=$(date -d "now -3 hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u +"%Y-%m-%dT%H:00:00Z)', ], resources: {}, }, diff --git a/component/tests/golden/vshn/appcat/appcat/billing/11_backfill.yaml b/component/tests/golden/vshn/appcat/appcat/billing/11_backfill.yaml index d62cbb961..7912dd715 100644 --- a/component/tests/golden/vshn/appcat/appcat/billing/11_backfill.yaml +++ b/component/tests/golden/vshn/appcat/appcat/billing/11_backfill.yaml @@ -32,7 +32,7 @@ spec: containers: - args: - appuio-reporting report --timerange 1h --begin=$(date -d "now -3 - hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u -Iseconds) + hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u +"%Y-%m-%dT%H:00:00Z) command: - sh - -c @@ -119,7 +119,7 @@ spec: containers: - args: - appuio-reporting report --timerange 1h --begin=$(date -d "now -3 - hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u -Iseconds) + hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u +"%Y-%m-%dT%H:00:00Z) command: - sh - -c @@ -206,7 +206,7 @@ spec: containers: - args: - appuio-reporting report --timerange 1h --begin=$(date -d "now -3 - hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u -Iseconds) + hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u +"%Y-%m-%dT%H:00:00Z) command: - sh - -c @@ -293,7 +293,7 @@ spec: containers: - args: - appuio-reporting report --timerange 1h --begin=$(date -d "now -3 - hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u -Iseconds) + hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u +"%Y-%m-%dT%H:00:00Z) command: - sh - -c @@ -380,7 +380,7 @@ spec: containers: - args: - appuio-reporting report --timerange 1h --begin=$(date -d "now -3 - hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u -Iseconds) + hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u +"%Y-%m-%dT%H:00:00Z) command: - sh - -c @@ -467,7 +467,7 @@ spec: containers: - args: - appuio-reporting report --timerange 1h --begin=$(date -d "now -3 - hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u -Iseconds) + hours" -u +"%Y-%m-%dT%H:00:00Z") --repeat-until=$(date -u +"%Y-%m-%dT%H:00:00Z) command: - sh - -c