Skip to content
This repository was archived by the owner on Sep 24, 2021. It is now read-only.

Commit a123f8a

Browse files
committed
Change package reference to awslabs
1 parent fc847c2 commit a123f8a

File tree

28 files changed

+61
-61
lines changed

28 files changed

+61
-61
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ all: test $(OUT_DIR)/adapter
1313

1414
src_deps=$(shell find pkg cmd -type f -name "*.go")
1515
$(OUT_DIR)/adapter: $(src_deps)
16-
CGO_ENABLED=0 GOARCH=$* go build -tags netgo -o $(OUT_DIR)/$*/adapter github.com/chankh/k8s-cloudwatch-adapter/cmd/adapter
16+
CGO_ENABLED=0 GOARCH=$* go build -tags netgo -o $(OUT_DIR)/$*/adapter github.com/awslabs/k8s-cloudwatch-adapter/cmd/adapter
1717

1818
docker-build: verify-apis
1919
cp deploy/Dockerfile $(TEMP_DIR)/Dockerfile
2020

21-
docker run -v $(TEMP_DIR):/build -v $(shell pwd):/go/src/github.com/chankh/k8s-cloudwatch-adapter -e GOARCH=amd64 $(GOIMAGE) /bin/bash -c "\
22-
CGO_ENABLED=0 go build -tags netgo -o /build/adapter github.com/chankh/k8s-cloudwatch-adapter/cmd/adapter"
21+
docker run -v $(TEMP_DIR):/build -v $(shell pwd):/go/src/github.com/awslabs/k8s-cloudwatch-adapter -e GOARCH=amd64 $(GOIMAGE) /bin/bash -c "\
22+
CGO_ENABLED=0 go build -tags netgo -o /build/adapter github.com/awslabs/k8s-cloudwatch-adapter/cmd/adapter"
2323

2424
docker build -t $(REGISTRY)/$(IMAGE):$(VERSION) $(TEMP_DIR)
2525
rm -rf $(TEMP_DIR)
@@ -36,7 +36,7 @@ push: docker-build
3636

