Skip to content

Commit

Permalink
fix(configurations): correct package name
Browse files Browse the repository at this point in the history
  • Loading branch information
Duologic committed Dec 2, 2024
1 parent 995c8b3 commit 56731ca
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
LIBRARY_VERSION:=0.0.7
LIBRARY_VERSION:=0.0.8
PROVIDER_VERSION:=0.21.0
JSONNET_BIN:=jrsonnet
CROSSPLANE?=crank
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Most of this library is generated: the Compositions/XRDs packages, Configuration
## Install

```
jb install github.com/grafana/grafana-crossplane-libsonnet/[email protected].7-0.21.0
jb install github.com/grafana/grafana-crossplane-libsonnet/[email protected].8-0.21.0
```

## Usage
Expand Down
4 changes: 2 additions & 2 deletions generator/configurations.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -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/grafana-namespaced-' + key + ':' + version);
+ conf.spec.withPackage('ghcr.io/grafana/crossplane/' + key + ':' + version);

local groups =
std.set(
Expand All @@ -16,6 +16,6 @@ local groups =
);

function(configurationVersion) {
[group]: configuration(group, configurationVersion)
[group]: configuration('grafana-namespaced-' + group, configurationVersion)
for group in groups
}
32 changes: 16 additions & 16 deletions grafanaplane/configurations.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
annotations: {
'tanka.dev/namespaced': 'false',
},
name: 'alerting',
name: 'grafana-namespaced-alerting',
},
spec: {
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-alerting:0.0.7-0.21.0',
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-alerting:0.0.8-0.21.0',
},
},
cloud: {
Expand All @@ -19,10 +19,10 @@
annotations: {
'tanka.dev/namespaced': 'false',
},
name: 'cloud',
name: 'grafana-namespaced-cloud',
},
spec: {
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-cloud:0.0.7-0.21.0',
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-cloud:0.0.8-0.21.0',
},
},
enterprise: {
Expand All @@ -32,10 +32,10 @@
annotations: {
'tanka.dev/namespaced': 'false',
},
name: 'enterprise',
name: 'grafana-namespaced-enterprise',
},
spec: {
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-enterprise:0.0.7-0.21.0',
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-enterprise:0.0.8-0.21.0',
},
},
ml: {
Expand All @@ -45,10 +45,10 @@
annotations: {
'tanka.dev/namespaced': 'false',
},
name: 'ml',
name: 'grafana-namespaced-ml',
},
spec: {
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-ml:0.0.7-0.21.0',
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-ml:0.0.8-0.21.0',
},
},
oncall: {
Expand All @@ -58,10 +58,10 @@
annotations: {
'tanka.dev/namespaced': 'false',
},
name: 'oncall',
name: 'grafana-namespaced-oncall',
},
spec: {
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-oncall:0.0.7-0.21.0',
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-oncall:0.0.8-0.21.0',
},
},
oss: {
Expand All @@ -71,10 +71,10 @@
annotations: {
'tanka.dev/namespaced': 'false',
},
name: 'oss',
name: 'grafana-namespaced-oss',
},
spec: {
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-oss:0.0.7-0.21.0',
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-oss:0.0.8-0.21.0',
},
},
slo: {
Expand All @@ -84,10 +84,10 @@
annotations: {
'tanka.dev/namespaced': 'false',
},
name: 'slo',
name: 'grafana-namespaced-slo',
},
spec: {
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-slo:0.0.7-0.21.0',
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-slo:0.0.8-0.21.0',
},
},
sm: {
Expand All @@ -97,10 +97,10 @@
annotations: {
'tanka.dev/namespaced': 'false',
},
name: 'sm',
name: 'grafana-namespaced-sm',
},
spec: {
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-sm:0.0.7-0.21.0',
package: 'ghcr.io/grafana/crossplane/grafana-namespaced-sm:0.0.8-0.21.0',
},
},
}
2 changes: 1 addition & 1 deletion grafanaplane/version.libsonnet
Original file line number Diff line number Diff line change
@@ -1 +1 @@
'0.0.7-0.21.0'
'0.0.8-0.21.0'

0 comments on commit 56731ca

Please sign in to comment.