Skip to content

Commit

Permalink
Crossplane: Upgrade Grafana + Clear out old versions (#350)
Browse files Browse the repository at this point in the history
They can still be pulled by jsonnet-bundler by pointing to an old changeset
Generating the Crossplane provider libs is pretty long
  • Loading branch information
julienduchesne authored Oct 9, 2023
1 parent 1572503 commit 268b114
Showing 1 changed file with 2 additions and 72 deletions.
74 changes: 2 additions & 72 deletions libs/crossplane/config.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -19,34 +19,6 @@ config.new(
localName: 'crossplane',
patchDir: 'custom/crossplane',
},
{
output: 'crossplane/1.11',
prefix: '^io\\.crossplane\\.(pkg|apiextensions)\\..*',
crds: ['https://doc.crds.dev/raw/github.com/crossplane/[email protected]'],
localName: 'crossplane',
patchDir: 'custom/crossplane',
},
{
output: 'crossplane/1.10',
prefix: '^io\\.crossplane\\.(pkg|apiextensions)\\..*',
crds: ['https://doc.crds.dev/raw/github.com/crossplane/[email protected]'],
localName: 'crossplane',
patchDir: 'custom/crossplane',
},
{
output: 'crossplane/1.9',
prefix: '^io\\.crossplane\\.(pkg|apiextensions)\\..*',
crds: ['https://doc.crds.dev/raw/github.com/crossplane/[email protected]'],
localName: 'crossplane',
patchDir: 'custom/crossplane',
},
{
output: 'crossplane/1.8',
prefix: '^io\\.crossplane\\.(pkg|apiextensions)\\..*',
crds: ['https://doc.crds.dev/raw/github.com/crossplane/[email protected]'],
localName: 'crossplane',
patchDir: 'custom/crossplane',
},

// crossplane-contrib
{
Expand All @@ -73,24 +45,12 @@ config.new(
crds: ['https://doc.crds.dev/raw/github.com/crossplane-contrib/[email protected]'],
localName: 'crossplane_sql',
},
{
output: 'provider-sql/0.6',
prefix: '^io\\.crossplane\\.sql\\..*',
crds: ['https://doc.crds.dev/raw/github.com/crossplane-contrib/[email protected]'],
localName: 'crossplane_sql',
},
{
output: 'provider-kubernetes/0.9',
prefix: '^io\\.crossplane\\.kubernetes\\..*',
crds: ['https://doc.crds.dev/raw/github.com/crossplane-contrib/[email protected]'],
localName: 'crossplane_kubernetes',
},
{
output: 'provider-kubernetes/0.6',
prefix: '^io\\.crossplane\\.kubernetes\\..*',
crds: ['https://doc.crds.dev/raw/github.com/crossplane-contrib/[email protected]'],
localName: 'crossplane_kubernetes',
},
{
output: 'provider-helm/0.13',
prefix: '^io\\.crossplane\\.helm\\..*',
Expand All @@ -103,12 +63,6 @@ config.new(
crds: ['https://doc.crds.dev/raw/github.com/crossplane-contrib/[email protected]'],
localName: 'crossplane_jet_mongodbatlas',
},
{
output: 'provider-nop/0.1.1',
prefix: '^io\\.crossplane\\.nop\\..*',
crds: ['https://doc.crds.dev/raw/github.com/crossplane-contrib/[email protected]'],
localName: 'crossplane_nop',
},
{
output: 'provider-nop/0.2.0',
prefix: '^io\\.crossplane\\.nop\\..*',
Expand All @@ -118,9 +72,9 @@ config.new(

// Grafana
{
output: 'provider-grafana/0.5',
output: 'provider-grafana/0.7',
prefix: '^io\\.crossplane\\.grafana\\..*',
crds: ['https://github.com/grafana/crossplane-provider-grafana/releases/download/v0.5.0/crds.yaml'],
crds: ['https://github.com/grafana/crossplane-provider-grafana/releases/download/v0.7.0/crds.yaml'],
localName: 'crossplane_grafana',
},

Expand All @@ -132,12 +86,6 @@ config.new(
crds: ['https://doc.crds.dev/raw/github.com/upbound/[email protected]'],
localName: 'upbound_aws',
},
{
output: 'upbound-provider-aws/0.31',
prefix: '^io\\.upbound\\.aws\\..*',
crds: ['https://doc.crds.dev/raw/github.com/upbound/[email protected]'],
localName: 'upbound_aws',
},
{
output: 'upbound-provider-azure/0.29',
prefix: '^io\\.upbound\\.azure\\..*',
Expand All @@ -150,35 +98,17 @@ config.new(
crds: ['https://doc.crds.dev/raw/github.com/upbound/[email protected]'],
localName: 'upbound_azuread',
},
{
output: 'upbound-provider-azuread/0.5',
prefix: '^io\\.upbound\\.azuread\\..*',
crds: ['https://doc.crds.dev/raw/github.com/upbound/[email protected]'],
localName: 'upbound_azuread',
},
{
output: 'upbound-provider-gcp/0.36',
prefix: '^io\\.upbound\\.gcp\\..*',
crds: ['https://doc.crds.dev/raw/github.com/upbound/[email protected]'],
localName: 'upbound_gcp',
},
{
output: 'upbound-provider-gcp/0.29',
prefix: '^io\\.upbound\\.gcp\\..*',
crds: ['https://doc.crds.dev/raw/github.com/upbound/[email protected]'],
localName: 'upbound_gcp',
},
{
output: 'provider-terraform/0.10',
prefix: '^io\\.upbound\\.tf\\..*',
crds: ['https://doc.crds.dev/raw/github.com/upbound/[email protected]'],
localName: 'upbound_terraform',
},
{
output: 'provider-terraform/0.5',
prefix: '^io\\.upbound\\.tf\\..*',
crds: ['https://doc.crds.dev/raw/github.com/upbound/[email protected]'],
localName: 'upbound_terraform',
},
]
)

0 comments on commit 268b114

Please sign in to comment.