From 995c8b32f71705cab1ed69beac501bc5849c08d4 Mon Sep 17 00:00:00 2001 From: Duologic Date: Mon, 2 Dec 2024 22:56:39 +0100 Subject: [PATCH] fix(configurations): correct package path --- Makefile | 2 +- docs/README.md | 2 +- generator/configurations.libsonnet | 2 +- grafanaplane/configurations.libsonnet | 16 ++++++++-------- grafanaplane/version.libsonnet | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index 6368025..17dccc7 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -LIBRARY_VERSION:=0.0.6 +LIBRARY_VERSION:=0.0.7 PROVIDER_VERSION:=0.21.0 JSONNET_BIN:=jrsonnet CROSSPLANE?=crank diff --git a/docs/README.md b/docs/README.md index 61c4235..22cf10c 100644 --- a/docs/README.md +++ b/docs/README.md @@ -11,7 +11,7 @@ Most of this library is generated: the Compositions/XRDs packages, Configuration ## Install ``` -jb install github.com/grafana/grafana-crossplane-libsonnet/grafanaplane@0.0.6-0.21.0 +jb install github.com/grafana/grafana-crossplane-libsonnet/grafanaplane@0.0.7-0.21.0 ``` ## Usage diff --git a/generator/configurations.libsonnet b/generator/configurations.libsonnet index 3b36506..957f003 100644 --- a/generator/configurations.libsonnet +++ b/generator/configurations.libsonnet @@ -4,7 +4,7 @@ local crossplane = import 'github.com/jsonnet-libs/crossplane-libsonnet/crosspla local configuration(key, version) = local conf = crossplane.pkg.v1.configuration; conf.new(key) - + conf.spec.withPackage('ghcr.io/grafana/crossplane/' + key + ':' + version); + + conf.spec.withPackage('ghcr.io/grafana/crossplane/grafana-namespaced-' + key + ':' + version); local groups = std.set( diff --git a/grafanaplane/configurations.libsonnet b/grafanaplane/configurations.libsonnet index 822abf9..6242c34 100644 --- a/grafanaplane/configurations.libsonnet +++ b/grafanaplane/configurations.libsonnet @@ -9,7 +9,7 @@ name: 'alerting', }, spec: { - package: 'ghcr.io/grafana/crossplane/alerting:0.0.6-0.21.0', + package: 'ghcr.io/grafana/crossplane/grafana-namespaced-alerting:0.0.7-0.21.0', }, }, cloud: { @@ -22,7 +22,7 @@ name: 'cloud', }, spec: { - package: 'ghcr.io/grafana/crossplane/cloud:0.0.6-0.21.0', + package: 'ghcr.io/grafana/crossplane/grafana-namespaced-cloud:0.0.7-0.21.0', }, }, enterprise: { @@ -35,7 +35,7 @@ name: 'enterprise', }, spec: { - package: 'ghcr.io/grafana/crossplane/enterprise:0.0.6-0.21.0', + package: 'ghcr.io/grafana/crossplane/grafana-namespaced-enterprise:0.0.7-0.21.0', }, }, ml: { @@ -48,7 +48,7 @@ name: 'ml', }, spec: { - package: 'ghcr.io/grafana/crossplane/ml:0.0.6-0.21.0', + package: 'ghcr.io/grafana/crossplane/grafana-namespaced-ml:0.0.7-0.21.0', }, }, oncall: { @@ -61,7 +61,7 @@ name: 'oncall', }, spec: { - package: 'ghcr.io/grafana/crossplane/oncall:0.0.6-0.21.0', + package: 'ghcr.io/grafana/crossplane/grafana-namespaced-oncall:0.0.7-0.21.0', }, }, oss: { @@ -74,7 +74,7 @@ name: 'oss', }, spec: { - package: 'ghcr.io/grafana/crossplane/oss:0.0.6-0.21.0', + package: 'ghcr.io/grafana/crossplane/grafana-namespaced-oss:0.0.7-0.21.0', }, }, slo: { @@ -87,7 +87,7 @@ name: 'slo', }, spec: { - package: 'ghcr.io/grafana/crossplane/slo:0.0.6-0.21.0', + package: 'ghcr.io/grafana/crossplane/grafana-namespaced-slo:0.0.7-0.21.0', }, }, sm: { @@ -100,7 +100,7 @@ name: 'sm', }, spec: { - package: 'ghcr.io/grafana/crossplane/sm:0.0.6-0.21.0', + package: 'ghcr.io/grafana/crossplane/grafana-namespaced-sm:0.0.7-0.21.0', }, }, } diff --git a/grafanaplane/version.libsonnet b/grafanaplane/version.libsonnet index a3fc926..28b714d 100644 --- a/grafanaplane/version.libsonnet +++ b/grafanaplane/version.libsonnet @@ -1 +1 @@ -'0.0.6-0.21.0' +'0.0.7-0.21.0'