Skip to content

Commit

Permalink
migrate resources to crossplane.io group
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Borrelli <[email protected]>
  • Loading branch information
stevendborrelli committed Jun 4, 2024
1 parent 9e0afca commit 44d6c0d
Show file tree
Hide file tree
Showing 35 changed files with 101 additions and 59 deletions.
4 changes: 2 additions & 2 deletions apis/dns/v1alpha1/zz_groupversion_info.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions apis/ip/v1alpha1/zz_groupversion_info.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions apis/ipv4/v1alpha1/zz_groupversion_info.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions apis/ipv6/v1alpha1/zz_groupversion_info.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions apis/network/v1alpha1/zz_groupversion_info.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apis/v1alpha1/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ Copyright 2021 Upbound Inc.

// Package v1alpha1 contains the core resources of the infoblox-nios jet provider.
// +kubebuilder:object:generate=true
// +groupName=infoblox-nios.upbound.io
// +groupName=infoblox-nios.crossplane.io
// +versionName=v1alpha1
package v1alpha1
2 changes: 1 addition & 1 deletion apis/v1alpha1/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

// Package type metadata.
const (
Group = "infoblox-nios.upbound.io"
Group = "infoblox-nios.crossplane.io"
Version = "v1alpha1"
)

Expand Down
2 changes: 1 addition & 1 deletion apis/v1beta1/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ Copyright 2022 Upbound Inc.

// Package v1beta1 contains the core resources of the infoblox-nios upjet provider.
// +kubebuilder:object:generate=true
// +groupName=infoblox-nios.upbound.io
// +groupName=infoblox-nios.crossplane.io
// +versionName=v1beta1
package v1beta1
2 changes: 1 addition & 1 deletion apis/v1beta1/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

// Package type metadata.
const (
Group = "infoblox-nios.upbound.io"
Group = "infoblox-nios.crossplane.io"
Version = "v1beta1"
)

Expand Down
2 changes: 1 addition & 1 deletion cluster/test/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ${KUBECTL} -n upbound-system wait --for=condition=Available deployment --all --t

