Skip to content

Commit ab1710b

Browse files
committed
Move to inlets org and inlets.dev
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent 3b4651e commit ab1710b

File tree

29 files changed

+74
-74
lines changed

29 files changed

+74
-74
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
I have:
2121

2222
- [ ] updated the documentation and/or roadmap (if required)
23-
- [ ] read the [CONTRIBUTION](https://github.com/alexellis/inlets/blob/master/CONTRIBUTING.md) guide
23+
- [ ] read the [CONTRIBUTION](https://github.com/inlets/inlets/blob/master/CONTRIBUTING.md) guide
2424
- [ ] signed-off my commits with `git commit -s`
2525
- [ ] added unit tests

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM golang:1.11
22

3-
RUN mkdir -p /go/src/github.com/alexellis/inlets-operator/
3+
RUN mkdir -p /go/src/github.com/inlets/inlets-operator/
44

5-
WORKDIR /go/src/github.com/alexellis/inlets-operator
5+
WORKDIR /go/src/github.com/inlets/inlets-operator
66

77
COPY . .
88

@@ -12,8 +12,8 @@ RUN gofmt -l -d $(find . -type f -name '*.go' -not -path "./vendor/*") && \
1212
VERSION=$(git describe --all --exact-match `git rev-parse HEAD` | grep tags | sed 's/tags\///') && \
1313
GIT_COMMIT=$(git rev-list -1 HEAD) && \
1414
env ${OPTS} CGO_ENABLED=0 GOOS=linux go build -ldflags "-s -w \
15-
-X github.com/alexellis/inlets-operator/pkg/version.Release=${VERSION} \
16-
-X github.com/alexellis/inlets-operator/pkg/version.SHA=${GIT_COMMIT}" \
15+
-X github.com/inlets/inlets-operator/pkg/version.Release=${VERSION} \
16+
-X github.com/inlets/inlets-operator/pkg/version.SHA=${GIT_COMMIT}" \
1717
-a -installsuffix cgo -o inlets-operator . && \
1818
addgroup --system app && \
1919
adduser --system --ingroup app app && \
@@ -28,7 +28,7 @@ FROM scratch
2828
COPY --from=0 /etc/passwd /etc/group /etc/
2929
COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
3030
COPY --from=0 --chown=app:app /scratch-tmp /tmp/
31-
COPY --from=0 /go/src/github.com/alexellis/inlets-operator/inlets-operator .
31+
COPY --from=0 /go/src/github.com/inlets/inlets-operator/inlets-operator .
3232

3333
USER app
3434

Makefile

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ TAG?=latest
66
export DOCKER_CLI_EXPERIMENTAL=enabled
77

88
build:
9-
docker build -t alexellis/inlets-operator:$(TAG)-amd64 . -f Dockerfile
10-
docker build --build-arg OPTS="GOARCH=arm64" -t alexellis/inlets-operator:$(TAG)-arm64 . -f Dockerfile
11-
docker build --build-arg OPTS="GOARCH=arm GOARM=6" -t alexellis/inlets-operator:$(TAG)-armhf . -f Dockerfile
9+
docker build -t inlets/inlets-operator:$(TAG)-amd64 . -f Dockerfile
10+
docker build --build-arg OPTS="GOARCH=arm64" -t inlets/inlets-operator:$(TAG)-arm64 . -f Dockerfile
11+
docker build --build-arg OPTS="GOARCH=arm GOARM=6" -t inlets/inlets-operator:$(TAG)-armhf . -f Dockerfile
1212

1313
push:
14-
docker push alexellis/inlets-operator:$(TAG)-amd64
15-
docker push alexellis/inlets-operator:$(TAG)-arm64
16-
docker push alexellis/inlets-operator:$(TAG)-armhf
14+
docker push inlets/inlets-operator:$(TAG)-amd64
15+
docker push inlets/inlets-operator:$(TAG)-arm64
16+
docker push inlets/inlets-operator:$(TAG)-armhf
1717

1818
manifest:
19-
docker manifest create --amend alexellis/inlets-operator:$(TAG) \
20-
alexellis/inlets-operator:$(TAG)-amd64 \
21-
alexellis/inlets-operator:$(TAG)-arm64 \
22-
alexellis/inlets-operator:$(TAG)-armhf
23-
docker manifest annotate alexellis/inlets-operator:$(TAG) alexellis/inlets-operator:$(TAG)-arm64 --os linux --arch arm64
24-
docker manifest annotate alexellis/inlets-operator:$(TAG) alexellis/inlets-operator:$(TAG)-armhf --os linux --arch arm --variant v6
25-
docker manifest push alexellis/inlets-operator:$(TAG)
19+
docker manifest create --amend inlets/inlets-operator:$(TAG) \
20+
inlets/inlets-operator:$(TAG)-amd64 \
21+
inlets/inlets-operator:$(TAG)-arm64 \
22+
inlets/inlets-operator:$(TAG)-armhf
23+
docker manifest annotate inlets/inlets-operator:$(TAG) inlets/inlets-operator:$(TAG)-arm64 --os linux --arch arm64
24+
docker manifest annotate inlets/inlets-operator:$(TAG) inlets/inlets-operator:$(TAG)-armhf --os linux --arch arm --variant v6
25+
docker manifest push inlets/inlets-operator:$(TAG)
2626

2727
test:
2828
go test ./...

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ kubectl apply -f ./aritifacts/crd.yaml
8787
export PACKET_PROJECT_ID="" # Populate from dashboard
8888

8989
export GOPATH=$HOME/go/
90-
go get -u github.com/alexellis/inlets-operator
91-
cd $GOPATH/github.com/alexellis/inlets-operator
90+
go get -u github.com/inlets/inlets-operator
91+
cd $GOPATH/github.com/inlets/inlets-operator
9292

9393
go get
9494

@@ -105,8 +105,8 @@ Sign up to [DigitalOcean.com](https://DigitalOcean.com) and get an access key, s
105105
kubectl apply ./aritifacts/crd.yaml
106106

107107
export GOPATH=$HOME/go/
108-
go get -u github.com/alexellis/inlets-operator
109-
cd $GOPATH/github.com/alexellis/inlets-operator
108+
go get -u github.com/inlets/inlets-operator
109+
cd $GOPATH/github.com/inlets/inlets-operator
110110

111111
go get
112112

artifacts/crd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
apiVersion: apiextensions.k8s.io/v1beta1
22
kind: CustomResourceDefinition
33
metadata:
4-
name: tunnels.inlets.alexellis.io
4+
name: tunnels.inlets.inlets.dev
55
spec:
6-
group: inlets.alexellis.io
6+
group: inlets.inlets.dev
77
version: v1alpha1
88
names:
99
kind: Tunnel

artifacts/operator-rbac.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ metadata:
1111
name: inlets-operator-rw
1212
namespace: default
1313
rules:
14-
- apiGroups: ["inlets.alexellis.io"]
14+
- apiGroups: ["inlets.inlets.dev"]
1515
resources: ["tunnels"]
1616
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
1717
- apiGroups: [""]

artifacts/operator.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
serviceAccountName: inlets-operator
1919
containers:
2020
- name: operator
21-
image: alexellis/inlets-operator:0.2.7
21+
image: inlets/inlets-operator:0.3.0
2222
imagePullPolicy: Always
2323
command:
2424
- ./inlets-operator
@@ -28,7 +28,7 @@ spec:
2828
- "-access-key-file=/var/secrets/inlets/inlets-access-key"
2929
env:
3030
- name: client_image
31-
value: alexellis2/inlets:2.5.2
31+
value: inlets/inlets:2.6.0
3232
resources:
3333
limits:
3434
memory: 128Mi

controller.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ import (
2626
"k8s.io/client-go/util/workqueue"
2727
"k8s.io/klog"
2828

29-
provision "github.com/alexellis/inlets-operator/pkg/provision"
29+
provision "github.com/inlets/inlets-operator/pkg/provision"
3030

31-
inletsv1alpha1 "github.com/alexellis/inlets-operator/pkg/apis/inletsoperator/v1alpha1"
32-
clientset "github.com/alexellis/inlets-operator/pkg/generated/clientset/versioned"
33-
samplescheme "github.com/alexellis/inlets-operator/pkg/generated/clientset/versioned/scheme"
34-
informers "github.com/alexellis/inlets-operator/pkg/generated/informers/externalversions/inletsoperator/v1alpha1"
35-
listers "github.com/alexellis/inlets-operator/pkg/generated/listers/inletsoperator/v1alpha1"
31+
inletsv1alpha1 "github.com/inlets/inlets-operator/pkg/apis/inletsoperator/v1alpha1"
32+
clientset "github.com/inlets/inlets-operator/pkg/generated/clientset/versioned"
33+
samplescheme "github.com/inlets/inlets-operator/pkg/generated/clientset/versioned/scheme"
34+
informers "github.com/inlets/inlets-operator/pkg/generated/informers/externalversions/inletsoperator/v1alpha1"
35+
listers "github.com/inlets/inlets-operator/pkg/generated/listers/inletsoperator/v1alpha1"
3636
)
3737

3838
const controllerAgentName = "sample-controller"
@@ -694,7 +694,7 @@ export INLETSTOKEN="` + authToken + `"
694694
export CONTROLPORT="` + controlPort + `"
695695
curl -sLS https://get.inlets.dev | sudo sh
696696
697-
curl -sLO https://raw.githubusercontent.com/alexellis/inlets/master/hack/inlets-operator.service && \
697+
curl -sLO https://raw.githubusercontent.com/inlets/inlets/master/hack/inlets-operator.service && \
698698
mv inlets-operator.service /etc/systemd/system/inlets.service && \
699699
echo "AUTHTOKEN=$INLETSTOKEN" > /etc/default/inlets && \
700700
echo "CONTROLPORT=$CONTROLPORT" > /etc/default/inlets && \

controller_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ import (
3333
"k8s.io/client-go/tools/cache"
3434
"k8s.io/client-go/tools/record"
3535

36-
inletsoperator "github.com/alexellis/inlets-operator/pkg/apis/inletsoperator/v1alpha1"
37-
"github.com/alexellis/inlets-operator/pkg/generated/clientset/versioned/fake"
38-
informers "github.com/alexellis/inlets-operator/pkg/generated/informers/externalversions"
36+
inletsoperator "github.com/inlets/inlets-operator/pkg/apis/inletsoperator/v1alpha1"
37+
"github.com/inlets/inlets-operator/pkg/generated/clientset/versioned/fake"
38+
informers "github.com/inlets/inlets-operator/pkg/generated/informers/externalversions"
3939
)
4040

4141
var (

hack/update-codegen.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ CODEGEN_PKG=${CODEGEN_PKG:-$(cd "${SCRIPT_ROOT}"; ls -d -1 ./vendor/k8s.io/code-
2828
#"deepcopy,client,informer,lister" \
2929

3030
"${CODEGEN_PKG}"/generate-groups.sh all \
31-
github.com/alexellis/inlets-operator/pkg/generated github.com/alexellis/inlets-operator/pkg/apis \
31+
github.com/inlets/inlets-operator/pkg/generated github.com/inlets/inlets-operator/pkg/apis \
3232
inletsoperator:v1alpha1 \
3333
--output-base "$(dirname "${BASH_SOURCE[0]}")/../../.." \
3434
--go-header-file "${SCRIPT_ROOT}"/hack/boilerplate.go.txt
@@ -38,4 +38,4 @@ echo
3838
# To use your own boilerplate text append:
3939
# --go-header-file "${SCRIPT_ROOT}"/hack/custom-boilerplate.go.txt
4040

41-
cp -r "$(dirname "${BASH_SOURCE[0]}")/../../../github.com/alexellis/inlets-operator/." "${SCRIPT_ROOT}/"
41+
cp -r "$(dirname "${BASH_SOURCE[0]}")/../../../github.com/inlets/inlets-operator/." "${SCRIPT_ROOT}/"

0 commit comments

Comments
 (0)