Skip to content

Commit 2b1f17b

Browse files
committed
chore: go module migrate to composable-operator/composable
Signed-off-by: Matthias Riegler <[email protected]>
1 parent 2058409 commit 2b1f17b

17 files changed

+27
-31
lines changed

CONTRIBUTING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ as well as the guidelines we follow for how our documents are formatted.
1212

1313
To report an issue, or to suggest an idea for a change that you haven't
1414
had time to write-up yet, open an
15-
[issue](https://github.com/IBM/composable/issues). It is best to check
16-
our existing [issues](https://github.com/IBM/composable/issues) first
15+
[issue](https://github.com/composable-operator/composable/issues). It is best to check
16+
our existing [issues](https://github.com/composable-operator/composable/issues) first
1717
to see if a similar one has already been opened and discussed.
1818

1919
## Suggesting a Change
2020

2121
To suggest a change to this repository, submit a [pull
22-
request](https://github.com/IBM/composable/pulls)(PR) with the complete
22+
request](https://github.com/composable-operator/composable/pulls)(PR) with the complete
2323
set of changes you'd like to see. See the
2424
[Code Style](#code-style) section for
2525
the guidelines we follow for how documents are formatted.

PROJECT

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ domain: ibm.com
22
layout:
33
- go.kubebuilder.io/v3
44
projectName: composable
5-
repo: github.com/ibm/composable
5+
repo: github.com/composable-operator/composable
66
resources:
77
- api:
88
crdVersion: v1
@@ -11,7 +11,7 @@ resources:
1111
domain: ibm.com
1212
group: ibmcloud
1313
kind: Composable
14-
path: github.com/ibm/composable/api/v1alpha1
14+
path: github.com/composable-operator/composable/api/v1alpha1
1515
version: v1alpha1
1616
webhooks:
1717
defaulting: true

api/v1alpha1/composable_webhook.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"strconv"
2222
"strings"
2323

24-
sdk "github.com/ibm/composable/sdk"
24+
sdk "github.com/composable-operator/composable/sdk"
2525
apierrors "k8s.io/apimachinery/pkg/api/errors"
2626
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
2727
"k8s.io/apimachinery/pkg/runtime"

api/v1alpha1/groupversion_info.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ limitations under the License.
1515
*/
1616

1717
// Package v1alpha1 contains API Schema definitions for the ibmcloud v1alpha1 API group
18-
//+kubebuilder:object:generate=true
19-
//+groupName=ibmcloud.ibm.com
18+
// +kubebuilder:object:generate=true
19+
// +groupName=ibmcloud.ibm.com
2020
package v1alpha1
2121

2222
import (

api/v1alpha1/zz_generated.deepcopy.go

-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controllers/composable_controller.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ import (
3737
"sigs.k8s.io/controller-runtime/pkg/reconcile"
3838
"sigs.k8s.io/controller-runtime/pkg/source"
3939

40-
ibmcloudv1alpha1 "github.com/ibm/composable/api/v1alpha1"
41-
sdk "github.com/ibm/composable/sdk"
40+
ibmcloudv1alpha1 "github.com/composable-operator/composable/api/v1alpha1"
41+
sdk "github.com/composable-operator/composable/sdk"
4242
"github.com/spf13/viper"
4343
)
4444

controllers/composable_controller_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
package controllers
1818

1919
import (
20-
"github.com/ibm/composable/controllers/test"
21-
sdk "github.com/ibm/composable/sdk"
20+
"github.com/composable-operator/composable/controllers/test"
21+
sdk "github.com/composable-operator/composable/sdk"
2222
. "github.com/onsi/ginkgo"
2323
. "github.com/onsi/gomega"
2424
v1 "k8s.io/api/core/v1"

controllers/suite_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
"testing"
2323
"time"
2424

25-
"github.com/ibm/composable/controllers/test"
25+
"github.com/composable-operator/composable/controllers/test"
2626
. "github.com/onsi/ginkgo"
2727
. "github.com/onsi/gomega"
2828
"k8s.io/client-go/kubernetes/scheme"
@@ -33,7 +33,7 @@ import (
3333
logf "sigs.k8s.io/controller-runtime/pkg/log"
3434
"sigs.k8s.io/controller-runtime/pkg/log/zap"
3535

36-
ibmcloudv1alpha1 "github.com/ibm/composable/api/v1alpha1"
36+
ibmcloudv1alpha1 "github.com/composable-operator/composable/api/v1alpha1"
3737
//+kubebuilder:scaffold:imports
3838
)
3939

controllers/test/gomega.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package test
1919
import (
2020
"context"
2121

22-
"github.com/ibm/composable/api/v1alpha1"
22+
"github.com/composable-operator/composable/api/v1alpha1"
2323
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
2424
"k8s.io/apimachinery/pkg/types"
2525
"sigs.k8s.io/controller-runtime/pkg/client"

controllers/test/template.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626
"k8s.io/apimachinery/pkg/util/yaml"
2727
"sigs.k8s.io/controller-runtime/pkg/client"
2828

29-
"github.com/ibm/composable/api/v1alpha1"
29+
"github.com/composable-operator/composable/api/v1alpha1"
3030
)
3131

3232
// PostInNs the object

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/ibm/composable
1+
module github.com/composable-operator/composable
22

33
go 1.17
44

main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ import (
3434
flag "github.com/spf13/pflag"
3535
"github.com/spf13/viper"
3636

37-
ibmcloudv1alpha1 "github.com/ibm/composable/api/v1alpha1"
38-
"github.com/ibm/composable/controllers"
37+
ibmcloudv1alpha1 "github.com/composable-operator/composable/api/v1alpha1"
38+
"github.com/composable-operator/composable/controllers"
3939
//+kubebuilder:scaffold:imports
4040
)
4141

sdk/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
:warning: This is not up-to-date anymore!
44

55
[![Build Status](https://travis-ci.com/IBM/composable.svg?branch=master)](https://travis-ci.com/IBM/composable)
6-
[![Go Report Card](https://goreportcard.com/badge/github.com/IBM/composable)](https://goreportcard.com/report/github.com/IBM/composable)
7-
[![GoDoc](https://godoc.org/github.com/IBM/composable/sdk?status.svg)](https://godoc.org/github.com/IBM/composable/sdk)
6+
[![Go Report Card](https://goreportcard.com/badge/github.com/composable-operator/composable)](https://goreportcard.com/report/github.com/composable-operator/composable)
7+
[![GoDoc](https://godoc.org/github.com/composable-operator/composable/sdk?status.svg)](https://godoc.org/github.com/composable-operator/composable/sdk)
88

99
Kubernetes object specifications often require constant values for their fields. When deploying an entire application
1010
with many different resources, this limitation often results in the need for staged deployments, because some resources
@@ -22,7 +22,7 @@ See this [tutorial](./docs/tutorial.md), in which we add cross-references to the
2222

2323
To install, run:
2424
```
25-
go get github.com/ibm/composable/sdk
25+
go get github.com/composable-operator/composable/sdk
2626
```
2727

2828
## Types
@@ -46,7 +46,7 @@ type ComposableGetValueFrom struct {
4646
```
4747

4848
An `ObjectRef` can be used to specify the type of any field of a CRD definition, allowing the value to be determined dynamically.
49-
For a detailed explanation of how to specify an object reference according to this schema, see [here](https://github.com/IBM/composable/blob/master/README.md#getvaluefrom-elements).
49+
For a detailed explanation of how to specify an object reference according to this schema, see [here](https://github.com/composable-operator/composable/blob/master/README.md#getvaluefrom-elements).
5050

5151
The Composable SDK offers the following types to be used as part of a Reconciler in a controller:
5252

sdk/docs/memcached-controller.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
cachev1alpha1 "github.com/operator-framework/operator-sdk-samples/memcached-operator/pkg/apis/cache/v1alpha1"
99

10-
sdk "github.com/ibm/composable/sdk"
10+
sdk "github.com/composable-operator/composable/sdk"
1111
appsv1 "k8s.io/api/apps/v1"
1212
corev1 "k8s.io/api/core/v1"
1313
"k8s.io/apimachinery/pkg/api/errors"

sdk/docs/memcached-types.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
package v1alpha1
33

44
import (
5-
sdk "github.com/ibm/composable/sdk"
5+
sdk "github.com/composable-operator/composable/sdk"
66
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
77
)
88

sdk/docs/tutorial.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type MemcachedSpec struct {
2828
We modify this `struct` as shown below:
2929
```golang
3030
import (
31-
sdk "github.com/ibm/composable/sdk"
31+
sdk "github.com/composable-operator/composable/sdk"
3232
...
3333
)
3434

@@ -58,7 +58,7 @@ type ComposableGetValueFrom struct {
5858
}
5959
```
6060

61-
For a detailed explanation of how to specify an object reference according to this schema, see [here](https://github.com/IBM/composable/blob/master/README.md#getvaluefrom-elements).
61+
For a detailed explanation of how to specify an object reference according to this schema, see [here](https://github.com/composable-operator/composable/blob/master/README.md#getvaluefrom-elements).
6262

6363
Given the new specification for `Memcached`, a sample CR can be written as:
6464
```yaml

sdk/zz_generated.deepcopy.go

-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)