echo "Creating a default provider config..."
cat <<EOF | ${KUBECTL} apply -f -
apiVersion: infoblox-nios.upbound.io/v1beta1
apiVersion: infoblox-nios.crossplane.io/v1beta1
kind: ProviderConfig
metadata:
name: default
Expand Down
2 changes: 2 additions & 0 deletions config/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import (

const (
resourcePrefix = "infoblox-nios"
rootGroup = resourcePrefix + "." + "crossplane.io"
modulePath = "github.com/crossplane-contrib/provider-infoblox-nios"
)

Expand All @@ -44,6 +45,7 @@ var providerMetadata string
// GetProvider returns provider configuration
func GetProvider() *ujconfig.Provider {
pc := ujconfig.NewProvider([]byte(providerSchema), resourcePrefix, modulePath, []byte(providerMetadata),
ujconfig.WithRootGroup(rootGroup),
ujconfig.WithIncludeList(ExternalNameConfigured()),
ujconfig.WithFeaturesPackage("internal/features"),
ujconfig.WithDefaultResourceOptions(
Expand Down
2 changes: 1 addition & 1 deletion examples/providerconfig/providerconfig.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: infoblox-nios.upbound.io/v1beta1
apiVersion: infoblox-nios.crossplane.io/v1beta1
kind: ProviderConfig
metadata:
name: default
Expand Down
2 changes: 1 addition & 1 deletion examples/storeconfig/vault.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: infoblox-nios.upbound.io/v1alpha1
apiVersion: infoblox-nios.crossplane.io/v1alpha1
kind: StoreConfig
metadata:
name: vault
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
name: aaaas.dns.infoblox-nios.upbound.io
name: aaaas.dns.infoblox-nios.crossplane.io
spec:
group: dns.infoblox-nios.upbound.io
group: dns.infoblox-nios.crossplane.io
names:
categories:
- crossplane
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
name: cnames.dns.infoblox-nios.upbound.io
name: cnames.dns.infoblox-nios.crossplane.io
spec:
group: dns.infoblox-nios.upbound.io
group: dns.infoblox-nios.crossplane.io
names:
categories:
- crossplane
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
name: mxs.dns.infoblox-nios.upbound.io
name: mxs.dns.infoblox-nios.crossplane.io
spec:
group: dns.infoblox-nios.upbound.io
group: dns.infoblox-nios.crossplane.io
names:
categories:
- crossplane
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
name: ptrs.dns.infoblox-nios.upbound.io
name: ptrs.dns.infoblox-nios.crossplane.io
spec:
group: dns.infoblox-nios.upbound.io
group: dns.infoblox-nios.crossplane.io
names:
categories:
- crossplane
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
name: records.dns.infoblox-nios.upbound.io
name: records.dns.infoblox-nios.crossplane.io
spec:
group: dns.infoblox-nios.upbound.io
group: dns.infoblox-nios.crossplane.io
names:
categories:
- crossplane
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
name: srvs.dns.infoblox-nios.upbound.io
name: srvs.dns.infoblox-nios.crossplane.io
spec:
group: dns.infoblox-nios.upbound.io
group: dns.infoblox-nios.crossplane.io
names:
categories:
- crossplane
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
name: txts.dns.infoblox-nios.upbound.io
name: txts.dns.infoblox-nios.crossplane.io
spec:
group: dns.infoblox-nios.upbound.io
group: dns.infoblox-nios.crossplane.io
names:
categories:
- crossplane
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
name: providerconfigs.infoblox-nios.upbound.io
name: providerconfigs.infoblox-nios.crossplane.io
spec:
group: infoblox-nios.upbound.io
group: infoblox-nios.crossplane.io
names:
categories:
- crossplane
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
name: providerconfigusages.infoblox-nios.upbound.io
name: providerconfigusages.infoblox-nios.crossplane.io
spec:
group: infoblox-nios.upbound.io
group: infoblox-nios.crossplane.io
names:
categories:
- crossplane
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
name: storeconfigs.infoblox-nios.upbound.io
name: storeconfigs.infoblox-nios.crossplane.io
spec:
group: infoblox-nios.upbound.io
group: infoblox-nios.crossplane.io
names:
categories:
- crossplane
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
name: allocations.ip.infoblox-nios.upbound.io
name: allocations.ip.infoblox-nios.crossplane.io
spec:
group: ip.infoblox-nios.upbound.io
group: ip.infoblox-nios.crossplane.io
names:
categories:
- crossplane
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
name: associations.ip.infoblox-nios.upbound.io
name: associations.ip.infoblox-nios.crossplane.io
spec:
group: ip.infoblox-nios.upbound.io
group: ip.infoblox-nios.crossplane.io
names:
categories:
- crossplane
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
name: allocations.ipv6.infoblox-nios.upbound.io
name: allocations.ipv4.infoblox-nios.crossplane.io
spec:
group: ipv6.infoblox-nios.upbound.io
group: ipv4.infoblox-nios.crossplane.io
names:
categories:
- crossplane
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
name: associations.ipv6.infoblox-nios.upbound.io
name: associations.ipv4.infoblox-nios.crossplane.io
spec:
group: ipv6.infoblox-nios.upbound.io
group: ipv4.infoblox-nios.crossplane.io
names:
categories:
- crossplane
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
name: networkcontainers.ipv4.infoblox-nios.upbound.io
name: networkcontainers.ipv4.infoblox-nios.crossplane.io
spec:
group: ipv4.infoblox-nios.upbound.io
group: ipv4.infoblox-nios.crossplane.io
names:
categories:
- crossplane
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
name: networks.ipv4.infoblox-nios.upbound.io
name: networks.ipv4.infoblox-nios.crossplane.io
spec:
group: ipv4.infoblox-nios.upbound.io
group: ipv4.infoblox-nios.crossplane.io
names:
categories:
- crossplane
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
name: allocations.ipv4.infoblox-nios.upbound.io
name: allocations.ipv6.infoblox-nios.crossplane.io
spec:
group: ipv4.infoblox-nios.upbound.io
group: ipv6.infoblox-nios.crossplane.io
names:
categories:
- crossplane
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
name: associations.ipv4.infoblox-nios.upbound.io
name: associations.ipv6.infoblox-nios.crossplane.io
spec:
group: ipv4.infoblox-nios.upbound.io
group: ipv6.infoblox-nios.crossplane.io
names:
categories:
- crossplane
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
name: networkcontainers.ipv6.infoblox-nios.upbound.io
name: networkcontainers.ipv6.infoblox-nios.crossplane.io
spec:
group: ipv6.infoblox-nios.upbound.io
group: ipv6.infoblox-nios.crossplane.io
names:
categories:
- crossplane
Expand Down
Loading

0 comments on commit 44d6c0d

Please sign in to comment.