diff --git a/component/class/defaults.yml b/component/class/defaults.yml index 23cc2b6..8003fcf 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.1' + tag: 'v0.3.2' diff --git a/component/component/app.jsonnet b/component/component/app.jsonnet index e4f7609..3179140 100644 --- a/component/component/app.jsonnet +++ b/component/component/app.jsonnet @@ -1,9 +1,10 @@ local kap = import 'lib/kapitan.libjsonnet'; local inv = kap.inventory(); -local params = 'inv.parameters.cloudscale-metrics-collector'; +local params = inv.parameters.cloudscale_metrics_collector; +local paramsACR = inv.parameters.appuio_cloud_reporting; local argocd = import 'lib/argocd.libjsonnet'; -local app = argocd.App('cloudscale-metrics-collector', params.namespace, secrets=false); +local app = argocd.App('cloudscale-metrics-collector', paramsACR.namespace); { 'cloudscale-metrics-collector': app, 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 28bc73a..bd7e48e 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,7 +38,7 @@ spec: secretKeyRef: key: token name: cloudscale - image: ghcr.io/vshn/cloudscale-metrics-collector:v0.3.1 + image: ghcr.io/vshn/cloudscale-metrics-collector:v0.3.2 name: cloudscale-metrics-collector-backfill resources: {} restartPolicy: OnFailure