Skip to content

Commit 30231c8

Browse files
committed
*: update import paths from coreos to operator-framework
1 parent 1efc94a commit 30231c8

24 files changed

+49
-49
lines changed

CONTRIBUTING.MD

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This is a rough outline of what a contributor's workflow looks like:
2323
- Make commits of logical units.
2424
- Make sure commit messages are in the proper format (see below).
2525
- Push changes in a topic branch to a personal fork of the repository.
26-
- Submit a pull request to coreos/operator-sdk.
26+
- Submit a pull request to operator-framework/operator-sdk.
2727
- The PR must receive a LGTM from two maintainers found in the MAINTAINERS file.
2828

2929
Thanks for contributing!

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ At a high level an operator using the SDK processes events for watched resources
3131
First, checkout and install the operator-sdk CLI:
3232

3333
```sh
34-
$ cd $GOPATH/src/github.com/coreos/operator-sdk
34+
$ cd $GOPATH/src/github.com/operator-framework/operator-sdk
3535
$ git checkout tags/v0.0.4
3636
$ dep ensure
37-
$ go install github.com/coreos/operator-sdk/commands/operator-sdk
37+
$ go install github.com/operator-framework/operator-sdk/commands/operator-sdk
3838
```
3939

4040
Create and deploy an app-operator using the SDK CLI:

