Skip to content

Commit

Permalink
Merge pull request #8 from linode/set-repo
Browse files Browse the repository at this point in the history
Set repo name for upbound and github
  • Loading branch information
nolancon authored May 11, 2023
2 parents dc376b3 + f2e9bfd commit dcd9d4c
Show file tree
Hide file tree
Showing 12 changed files with 36 additions and 36 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ====================================================================================
# Setup Project
PROJECT_NAME := provider-ceph
PROJECT_REPO := github.com/crossplane/$(PROJECT_NAME)
PROJECT_REPO := github.com/linode/$(PROJECT_NAME)

PLATFORMS ?= linux_amd64 linux_arm64
-include build/makelib/common.mk
Expand Down Expand Up @@ -44,10 +44,10 @@ IMAGES = provider-ceph
# ====================================================================================
# Setup XPKG

XPKG_REG_ORGS ?= xpkg.upbound.io/crossplane
XPKG_REG_ORGS ?= xpkg.upbound.io/linode
# NOTE(hasheddan): skip promoting on xpkg.upbound.io as channel tags are
# inferred.
XPKG_REG_ORGS_NO_PROMOTE ?= xpkg.upbound.io/crossplane
XPKG_REG_ORGS_NO_PROMOTE ?= xpkg.upbound.io/linode
XPKGS = provider-ceph
-include build/makelib/xpkg.mk

Expand Down
18 changes: 9 additions & 9 deletions PROVIDER_CHECKLIST.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Generally projects are named `provider-<name>`, 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.
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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

Expand All @@ -96,7 +96,7 @@ the publish and promotion workflows.
In general, providers should:

- [ ] Utilize GitHub workflows from
<https://github.com/crossplane/provider-ceph/tree/main/.github/workflows>
<https://github.com/linode/provider-ceph/tree/main/.github/workflows>
- [ ] 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
Expand All @@ -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))
4 changes: 2 additions & 2 deletions apis/ceph.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
10 changes: 5 additions & 5 deletions cmd/provider/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/crossplane/provider-ceph
module github.com/linode/provider-ceph

go 1.19

Expand Down
10 changes: 5 additions & 5 deletions internal/controller/bucket/bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
4 changes: 2 additions & 2 deletions internal/controller/bucket/bucket_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions internal/controller/ceph.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions internal/controller/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion internal/s3/bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion internal/s3/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion package/crossplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: provider-ceph
annotations:
meta.crossplane.io/maintainer: Crossplane Maintainers <[email protected]>
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.

0 comments on commit dcd9d4c

Please sign in to comment.