From f2e9bfdc2eeae8a09b60b405f23a342f4d1f7acc Mon Sep 17 00:00:00 2001 From: nolancon Date: Thu, 11 May 2023 16:22:36 +0000 Subject: [PATCH] Update paths --- PROVIDER_CHECKLIST.md | 18 +++++++++--------- apis/ceph.go | 4 ++-- cmd/provider/main.go | 10 +++++----- go.mod | 2 +- internal/controller/bucket/bucket.go | 10 +++++----- internal/controller/bucket/bucket_test.go | 4 ++-- internal/controller/ceph.go | 6 +++--- internal/controller/config/config.go | 6 +++--- internal/s3/bucket.go | 2 +- internal/s3/client.go | 2 +- package/crossplane.yaml | 2 +- 11 files changed, 33 insertions(+), 33 deletions(-) diff --git a/PROVIDER_CHECKLIST.md b/PROVIDER_CHECKLIST.md index 8602171f..3044fd65 100644 --- a/PROVIDER_CHECKLIST.md +++ b/PROVIDER_CHECKLIST.md @@ -30,7 +30,7 @@ Generally projects are named `provider-`, with `name` being the API being managed. Example project names are `provider-aws`, `provider-kubernetes`, and `provider-github`. -The [provider-ceph](https://github.com/crossplane/provider-ceph) repository can be +The [provider-ceph](https://github.com/linode/provider-ceph) repository can be used as a starting point for new providers. For [terrajet](https://github.com/crossplane/terrajet)-based providers, the [provider-jet-ceph](https://github.com/crossplane-contrib/provider-jet-ceph) is available. @@ -43,17 +43,17 @@ Most Crossplane providers include the following files: [provider-gcp/README.md](https://github.com/crossplane/provider-gcp/blob/master/README.md) as an example) - [ ] Code is licensed under the [Apache 2.0 - License](https://github.com/crossplane/provider-ceph/blob/main/LICENSE) + License](https://github.com/linode/provider-ceph/blob/main/LICENSE) - [ ] Include a “Developer Certificate of Origin”. Example: [DCO](https://github.com/upbound/build/blob/master/DCO) - [ ] Include the CNCF [Code of Conduct](https://github.com/crossplane/crossplane/blob/master/CODE_OF_CONDUCT.md) - [ ] Update - [OWNERS.md](https://github.com/crossplane/provider-ceph/blob/main/OWNERS.md) + [OWNERS.md](https://github.com/linode/provider-ceph/blob/main/OWNERS.md) with contacts for project Owners - [ ] Ensure `hack/boilerplate.go.txt` (used in Code generation) includes Crossplane Authors, Apache license and any other Copyright statements: - [https://github.com/crossplane/provider-ceph/blob/main/hack/boilerplate.go.txt](https://github.com/crossplane/provider-ceph/blob/main/hack/boilerplate.go.txt) + [https://github.com/linode/provider-ceph/blob/main/hack/boilerplate.go.txt](https://github.com/linode/provider-ceph/blob/main/hack/boilerplate.go.txt) - [ ] Include Documentation on how to: - [ ] Install Provider - [ ] Contribute to Development @@ -68,7 +68,7 @@ There are a number of build tools and processes that are common across the Crossplane ecosystem. Using these ensures a consistent development environment across projects. -The [provider-ceph](https://github.com/crossplane/provider-ceph) +The [provider-ceph](https://github.com/linode/provider-ceph) repository contains most of these settings. - [ ] Use the [Upbound build](https://github.com/upbound/build) submodule. (see @@ -81,7 +81,7 @@ repository contains most of these settings. - [ ] Create a [Crossplane Package](https://crossplane.io/docs/master/concepts/packages.html) configuration (see - [package/crossplane.yaml)](https://github.com/crossplane/provider-ceph/blob/main/package/crossplane.yaml) + [package/crossplane.yaml)](https://github.com/linode/provider-ceph/blob/main/package/crossplane.yaml) ## Deployment of Artifacts @@ -96,7 +96,7 @@ the publish and promotion workflows. In general, providers should: - [ ] Utilize GitHub workflows from - + - [ ] Create OCI image repos to push Package and Controller images. - [ ] Automatically push Provider images and packages via CI - [ ] Add GitHub Secrets to push to Docker repository. (To be performed by @@ -113,6 +113,6 @@ to grant your project access to the GitHub org scoped secrets. - [ ] Follow recommendations at [https://github.com/crossplane/crossplane/blob/master/GOVERNANCE.md#repository-governance](https://github.com/crossplane/crossplane/blob/master/GOVERNANCE.md#repository-governance) - [ ] Enable Issues on your project and configure Issue cephs (examples at: - [.github/ISSUE_TEMPLATE](https://github.com/crossplane/provider-ceph/tree/master/.github/ISSUE_TEMPLATE)) + [.github/ISSUE_TEMPLATE](https://github.com/linode/provider-ceph/tree/master/.github/ISSUE_TEMPLATE)) - [ ] Create Pull Request Cephs: (example: - [PULL_REQUEST_TEMPLATE.md](https://github.com/crossplane/provider-ceph/blob/master/.github/PULL_REQUEST_TEMPLATE.md)) + [PULL_REQUEST_TEMPLATE.md](https://github.com/linode/provider-ceph/blob/master/.github/PULL_REQUEST_TEMPLATE.md)) diff --git a/apis/ceph.go b/apis/ceph.go index 807393d8..a54d8ced 100644 --- a/apis/ceph.go +++ b/apis/ceph.go @@ -20,8 +20,8 @@ package apis import ( "k8s.io/apimachinery/pkg/runtime" - providercephv1alpha1 "github.com/crossplane/provider-ceph/apis/provider-ceph/v1alpha1" - v1alpha1 "github.com/crossplane/provider-ceph/apis/v1alpha1" + providercephv1alpha1 "github.com/linode/provider-ceph/apis/provider-ceph/v1alpha1" + v1alpha1 "github.com/linode/provider-ceph/apis/v1alpha1" ) func init() { diff --git a/cmd/provider/main.go b/cmd/provider/main.go index 6f6189b9..8d4e0ef3 100644 --- a/cmd/provider/main.go +++ b/cmd/provider/main.go @@ -39,11 +39,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/ratelimiter" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-ceph/apis" - "github.com/crossplane/provider-ceph/apis/v1alpha1" - "github.com/crossplane/provider-ceph/internal/backendstore" - ceph "github.com/crossplane/provider-ceph/internal/controller" - "github.com/crossplane/provider-ceph/internal/controller/features" + "github.com/linode/provider-ceph/apis" + "github.com/linode/provider-ceph/apis/v1alpha1" + "github.com/linode/provider-ceph/internal/backendstore" + ceph "github.com/linode/provider-ceph/internal/controller" + "github.com/linode/provider-ceph/internal/controller/features" ) var defaultZapConfig = map[string]string{ diff --git a/go.mod b/go.mod index 9a8dd5e5..abd88277 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/crossplane/provider-ceph +module github.com/linode/provider-ceph go 1.19 diff --git a/internal/controller/bucket/bucket.go b/internal/controller/bucket/bucket.go index 52babdc5..50af73d3 100644 --- a/internal/controller/bucket/bucket.go +++ b/internal/controller/bucket/bucket.go @@ -38,11 +38,11 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" - "github.com/crossplane/provider-ceph/apis/provider-ceph/v1alpha1" - apisv1alpha1 "github.com/crossplane/provider-ceph/apis/v1alpha1" - "github.com/crossplane/provider-ceph/internal/backendstore" - "github.com/crossplane/provider-ceph/internal/controller/features" - s3internal "github.com/crossplane/provider-ceph/internal/s3" + "github.com/linode/provider-ceph/apis/provider-ceph/v1alpha1" + apisv1alpha1 "github.com/linode/provider-ceph/apis/v1alpha1" + "github.com/linode/provider-ceph/internal/backendstore" + "github.com/linode/provider-ceph/internal/controller/features" + s3internal "github.com/linode/provider-ceph/internal/s3" ) const ( diff --git a/internal/controller/bucket/bucket_test.go b/internal/controller/bucket/bucket_test.go index f85e92f8..d03965ce 100644 --- a/internal/controller/bucket/bucket_test.go +++ b/internal/controller/bucket/bucket_test.go @@ -27,8 +27,8 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/managed" "github.com/crossplane/crossplane-runtime/pkg/resource" "github.com/crossplane/crossplane-runtime/pkg/test" - "github.com/crossplane/provider-ceph/apis/provider-ceph/v1alpha1" - "github.com/crossplane/provider-ceph/internal/backendstore" + "github.com/linode/provider-ceph/apis/provider-ceph/v1alpha1" + "github.com/linode/provider-ceph/internal/backendstore" ) // Unlike many Kubernetes projects Crossplane does not use third party testing diff --git a/internal/controller/ceph.go b/internal/controller/ceph.go index 64b16d42..9a8e5fa9 100644 --- a/internal/controller/ceph.go +++ b/internal/controller/ceph.go @@ -20,9 +20,9 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/controller" ctrl "sigs.k8s.io/controller-runtime" - "github.com/crossplane/provider-ceph/internal/backendstore" - "github.com/crossplane/provider-ceph/internal/controller/bucket" - "github.com/crossplane/provider-ceph/internal/controller/config" + "github.com/linode/provider-ceph/internal/backendstore" + "github.com/linode/provider-ceph/internal/controller/bucket" + "github.com/linode/provider-ceph/internal/controller/config" ) // Setup creates all Ceph controllers with the supplied logger and adds them to diff --git a/internal/controller/config/config.go b/internal/controller/config/config.go index 69f409d0..ae744d84 100644 --- a/internal/controller/config/config.go +++ b/internal/controller/config/config.go @@ -35,9 +35,9 @@ import ( "github.com/crossplane/crossplane-runtime/pkg/reconciler/providerconfig" "github.com/crossplane/crossplane-runtime/pkg/resource" - apisv1alpha1 "github.com/crossplane/provider-ceph/apis/v1alpha1" - "github.com/crossplane/provider-ceph/internal/backendstore" - s3internal "github.com/crossplane/provider-ceph/internal/s3" + apisv1alpha1 "github.com/linode/provider-ceph/apis/v1alpha1" + "github.com/linode/provider-ceph/internal/backendstore" + s3internal "github.com/linode/provider-ceph/internal/s3" ) const ( diff --git a/internal/s3/bucket.go b/internal/s3/bucket.go index 51fdd0d4..71b27bc0 100644 --- a/internal/s3/bucket.go +++ b/internal/s3/bucket.go @@ -4,7 +4,7 @@ import ( "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/service/s3" s3types "github.com/aws/aws-sdk-go-v2/service/s3/types" - "github.com/crossplane/provider-ceph/apis/provider-ceph/v1alpha1" + "github.com/linode/provider-ceph/apis/provider-ceph/v1alpha1" ) func BucketToCreateBucketInput(bucket *v1alpha1.Bucket) *s3.CreateBucketInput { diff --git a/internal/s3/client.go b/internal/s3/client.go index c93a9968..12000ebc 100644 --- a/internal/s3/client.go +++ b/internal/s3/client.go @@ -9,7 +9,7 @@ import ( "github.com/aws/aws-sdk-go-v2/credentials" "github.com/aws/aws-sdk-go-v2/service/s3" - apisv1alpha1 "github.com/crossplane/provider-ceph/apis/v1alpha1" + apisv1alpha1 "github.com/linode/provider-ceph/apis/v1alpha1" ) const ( diff --git a/package/crossplane.yaml b/package/crossplane.yaml index 2ba1aba1..1ec33673 100644 --- a/package/crossplane.yaml +++ b/package/crossplane.yaml @@ -4,7 +4,7 @@ metadata: name: provider-ceph annotations: meta.crossplane.io/maintainer: Crossplane Maintainers - meta.crossplane.io/source: github.com/crossplane/provider-ceph + meta.crossplane.io/source: github.com/linode/provider-ceph meta.crossplane.io/license: Apache-2.0 meta.crossplane.io/description: | A Crossplane provider that performs CRUD operations on s3 buckets.