Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate resources from upbound.io to crossplane.io #7

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Install the provider by using the following command after changing the image tag
to the [latest release](https://marketplace.upbound.io/providers/crossplane-contrib/provider-infoblox-nios):

```shell
up ctp provider install crossplane-contrib/provider-infoblox-nios:v0.2.0
up ctp provider install crossplane-contrib/provider-infoblox-nios:v0.3.0
```

Alternatively, you can use declarative installation:
Expand All @@ -25,7 +25,7 @@ kind: Provider
metadata:
name: crossplane-contrib-provider-infoblox-nios
spec:
package: xpkg.upbound.io/crossplane-contrib/provider-infoblox-nios:v0.2.0
package: xpkg.upbound.io/crossplane-contrib/provider-infoblox-nios:v0.3.0
EOF
```

Expand Down
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/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ kind: Provider
metadata:
name: crossplane-contrib-provider-infoblox-nios
spec:
package: xpkg.upbound.io/crossplane-contrib/provider-infoblox-nios:v0.2.0
package: xpkg.upbound.io/crossplane-contrib/provider-infoblox-nios:v0.3.0
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
Loading
Loading