bill-of-materials.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
]
1919
},
2020
{
21-
"project": "github.com/coreos/operator-sdk",
21+
"project": "github.com/operator-framework/operator-sdk",
2222
"licenses": [
2323
{
2424
"type": "Apache License 2.0",

commands/operator-sdk/cmd/build.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ import (
2020
"os"
2121
"os/exec"
2222

23-
cmdError "github.com/coreos/operator-sdk/commands/operator-sdk/error"
24-
"github.com/coreos/operator-sdk/pkg/generator"
23+
cmdError "github.com/operator-framework/operator-sdk/commands/operator-sdk/error"
24+
"github.com/operator-framework/operator-sdk/pkg/generator"
2525

2626
"github.com/spf13/cobra"
2727
yaml "gopkg.in/yaml.v2"

commands/operator-sdk/cmd/generate.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
package cmd
1616

1717
import (
18-
"github.com/coreos/operator-sdk/commands/operator-sdk/cmd/generate"
18+
"github.com/operator-framework/operator-sdk/commands/operator-sdk/cmd/generate"
1919

2020
"github.com/spf13/cobra"
2121
)

commands/operator-sdk/cmd/generate/alm_catalog.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ import (
2020
"io/ioutil"
2121
"os"
2222

23-
cmdError "github.com/coreos/operator-sdk/commands/operator-sdk/error"
24-
"github.com/coreos/operator-sdk/pkg/generator"
23+
cmdError "github.com/operator-framework/operator-sdk/commands/operator-sdk/error"
24+
"github.com/operator-framework/operator-sdk/pkg/generator"
2525
yaml "gopkg.in/yaml.v2"
2626

2727
"github.com/spf13/cobra"

commands/operator-sdk/cmd/generate/k8s.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"os"
2121
"os/exec"
2222

23-
cmdError "github.com/coreos/operator-sdk/commands/operator-sdk/error"
23+
cmdError "github.com/operator-framework/operator-sdk/commands/operator-sdk/error"
2424

2525
"github.com/spf13/cobra"
2626
)

commands/operator-sdk/cmd/new.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ import (
2222
"path/filepath"
2323
"strings"
2424

25-
"github.com/coreos/operator-sdk/commands/operator-sdk/cmd/generate"
26-
cmdError "github.com/coreos/operator-sdk/commands/operator-sdk/error"
27-
"github.com/coreos/operator-sdk/pkg/generator"
25+
"github.com/operator-framework/operator-sdk/commands/operator-sdk/cmd/generate"
26+
cmdError "github.com/operator-framework/operator-sdk/commands/operator-sdk/error"
27+
"github.com/operator-framework/operator-sdk/pkg/generator"
2828

2929
"github.com/spf13/cobra"
3030
)

commands/operator-sdk/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"fmt"
1919
"os"
2020

21-
"github.com/coreos/operator-sdk/commands/operator-sdk/cmd"
21+
"github.com/operator-framework/operator-sdk/commands/operator-sdk/cmd"
2222
)
2323

2424
func main() {

doc/design/long-term/testing-operators.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Make functional tests easy to integrate into a big matrix (upstream, OpenShift,
1313
- SDK provides a method to generate a functional testing container
1414
- Docs for using a test container and setting it up against a number of providers for use in a partners CI environment
1515
- Provide a way to run the Operator binary locally outside of a container
16-
- Eg. https://github.com/coreos/operator-sdk/issues/142
16+
- Eg. https://github.com/operator-framework/operator-sdk/issues/142
1717

1818
**Open questions:**
1919
- none so far

doc/dev/developer_guide.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ This document explains how to setup your dev environment.
44

55
## Download Operator SDK
66

7-
Go to https://github.com/coreos/operator-sdk and follow the [fork guide][fork_guide] to fork, clone, and setup the local operator-sdk repository.
7+
Go to https://github.com/operator-framework/operator-sdk and follow the [fork guide][fork_guide] to fork, clone, and setup the local operator-sdk repository.
88

99
## Vendor dependencies
1010

1111
We use [dep](https://github.com/golang/dep) to manage dependencies.
1212
Run the following in the project root directory to update the vendored dependencies:
1313

1414
```sh
15-
$ cd $GOPATH/src/github.com/coreos/operator-sdk
15+
$ cd $GOPATH/src/github.com/operator-framework/operator-sdk
1616
$ dep ensure
1717
```
1818

@@ -25,7 +25,7 @@ Build the Operator SDK CLI `operator-sdk` binary:
2525

2626
```sh
2727
# TODO: replace this with the ./build script.
28-
$ go install github.com/coreos/operator-sdk/commands/operator-sdk
28+
$ go install github.com/operator-framework/operator-sdk/commands/operator-sdk
2929
```
3030

3131
## Testing

doc/dev/reporting_bugs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ It may be worthwhile to read [Elika Etemad’s article on filing good bug report
1818

1919
We might ask for further information to locate a bug. A duplicated bug report will be closed.
2020

21-
[operator-sdk-issue]: https://github.com/coreos/operator-sdk/issues/new
21+
[operator-sdk-issue]: https://github.com/operator-framework/operator-sdk/issues/new
2222
[filing-good-bugs]: http://fantasai.inkedblade.net/style/talks/filing-good-bugs/

doc/user-guide.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ The Operator SDK has a CLI tool that helps the developer to create, build, and d
1919
Checkout the desired release tag and install the SDK CLI tool:
2020

2121
```sh
22-
$ cd $GOPATH/src/github.com/coreos/operator-sdk
22+
$ cd $GOPATH/src/github.com/operator-framework/operator-sdk
2323
$ git checkout tags/v0.0.4
2424
$ dep ensure
25-
$ go install github.com/coreos/operator-sdk/commands/operator-sdk
25+
$ go install github.com/operator-framework/operator-sdk/commands/operator-sdk
2626
```
2727

2828
This installs the CLI binary `operator-sdk` at `$GOPATH/bin`.

example/memcached-operator/handler.go.tmpl

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import (
66

77
v1alpha1 "github.com/example-inc/memcached-operator/pkg/apis/cache/v1alpha1"
88

9-
"github.com/coreos/operator-sdk/pkg/sdk/action"
10-
"github.com/coreos/operator-sdk/pkg/sdk/handler"
11-
"github.com/coreos/operator-sdk/pkg/sdk/query"
12-
"github.com/coreos/operator-sdk/pkg/sdk/types"
9+
"github.com/operator-framework/operator-sdk/pkg/sdk/action"
10+
"github.com/operator-framework/operator-sdk/pkg/sdk/handler"
11+
"github.com/operator-framework/operator-sdk/pkg/sdk/query"
12+
"github.com/operator-framework/operator-sdk/pkg/sdk/types"
1313
appsv1 "k8s.io/api/apps/v1"
1414
"k8s.io/api/core/v1"
1515
apierrors "k8s.io/apimachinery/pkg/api/errors"

pkg/generator/api_tmpls.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ package {{.Version}}
2424
const apiRegisterTmpl = `package {{.Version}}
2525
2626
import (
27-
sdkK8sutil "github.com/coreos/operator-sdk/pkg/util/k8sutil"
27+
sdkK8sutil "github.com/operator-framework/operator-sdk/pkg/util/k8sutil"
2828
2929
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
3030
"k8s.io/apimachinery/pkg/runtime"

pkg/generator/gen_main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import (
2222

2323
const (
2424
// sdkImport is the operator-sdk import path.
25-
sdkImport = "github.com/coreos/operator-sdk/pkg/sdk"
26-
versionImport = "github.com/coreos/operator-sdk/version"
25+
sdkImport = "github.com/operator-framework/operator-sdk/pkg/sdk"
26+
versionImport = "github.com/operator-framework/operator-sdk/version"
2727
)
2828

2929
// Main contains all the customized data needed to generate cmd/<projectName>/main.go for a new operator

pkg/generator/generator_test.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ import (
3737
"runtime"
3838
3939
stub "github.com/example-inc/app-operator/pkg/stub"
40-
sdk "github.com/coreos/operator-sdk/pkg/sdk"
41-
sdkVersion "github.com/coreos/operator-sdk/version"
40+
sdk "github.com/operator-framework/operator-sdk/pkg/sdk"
41+
sdkVersion "github.com/operator-framework/operator-sdk/version"
4242
4343
"github.com/sirupsen/logrus"
4444
)
@@ -74,9 +74,9 @@ const handlerExp = `package stub
7474
import (
7575
"github.com/example-inc/app-operator/pkg/apis/app/v1alpha1"
7676
77-
"github.com/coreos/operator-sdk/pkg/sdk/action"
78-
"github.com/coreos/operator-sdk/pkg/sdk/handler"
79-
"github.com/coreos/operator-sdk/pkg/sdk/types"
77+
"github.com/operator-framework/operator-sdk/pkg/sdk/action"
78+
"github.com/operator-framework/operator-sdk/pkg/sdk/handler"
79+
"github.com/operator-framework/operator-sdk/pkg/sdk/types"
8080
"github.com/sirupsen/logrus"
8181
"k8s.io/api/core/v1"
8282
"k8s.io/apimachinery/pkg/api/errors"
@@ -153,7 +153,7 @@ func TestGenHandler(t *testing.T) {
153153
const registerExp = `package v1alpha1
154154
155155
import (
156-
sdkK8sutil "github.com/coreos/operator-sdk/pkg/util/k8sutil"
156+
sdkK8sutil "github.com/operator-framework/operator-sdk/pkg/util/k8sutil"
157157
158158
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
159159
"k8s.io/apimachinery/pkg/runtime"

pkg/generator/gopkg_tmpls.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ const gopkgTomlTmpl = `[[override]]
162162
version = "kubernetes-1.9.3"
163163
164164
[[constraint]]
165-
name = "github.com/coreos/operator-sdk"
165+
name = "github.com/operator-framework/operator-sdk"
166166
# The version rule is used for a specific release and the master branch for in between releases.
167167
branch = "master"
168168
# version = "=v0.0.4"

pkg/sdk/action/action.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ package action
1717
import (
1818
"fmt"
1919

20-
"github.com/coreos/operator-sdk/pkg/k8sclient"
21-
sdkTypes "github.com/coreos/operator-sdk/pkg/sdk/types"
22-
"github.com/coreos/operator-sdk/pkg/util/k8sutil"
20+
"github.com/operator-framework/operator-sdk/pkg/k8sclient"
21+
sdkTypes "github.com/operator-framework/operator-sdk/pkg/sdk/types"
22+
"github.com/operator-framework/operator-sdk/pkg/util/k8sutil"
2323
)
2424

2525
// Create creates the provided object on the server and updates the arg

pkg/sdk/api.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ package sdk
1717
import (
1818
"context"
1919

20-
"github.com/coreos/operator-sdk/pkg/k8sclient"
21-
sdkHandler "github.com/coreos/operator-sdk/pkg/sdk/handler"
22-
sdkInformer "github.com/coreos/operator-sdk/pkg/sdk/informer"
20+
"github.com/operator-framework/operator-sdk/pkg/k8sclient"
21+
sdkHandler "github.com/operator-framework/operator-sdk/pkg/sdk/handler"
22+
sdkInformer "github.com/operator-framework/operator-sdk/pkg/sdk/informer"
2323

2424
"github.com/sirupsen/logrus"
2525
)

pkg/sdk/handler/handler.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
package handler
1616

1717
import (
18-
sdkTypes "github.com/coreos/operator-sdk/pkg/sdk/types"
18+
sdkTypes "github.com/operator-framework/operator-sdk/pkg/sdk/types"
1919
)
2020

2121
// Handler reacts to events and outputs actions.

pkg/sdk/informer/sync.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
package informer
1616

1717
import (
18-
sdkHandler "github.com/coreos/operator-sdk/pkg/sdk/handler"
19-
sdkTypes "github.com/coreos/operator-sdk/pkg/sdk/types"
20-
"github.com/coreos/operator-sdk/pkg/util/k8sutil"
18+
sdkHandler "github.com/operator-framework/operator-sdk/pkg/sdk/handler"
19+
sdkTypes "github.com/operator-framework/operator-sdk/pkg/sdk/types"
20+
"github.com/operator-framework/operator-sdk/pkg/util/k8sutil"
2121

2222
"github.com/sirupsen/logrus"
2323
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"

pkg/sdk/query/query.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ package query
1717
import (
1818
"fmt"
1919

20-
"github.com/coreos/operator-sdk/pkg/k8sclient"
21-
sdkTypes "github.com/coreos/operator-sdk/pkg/sdk/types"
22-
"github.com/coreos/operator-sdk/pkg/util/k8sutil"
20+
"github.com/operator-framework/operator-sdk/pkg/k8sclient"
21+
sdkTypes "github.com/operator-framework/operator-sdk/pkg/sdk/types"
22+
"github.com/operator-framework/operator-sdk/pkg/util/k8sutil"
2323
)
2424

2525
// Get gets the specified object and unmarshals the retrieved data into the "into" object.

pkg/util/k8sutil/k8sutil.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ func UnstructuredFromRuntimeObject(ro runtime.Object) *unstructured.Unstructured
8585
}
8686

8787
// UnstructuredIntoRuntimeObject unmarshalls an unstructured into a given runtime object
88-
// TODO: https://github.com/coreos/operator-sdk/issues/127
88+
// TODO: https://github.com/operator-framework/operator-sdk/issues/127
8989
func UnstructuredIntoRuntimeObject(u *unstructured.Unstructured, into runtime.Object) error {
9090
gvk := u.GroupVersionKind()
9191
decoder := decoder(gvk.GroupVersion())

0 commit comments

Comments
 (0)