diff --git a/Makefile b/Makefile index 6591a19..deca13a 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # ==================================================================================== # Setup Project PROJECT_NAME := provider-kops -PROJECT_REPO := github.com/crossplane/$(PROJECT_NAME) +PROJECT_REPO := github.com/crossplane-contrib/$(PROJECT_NAME) PLATFORMS ?= linux_amd64 linux_arm64 -include build/makelib/common.mk diff --git a/apis/generate.go b/apis/generate.go index fe371aa..8dc4f86 100644 --- a/apis/generate.go +++ b/apis/generate.go @@ -1,3 +1,4 @@ +//go:build generate // +build generate /* diff --git a/apis/kops.go b/apis/kops.go index 3ea6885..e6c0c27 100644 --- a/apis/kops.go +++ b/apis/kops.go @@ -20,8 +20,8 @@ package apis import ( "k8s.io/apimachinery/pkg/runtime" - kops "github.com/crossplane/provider-kops/apis/kops/v1alpha1" - kopsv1alpha1 "github.com/crossplane/provider-kops/apis/v1alpha1" + kops "github.com/crossplane-contrib/provider-kops/apis/kops/v1alpha1" + kopsv1alpha1 "github.com/crossplane-contrib/provider-kops/apis/v1alpha1" ) func init() { diff --git a/cmd/provider/main.go b/cmd/provider/main.go index c89b4fb..3030a33 100644 --- a/cmd/provider/main.go +++ b/cmd/provider/main.go @@ -36,10 +36,10 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-kops/apis" - "github.com/crossplane/provider-kops/apis/v1alpha1" - kops "github.com/crossplane/provider-kops/internal/controller" - "github.com/crossplane/provider-kops/internal/controller/features" + "github.com/crossplane-contrib/provider-kops/apis" + "github.com/crossplane-contrib/provider-kops/apis/v1alpha1" + kops "github.com/crossplane-contrib/provider-kops/internal/controller" + "github.com/crossplane-contrib/provider-kops/internal/controller/features" ) func main() { diff --git a/go.mod b/go.mod index 9d5d8a0..809988d 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/crossplane/provider-kops +module github.com/crossplane-contrib/provider-kops go 1.17 diff --git a/internal/controller/config/config.go b/internal/controller/config/config.go index 600f8ba..0968d90 100644 --- a/internal/controller/config/config.go +++ b/internal/controller/config/config.go @@ -26,7 +26,7 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/providerconfig" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-kops/apis/v1alpha1" + "github.com/crossplane-contrib/provider-kops/apis/v1alpha1" ) // Setup adds a controller that reconciles ProviderConfigs by accounting for diff --git a/internal/controller/kops.go b/internal/controller/kops.go index b931892..954ef2e 100644 --- a/internal/controller/kops.go +++ b/internal/controller/kops.go @@ -20,8 +20,8 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/controller" ctrl "sigs.k8s.io/controller-runtime" - "github.com/crossplane/provider-kops/internal/controller/config" - "github.com/crossplane/provider-kops/internal/controller/kops" + "github.com/crossplane-contrib/provider-kops/internal/controller/config" + "github.com/crossplane-contrib/provider-kops/internal/controller/kops" ) // Setup creates all Kops controllers with the supplied logger and adds them to diff --git a/internal/controller/kops/kops.go b/internal/controller/kops/kops.go index cb76827..646572f 100644 --- a/internal/controller/kops/kops.go +++ b/internal/controller/kops/kops.go @@ -20,6 +20,10 @@ import ( "context" "fmt" + "github.com/crossplane-contrib/provider-kops/apis/kops/v1alpha1" + apisv1alpha1 "github.com/crossplane-contrib/provider-kops/apis/v1alpha1" + "github.com/crossplane-contrib/provider-kops/internal/controller/features" + "github.com/crossplane-contrib/provider-kops/internal/util" xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" "github.com/crossplane/crossplane-runtime/pkg/connection" "github.com/crossplane/crossplane-runtime/pkg/controller" @@ -28,10 +32,6 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-kops/apis/kops/v1alpha1" - apisv1alpha1 "github.com/crossplane/provider-kops/apis/v1alpha1" - "github.com/crossplane/provider-kops/internal/controller/features" - "github.com/crossplane/provider-kops/internal/util" "github.com/pkg/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" kopsClient "k8s.io/kops/pkg/client/simple" diff --git a/internal/util/util.go b/internal/util/util.go index 6b53441..30cf29a 100644 --- a/internal/util/util.go +++ b/internal/util/util.go @@ -7,8 +7,8 @@ import ( "strings" "time" + "github.com/crossplane-contrib/provider-kops/apis/kops/v1alpha1" "github.com/crossplane/crossplane-runtime/pkg/meta" - "github.com/crossplane/provider-kops/apis/kops/v1alpha1" "github.com/pkg/errors" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/package/crossplane.yaml b/package/crossplane.yaml index 53a43aa..382237d 100644 --- a/package/crossplane.yaml +++ b/package/crossplane.yaml @@ -4,7 +4,7 @@ metadata: name: provider-kops annotations: meta.crossplane.io/maintainer: Crossplane Maintainers - meta.crossplane.io/source: github.com/crossplane/provider-kops + meta.crossplane.io/source: github.com/crossplane-contrib/provider-kops meta.crossplane.io/license: Apache-2.0 meta.crossplane.io/description: | A kops that can be used to create Crossplane providers.