3737
vendor: Gopkg.lock
3838
ifeq ($(VENDOR_DOCKERIZED),1)
39-
docker run -it -v $(shell pwd):/go/src/github.com/chankh/k8s-cloudwatch-adapter -w /go/src/github.com/chankh/k8s-cloudwatch-adapter $(GOIMAGE) /bin/bash -c "\
39+
docker run -it -v $(shell pwd):/go/src/github.com/awslabs/k8s-cloudwatch-adapter -w /go/src/github.com/awslabs/k8s-cloudwatch-adapter $(GOIMAGE) /bin/bash -c "\
4040
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh \
4141
&& dep ensure -vendor-only"
4242
else

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
[![Build Status](https://travis-ci.org/chankh/k8s-cloudwatch-adapter.svg?branch=master)](https://travis-ci.org/chankh/k8s-cloudwatch-adapter)
1+
[![Build Status](https://travis-ci.org/awslabs/k8s-cloudwatch-adapter.svg?branch=master)](https://travis-ci.org/awslabs/k8s-cloudwatch-adapter)
22
[![GitHub
3-
release](https://img.shields.io/github/release/chankh/k8s-cloudwatch-adapter/all.svg)](https://github.com/chankh/k8s-cloudwatch-adapter/releases)
3+
release](https://img.shields.io/github/release/awslabs/k8s-cloudwatch-adapter/all.svg)](https://github.com/awslabs/k8s-cloudwatch-adapter/releases)
44
[![docker image
55
size](https://shields.beevelop.com/docker/image/image-size/chankh/k8s-cloudwatch-adapter/latest.svg)](https://hub.docker.com/r/chankh/k8s-cloudwatch-adapter)
66
[![image
@@ -53,7 +53,7 @@ Requires a Kubernetes cluster with Metric Server deployed, Amazon EKS cluster is
5353
Now deploy the adapter to your Kubernetes cluster.
5454

5555
```bash
56-
$ kubectl apply -f https://raw.githubusercontent.com/chankh/k8s-cloudwatch-adapter/master/deploy/adapter.yaml
56+
$ kubectl apply -f https://raw.githubusercontent.com/awslabs/k8s-cloudwatch-adapter/master/deploy/adapter.yaml
5757
namespace/custom-metrics created
5858
clusterrolebinding.rbac.authorization.k8s.io/k8s-cloudwatch-adapter:system:auth-delegator created
5959
rolebinding.rbac.authorization.k8s.io/k8s-cloudwatch-adapter-auth-reader created
@@ -112,4 +112,4 @@ Refer to this [guide](samples/sqs/README.md)
112112
This library is licensed under the Apache 2.0 License.
113113

114114
## Issues
115-
Report any issues in the [Github Issues](https://github.com/chankh/k8s-cloudwatch-adapter/issues)
115+
Report any issues in the [Github Issues](https://github.com/awslabs/k8s-cloudwatch-adapter/issues)

cmd/adapter/adapter.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ import (
1010
"github.com/pkg/errors"
1111
"k8s.io/apiserver/pkg/util/logs"
1212

13-
"github.com/chankh/k8s-cloudwatch-adapter/pkg/aws"
14-
clientset "github.com/chankh/k8s-cloudwatch-adapter/pkg/client/clientset/versioned"
15-
informers "github.com/chankh/k8s-cloudwatch-adapter/pkg/client/informers/externalversions"
16-
"github.com/chankh/k8s-cloudwatch-adapter/pkg/config"
17-
adaptercfg "github.com/chankh/k8s-cloudwatch-adapter/pkg/config"
18-
"github.com/chankh/k8s-cloudwatch-adapter/pkg/controller"
19-
"github.com/chankh/k8s-cloudwatch-adapter/pkg/metriccache"
20-
cwprov "github.com/chankh/k8s-cloudwatch-adapter/pkg/provider"
13+
"github.com/awslabs/k8s-cloudwatch-adapter/pkg/aws"
14+
clientset "github.com/awslabs/k8s-cloudwatch-adapter/pkg/client/clientset/versioned"
15+
informers "github.com/awslabs/k8s-cloudwatch-adapter/pkg/client/informers/externalversions"
16+
"github.com/awslabs/k8s-cloudwatch-adapter/pkg/config"
17+
adaptercfg "github.com/awslabs/k8s-cloudwatch-adapter/pkg/config"
18+
"github.com/awslabs/k8s-cloudwatch-adapter/pkg/controller"
19+
"github.com/awslabs/k8s-cloudwatch-adapter/pkg/metriccache"
20+
cwprov "github.com/awslabs/k8s-cloudwatch-adapter/pkg/provider"
2121
basecmd "github.com/kubernetes-incubator/custom-metrics-apiserver/pkg/cmd"
2222
"github.com/kubernetes-incubator/custom-metrics-apiserver/pkg/provider"
2323
)

hack/update-codegen.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ set -o nounset
55
set -o pipefail
66

77
$GOPATH/src/k8s.io/code-generator/generate-groups.sh all \
8-
github.com/chankh/k8s-cloudwatch-adapter/pkg/client \
9-
github.com/chankh/k8s-cloudwatch-adapter/pkg/apis \
8+
github.com/awslabs/k8s-cloudwatch-adapter/pkg/client \
9+
github.com/awslabs/k8s-cloudwatch-adapter/pkg/apis \
1010
metrics:v1alpha1

pkg/apis/metrics/v1alpha1/register.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"k8s.io/apimachinery/pkg/runtime"
66
"k8s.io/apimachinery/pkg/runtime/schema"
77

8-
"github.com/chankh/k8s-cloudwatch-adapter/pkg/apis/metrics"
8+
"github.com/awslabs/k8s-cloudwatch-adapter/pkg/apis/metrics"
99
)
1010

1111
// SchemeGroupVersion is the group version used to register these objects

pkg/aws/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55

66
"github.com/aws/aws-sdk-go-v2/aws/external"
77
"github.com/aws/aws-sdk-go-v2/service/cloudwatch"
8-
"github.com/chankh/k8s-cloudwatch-adapter/pkg/config"
8+
"github.com/awslabs/k8s-cloudwatch-adapter/pkg/config"
99
"github.com/golang/glog"
1010
)
1111

pkg/aws/interface.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package aws
22

33
import (
44
"github.com/aws/aws-sdk-go-v2/service/cloudwatch"
5-
"github.com/chankh/k8s-cloudwatch-adapter/pkg/config"
5+
"github.com/awslabs/k8s-cloudwatch-adapter/pkg/config"
66
)
77

88
// Client represents a client for Amazon CloudWatch.

pkg/client/clientset/versioned/clientset.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/client/clientset/versioned/fake/clientset_generated.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/client/clientset/versioned/fake/register.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)