From b749def83714a6ab2ea16facf434e0483d357369 Mon Sep 17 00:00:00 2001 From: leonnicolas Date: Mon, 16 Aug 2021 09:09:02 +0200 Subject: [PATCH] Prepare move to kilo-io This commit changes all package paths from squat/kilo to kilo-io/kilo and the docker image name from squat/kilo to kiloio/squat. The API name and comments regarding the website kilo.squat.ai are unchanged. Signed-off-by: leonnicolas --- Makefile | 4 +-- README.md | 26 +++++++++---------- cmd/kg/handlers.go | 2 +- cmd/kg/main.go | 12 ++++----- cmd/kgctl/graph.go | 3 ++- cmd/kgctl/main.go | 8 +++--- cmd/kgctl/showconf.go | 6 ++--- docs/building_kilo.md | 2 +- docs/kg.md | 2 +- docs/kgctl.md | 6 ++--- docs/network-policies.md | 2 +- docs/userspace-wireguard.md | 8 +++--- e2e/kilo-kind-userspace.yaml | 4 +-- e2e/lib.sh | 6 ++--- go.mod | 2 +- pkg/encapsulation/encapsulation.go | 2 +- pkg/encapsulation/flannel.go | 3 ++- pkg/encapsulation/ipip.go | 4 +-- pkg/encapsulation/noop.go | 2 +- pkg/k8s/backend.go | 12 ++++----- pkg/k8s/backend_test.go | 6 ++--- pkg/k8s/clientset/versioned/clientset.go | 2 +- .../versioned/fake/clientset_generated.go | 6 ++--- pkg/k8s/clientset/versioned/fake/register.go | 2 +- .../clientset/versioned/scheme/register.go | 2 +- .../kilo/v1alpha1/fake/fake_kilo_client.go | 2 +- .../typed/kilo/v1alpha1/fake/fake_peer.go | 2 +- .../typed/kilo/v1alpha1/kilo_client.go | 4 +-- .../versioned/typed/kilo/v1alpha1/peer.go | 4 +-- pkg/k8s/informers/factory.go | 6 ++--- pkg/k8s/informers/generic.go | 2 +- .../internalinterfaces/factory_interfaces.go | 2 +- pkg/k8s/informers/kilo/interface.go | 4 +-- pkg/k8s/informers/kilo/v1alpha1/interface.go | 2 +- pkg/k8s/informers/kilo/v1alpha1/peer.go | 8 +++--- pkg/k8s/listers/kilo/v1alpha1/peer.go | 2 +- pkg/mesh/backend.go | 2 +- pkg/mesh/graph.go | 3 ++- pkg/mesh/mesh.go | 10 +++---- pkg/mesh/mesh_test.go | 2 +- pkg/mesh/routes.go | 4 +-- pkg/mesh/routes_test.go | 2 +- pkg/mesh/topology.go | 2 +- pkg/mesh/topology_test.go | 2 +- 44 files changed, 101 insertions(+), 98 deletions(-) diff --git a/Makefile b/Makefile index 9ec640a9..cdeb8832 100644 --- a/Makefile +++ b/Makefile @@ -12,9 +12,9 @@ else endif RELEASE_BINS := $(addprefix bin/release/kgctl-, $(addprefix linux-, $(ALL_ARCH)) darwin-amd64 darwin-arm64 windows-amd64) PROJECT := kilo -PKG := github.com/squat/$(PROJECT) +PKG := github.com/kilo-io/$(PROJECT) REGISTRY ?= index.docker.io -IMAGE ?= squat/$(PROJECT) +IMAGE ?= kiloio/$(PROJECT) FULLY_QUALIFIED_IMAGE := $(REGISTRY)/$(IMAGE) TAG := $(shell git describe --abbrev=0 --tags HEAD 2>/dev/null) diff --git a/README.md b/README.md index 20fb71a3..b6d54c58 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ Kilo is a multi-cloud network overlay built on WireGuard and designed for Kubernetes. -[![Build Status](https://github.com/squat/kilo/workflows/CI/badge.svg)](https://github.com/squat/kilo/actions?query=workflow%3ACI) -[![Go Report Card](https://goreportcard.com/badge/github.com/squat/kilo)](https://goreportcard.com/report/github.com/squat/kilo) +[![Build Status](https://github.com/kilo-io/kilo/workflows/CI/badge.svg)](https://github.com/kilo-io/kilo/actions?query=workflow%3ACI) +[![Go Report Card](https://goreportcard.com/badge/github.com/kilo-io/kilo)](https://goreportcard.com/report/github.com/kilo-io/kilo) [![Docker Pulls](https://img.shields.io/docker/pulls/squat/kilo)](https://hub.docker.com/r/squat/kilo) [![Slack](https://img.shields.io/badge/join%20slack-%23kilo-brightgreen.svg)](https://slack.k8s.io/) @@ -72,29 +72,29 @@ Kilo can be installed by deploying a DaemonSet to the cluster. To run Kilo on kubeadm: ```shell -kubectl apply -f https://raw.githubusercontent.com/squat/kilo/main/manifests/crds.yaml -kubectl apply -f https://raw.githubusercontent.com/squat/kilo/main/manifests/kilo-kubeadm.yaml +kubectl apply -f https://raw.githubusercontent.com/kilo-io/kilo/main/manifests/crds.yaml +kubectl apply -f https://raw.githubusercontent.com/kilo-io/kilo/main/manifests/kilo-kubeadm.yaml ``` To run Kilo on bootkube: ```shell -kubectl apply -f https://raw.githubusercontent.com/squat/kilo/main/manifests/crds.yaml -kubectl apply -f https://raw.githubusercontent.com/squat/kilo/main/manifests/kilo-bootkube.yaml +kubectl apply -f https://raw.githubusercontent.com/kilo-io/kilo/main/manifests/crds.yaml +kubectl apply -f https://raw.githubusercontent.com/kilo-io/kilo/main/manifests/kilo-bootkube.yaml ``` To run Kilo on Typhoon: ```shell -kubectl apply -f https://raw.githubusercontent.com/squat/kilo/main/manifests/crds.yaml -kubectl apply -f https://raw.githubusercontent.com/squat/kilo/main/manifests/kilo-typhoon.yaml +kubectl apply -f https://raw.githubusercontent.com/kilo-io/kilo/main/manifests/crds.yaml +kubectl apply -f https://raw.githubusercontent.com/kilo-io/kilo/main/manifests/kilo-typhoon.yaml ``` To run Kilo on k3s: ```shell -kubectl apply -f https://raw.githubusercontent.com/squat/kilo/main/manifests/crds.yaml -kubectl apply -f https://raw.githubusercontent.com/squat/kilo/main/manifests/kilo-k3s.yaml +kubectl apply -f https://raw.githubusercontent.com/kilo-io/kilo/main/manifests/crds.yaml +kubectl apply -f https://raw.githubusercontent.com/kilo-io/kilo/main/manifests/kilo-k3s.yaml ``` ## Add-on Mode @@ -106,11 +106,11 @@ Kilo currently supports running on top of Flannel. For example, to run Kilo on a Typhoon cluster running Flannel: ```shell -kubectl apply -f https://raw.githubusercontent.com/squat/kilo/main/manifests/crds.yaml -kubectl apply -f https://raw.githubusercontent.com/squat/kilo/main/manifests/kilo-typhoon-flannel.yaml +kubectl apply -f https://raw.githubusercontent.com/kilo-io/kilo/main/manifests/crds.yaml +kubectl apply -f https://raw.githubusercontent.com/kilo-io/kilo/main/manifests/kilo-typhoon-flannel.yaml ``` -[See the manifests directory for more examples](https://github.com/squat/kilo/tree/main/manifests). +[See the manifests directory for more examples](https://github.com/kilo-io/kilo/tree/main/manifests). ## VPN diff --git a/cmd/kg/handlers.go b/cmd/kg/handlers.go index 2c7504ff..48de2c74 100644 --- a/cmd/kg/handlers.go +++ b/cmd/kg/handlers.go @@ -24,7 +24,7 @@ import ( "os" "os/exec" - "github.com/squat/kilo/pkg/mesh" + "github.com/kilo-io/kilo/pkg/mesh" ) type graphHandler struct { diff --git a/cmd/kg/main.go b/cmd/kg/main.go index 525966b9..8f26b9ef 100644 --- a/cmd/kg/main.go +++ b/cmd/kg/main.go @@ -35,12 +35,12 @@ import ( "k8s.io/client-go/kubernetes" "k8s.io/client-go/tools/clientcmd" - "github.com/squat/kilo/pkg/encapsulation" - "github.com/squat/kilo/pkg/k8s" - kiloclient "github.com/squat/kilo/pkg/k8s/clientset/versioned" - "github.com/squat/kilo/pkg/mesh" - "github.com/squat/kilo/pkg/version" - "github.com/squat/kilo/pkg/wireguard" + "github.com/kilo-io/kilo/pkg/encapsulation" + "github.com/kilo-io/kilo/pkg/k8s" + kiloclient "github.com/kilo-io/kilo/pkg/k8s/clientset/versioned" + "github.com/kilo-io/kilo/pkg/mesh" + "github.com/kilo-io/kilo/pkg/version" + "github.com/kilo-io/kilo/pkg/wireguard" ) const ( diff --git a/cmd/kgctl/graph.go b/cmd/kgctl/graph.go index 5813113b..31ff5e64 100644 --- a/cmd/kgctl/graph.go +++ b/cmd/kgctl/graph.go @@ -18,7 +18,8 @@ import ( "fmt" "github.com/spf13/cobra" - "github.com/squat/kilo/pkg/mesh" + + "github.com/kilo-io/kilo/pkg/mesh" ) func graph() *cobra.Command { diff --git a/cmd/kgctl/main.go b/cmd/kgctl/main.go index b5682899..a9ab9ba5 100644 --- a/cmd/kgctl/main.go +++ b/cmd/kgctl/main.go @@ -26,10 +26,10 @@ import ( "k8s.io/client-go/kubernetes" "k8s.io/client-go/tools/clientcmd" - "github.com/squat/kilo/pkg/k8s" - kiloclient "github.com/squat/kilo/pkg/k8s/clientset/versioned" - "github.com/squat/kilo/pkg/mesh" - "github.com/squat/kilo/pkg/version" + "github.com/kilo-io/kilo/pkg/k8s" + kiloclient "github.com/kilo-io/kilo/pkg/k8s/clientset/versioned" + "github.com/kilo-io/kilo/pkg/mesh" + "github.com/kilo-io/kilo/pkg/version" ) const ( diff --git a/cmd/kgctl/showconf.go b/cmd/kgctl/showconf.go index 495093c0..2f02bb1a 100644 --- a/cmd/kgctl/showconf.go +++ b/cmd/kgctl/showconf.go @@ -28,9 +28,9 @@ import ( "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/runtime/serializer/json" - "github.com/squat/kilo/pkg/k8s/apis/kilo/v1alpha1" - "github.com/squat/kilo/pkg/mesh" - "github.com/squat/kilo/pkg/wireguard" + "github.com/kilo-io/kilo/pkg/k8s/apis/kilo/v1alpha1" + "github.com/kilo-io/kilo/pkg/mesh" + "github.com/kilo-io/kilo/pkg/wireguard" ) const ( diff --git a/docs/building_kilo.md b/docs/building_kilo.md index 526d5931..21dad8f0 100644 --- a/docs/building_kilo.md +++ b/docs/building_kilo.md @@ -14,7 +14,7 @@ To follow along, you need to install the following utilities: Clone the Repository and `cd` into it. ```shell -git clone https://github.com/squat/kilo.git +git clone https://github.com/kilo-io/kilo.git cd kilo ``` diff --git a/docs/kg.md b/docs/kg.md index 8af69b62..064e344c 100644 --- a/docs/kg.md +++ b/docs/kg.md @@ -8,7 +8,7 @@ It performs several key functions, including: * maintaining routing table entries and iptables rules. `kg` is typically installed on all nodes of a Kubernetes cluster using a DaemonSet. -Example manifests can be found [in the manifests directory](https://github.com/squat/kilo/tree/main/manifests). +Example manifests can be found [in the manifests directory](https://github.com/kilo-io/kilo/tree/main/manifests). ## Usage diff --git a/docs/kgctl.md b/docs/kgctl.md index 0ef34165..9ab86d13 100644 --- a/docs/kgctl.md +++ b/docs/kgctl.md @@ -6,20 +6,20 @@ This tool can be used to understand a mesh's topology, get the WireGuard configu ## Installation -The `kgctl` binary is automatically compiled for Linux, macOS, and Windows for every release of Kilo and can be downloaded from [the GitHub releases page](https://github.com/squat/kilo/releases/latest). +The `kgctl` binary is automatically compiled for Linux, macOS, and Windows for every release of Kilo and can be downloaded from [the GitHub releases page](https://github.com/kilo-io/kilo/releases/latest). ### Building from Source Kilo is written in Golang and as a result the [Go toolchain must be installed](https://golang.org/doc/install) in order to build the `kgctl` binary. To download the Kilo source code and then build and install `kgctl` using the latest commit all with a single command, run: ```shell -go install github.com/squat/kilo/cmd/kgctl@latest +go install github.com/kilo-io/kilo/cmd/kgctl@latest ``` Alternatively, `kgctl` can be built and installed based on specific version of the code by specifying a Git tag or hash, e.g.: ```shell -go install github.com/squat/kilo/cmd/kgctl@0.2.0 +go install github.com/kilo-io/kilo/cmd/kgctl@0.2.0 ``` When working on Kilo locally, it can be helpful to build and test the `kgctl` binary as part of the development cycle. diff --git a/docs/network-policies.md b/docs/network-policies.md index eb921617..16a9eeb9 100644 --- a/docs/network-policies.md +++ b/docs/network-policies.md @@ -10,7 +10,7 @@ Support for [Kubernetes network policies](https://kubernetes.io/docs/concepts/se The following command adds network policy support by deploying kube-router to work alongside Kilo: ```shell -kubectl apply -f kubectl apply -f https://raw.githubusercontent.com/squat/kilo/main/manifests/kube-router.yaml +kubectl apply -f kubectl apply -f https://raw.githubusercontent.com/kilo-io/kilo/main/manifests/kube-router.yaml ``` ## Examples diff --git a/docs/userspace-wireguard.md b/docs/userspace-wireguard.md index d9135b4c..1d00ffd5 100644 --- a/docs/userspace-wireguard.md +++ b/docs/userspace-wireguard.md @@ -18,8 +18,8 @@ This DaemonSet creates a WireGuard interface that Kilo will manage. An example configuration for a K3s cluster with [BoringTun] can be applied with: ```shell -kubectl apply -f https://raw.githubusercontent.com/squat/kilo/main/manifests/crds.yaml -kubectl apply -f https://raw.githubusercontent.com/squat/kilo/main/manifests/kilo-k3s-userspace.yaml +kubectl apply -f https://raw.githubusercontent.com/kilo-io/kilo/main/manifests/crds.yaml +kubectl apply -f https://raw.githubusercontent.com/kilo-io/kilo/main/manifests/kilo-k3s-userspace.yaml ``` > **Note**: even if some nodes have the WireGuard kernel module, this configuration will cause all nodes to use the userspace implementation of WireGuard. @@ -30,8 +30,8 @@ In a heterogeneous cluster where some nodes are missing the WireGuard kernel mod An example of such a configuration for a K3s cluster can by applied with: ```shell -kubectl apply -f https://raw.githubusercontent.com/squat/kilo/main/manifests/crds.yaml -kubectl apply -f https://raw.githubusercontent.com/squat/kilo/main/manifests/kilo-k3s-userspace-heterogeneous.yaml +kubectl apply -f https://raw.githubusercontent.com/kilo-io/kilo/main/manifests/crds.yaml +kubectl apply -f https://raw.githubusercontent.com/kilo-io/kilo/main/manifests/kilo-k3s-userspace-heterogeneous.yaml ``` This configuration will deploy [nkml](https://github.com/leonnicolas/nkml) as a DaemonSet to label all nodes according to the presence of the WireGuard kernel module. diff --git a/e2e/kilo-kind-userspace.yaml b/e2e/kilo-kind-userspace.yaml index e4a7e868..46561371 100644 --- a/e2e/kilo-kind-userspace.yaml +++ b/e2e/kilo-kind-userspace.yaml @@ -101,7 +101,7 @@ spec: hostNetwork: true containers: - name: kilo - image: squat/kilo:test + image: kiloio/kilo:test imagePullPolicy: Never args: - --hostname=$(NODE_NAME) @@ -149,7 +149,7 @@ spec: readOnly: false initContainers: - name: install-cni - image: squat/kilo:test + image: kiloio/kilo:test imagePullPolicy: Never command: - /bin/sh diff --git a/e2e/lib.sh b/e2e/lib.sh index 96d3b513..8598574a 100755 --- a/e2e/lib.sh +++ b/e2e/lib.sh @@ -4,7 +4,7 @@ KIND_CLUSTER="kind-cluster-kilo" KIND_BINARY="${KIND_BINARY:-kind}" KUBECTL_BINARY="${KUBECTL_BINARY:-kubectl}" KGCTL_BINARY="${KGCTL_BINARY:-kgctl}" -KILO_IMAGE="${KILO_IMAGE:-squat/kilo}" +KILO_IMAGE="${KILO_IMAGE:-kiloio/kilo}" retry() { local COUNT="${1:-10}" @@ -118,9 +118,9 @@ create_cluster() { # Create the kind cluster. _kind create cluster --name $KIND_CLUSTER --config <(echo "$CONFIG") # Load the Kilo image into kind. - docker tag "$KILO_IMAGE" squat/kilo:test + docker tag "$KILO_IMAGE" kiloio/kilo:test # This command does not accept the --kubeconfig flag, so call the command directly. - $KIND_BINARY load docker-image squat/kilo:test --name $KIND_CLUSTER + $KIND_BINARY load docker-image kiloio/kilo:test --name $KIND_CLUSTER # Create the kubeconfig secret. _kubectl create secret generic kubeconfig --from-file=kubeconfig="$KUBECONFIG" -n kube-system # Apply Kilo the the cluster. diff --git a/go.mod b/go.mod index 0348d0bd..e5b29b28 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/squat/kilo +module github.com/kilo-io/kilo go 1.15 diff --git a/pkg/encapsulation/encapsulation.go b/pkg/encapsulation/encapsulation.go index 21e698a0..fb8eb821 100644 --- a/pkg/encapsulation/encapsulation.go +++ b/pkg/encapsulation/encapsulation.go @@ -17,7 +17,7 @@ package encapsulation import ( "net" - "github.com/squat/kilo/pkg/iptables" + "github.com/kilo-io/kilo/pkg/iptables" ) // Strategy identifies which packets within a location should diff --git a/pkg/encapsulation/flannel.go b/pkg/encapsulation/flannel.go index 6a2ba26c..958bbe5c 100644 --- a/pkg/encapsulation/flannel.go +++ b/pkg/encapsulation/flannel.go @@ -19,8 +19,9 @@ import ( "net" "sync" - "github.com/squat/kilo/pkg/iptables" "github.com/vishvananda/netlink" + + "github.com/kilo-io/kilo/pkg/iptables" ) const flannelDeviceName = "flannel.1" diff --git a/pkg/encapsulation/ipip.go b/pkg/encapsulation/ipip.go index fda4d280..39947a31 100644 --- a/pkg/encapsulation/ipip.go +++ b/pkg/encapsulation/ipip.go @@ -18,8 +18,8 @@ import ( "fmt" "net" - "github.com/squat/kilo/pkg/iproute" - "github.com/squat/kilo/pkg/iptables" + "github.com/kilo-io/kilo/pkg/iproute" + "github.com/kilo-io/kilo/pkg/iptables" ) type ipip struct { diff --git a/pkg/encapsulation/noop.go b/pkg/encapsulation/noop.go index d5b39064..639d1f6a 100644 --- a/pkg/encapsulation/noop.go +++ b/pkg/encapsulation/noop.go @@ -17,7 +17,7 @@ package encapsulation import ( "net" - "github.com/squat/kilo/pkg/iptables" + "github.com/kilo-io/kilo/pkg/iptables" ) // Noop is an encapsulation that does nothing. diff --git a/pkg/k8s/backend.go b/pkg/k8s/backend.go index 4065c318..9a84f20d 100644 --- a/pkg/k8s/backend.go +++ b/pkg/k8s/backend.go @@ -37,12 +37,12 @@ import ( v1listers "k8s.io/client-go/listers/core/v1" "k8s.io/client-go/tools/cache" - "github.com/squat/kilo/pkg/k8s/apis/kilo/v1alpha1" - kiloclient "github.com/squat/kilo/pkg/k8s/clientset/versioned" - v1alpha1informers "github.com/squat/kilo/pkg/k8s/informers/kilo/v1alpha1" - v1alpha1listers "github.com/squat/kilo/pkg/k8s/listers/kilo/v1alpha1" - "github.com/squat/kilo/pkg/mesh" - "github.com/squat/kilo/pkg/wireguard" + "github.com/kilo-io/kilo/pkg/k8s/apis/kilo/v1alpha1" + kiloclient "github.com/kilo-io/kilo/pkg/k8s/clientset/versioned" + v1alpha1informers "github.com/kilo-io/kilo/pkg/k8s/informers/kilo/v1alpha1" + v1alpha1listers "github.com/kilo-io/kilo/pkg/k8s/listers/kilo/v1alpha1" + "github.com/kilo-io/kilo/pkg/mesh" + "github.com/kilo-io/kilo/pkg/wireguard" ) const ( diff --git a/pkg/k8s/backend_test.go b/pkg/k8s/backend_test.go index 51d2c2be..0d5c346e 100644 --- a/pkg/k8s/backend_test.go +++ b/pkg/k8s/backend_test.go @@ -21,9 +21,9 @@ import ( "github.com/kylelemons/godebug/pretty" v1 "k8s.io/api/core/v1" - "github.com/squat/kilo/pkg/k8s/apis/kilo/v1alpha1" - "github.com/squat/kilo/pkg/mesh" - "github.com/squat/kilo/pkg/wireguard" + "github.com/kilo-io/kilo/pkg/k8s/apis/kilo/v1alpha1" + "github.com/kilo-io/kilo/pkg/mesh" + "github.com/kilo-io/kilo/pkg/wireguard" ) func TestTranslateNode(t *testing.T) { diff --git a/pkg/k8s/clientset/versioned/clientset.go b/pkg/k8s/clientset/versioned/clientset.go index a855f439..c271a2c2 100644 --- a/pkg/k8s/clientset/versioned/clientset.go +++ b/pkg/k8s/clientset/versioned/clientset.go @@ -19,7 +19,7 @@ package versioned import ( "fmt" - kilov1alpha1 "github.com/squat/kilo/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1" + kilov1alpha1 "github.com/kilo-io/kilo/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1" discovery "k8s.io/client-go/discovery" rest "k8s.io/client-go/rest" flowcontrol "k8s.io/client-go/util/flowcontrol" diff --git a/pkg/k8s/clientset/versioned/fake/clientset_generated.go b/pkg/k8s/clientset/versioned/fake/clientset_generated.go index aadd6b02..9997d9aa 100644 --- a/pkg/k8s/clientset/versioned/fake/clientset_generated.go +++ b/pkg/k8s/clientset/versioned/fake/clientset_generated.go @@ -17,9 +17,9 @@ package fake import ( - clientset "github.com/squat/kilo/pkg/k8s/clientset/versioned" - kilov1alpha1 "github.com/squat/kilo/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1" - fakekilov1alpha1 "github.com/squat/kilo/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1/fake" + clientset "github.com/kilo-io/kilo/pkg/k8s/clientset/versioned" + kilov1alpha1 "github.com/kilo-io/kilo/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1" + fakekilov1alpha1 "github.com/kilo-io/kilo/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1/fake" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/discovery" diff --git a/pkg/k8s/clientset/versioned/fake/register.go b/pkg/k8s/clientset/versioned/fake/register.go index aa55025e..b3b20dab 100644 --- a/pkg/k8s/clientset/versioned/fake/register.go +++ b/pkg/k8s/clientset/versioned/fake/register.go @@ -17,7 +17,7 @@ package fake import ( - kilov1alpha1 "github.com/squat/kilo/pkg/k8s/apis/kilo/v1alpha1" + kilov1alpha1 "github.com/kilo-io/kilo/pkg/k8s/apis/kilo/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/k8s/clientset/versioned/scheme/register.go b/pkg/k8s/clientset/versioned/scheme/register.go index f55cc66f..c891d511 100644 --- a/pkg/k8s/clientset/versioned/scheme/register.go +++ b/pkg/k8s/clientset/versioned/scheme/register.go @@ -17,7 +17,7 @@ package scheme import ( - kilov1alpha1 "github.com/squat/kilo/pkg/k8s/apis/kilo/v1alpha1" + kilov1alpha1 "github.com/kilo-io/kilo/pkg/k8s/apis/kilo/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1/fake/fake_kilo_client.go b/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1/fake/fake_kilo_client.go index 0627b029..ce706132 100644 --- a/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1/fake/fake_kilo_client.go +++ b/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1/fake/fake_kilo_client.go @@ -17,7 +17,7 @@ package fake import ( - v1alpha1 "github.com/squat/kilo/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1" + v1alpha1 "github.com/kilo-io/kilo/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1" rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" ) diff --git a/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1/fake/fake_peer.go b/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1/fake/fake_peer.go index 842979c5..0d01cad4 100644 --- a/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1/fake/fake_peer.go +++ b/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1/fake/fake_peer.go @@ -19,7 +19,7 @@ package fake import ( "context" - v1alpha1 "github.com/squat/kilo/pkg/k8s/apis/kilo/v1alpha1" + v1alpha1 "github.com/kilo-io/kilo/pkg/k8s/apis/kilo/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1/kilo_client.go b/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1/kilo_client.go index 19490965..a1086387 100644 --- a/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1/kilo_client.go +++ b/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1/kilo_client.go @@ -17,8 +17,8 @@ package v1alpha1 import ( - v1alpha1 "github.com/squat/kilo/pkg/k8s/apis/kilo/v1alpha1" - "github.com/squat/kilo/pkg/k8s/clientset/versioned/scheme" + v1alpha1 "github.com/kilo-io/kilo/pkg/k8s/apis/kilo/v1alpha1" + "github.com/kilo-io/kilo/pkg/k8s/clientset/versioned/scheme" rest "k8s.io/client-go/rest" ) diff --git a/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1/peer.go b/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1/peer.go index eec58829..f459d1d1 100644 --- a/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1/peer.go +++ b/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1/peer.go @@ -20,8 +20,8 @@ import ( "context" "time" - v1alpha1 "github.com/squat/kilo/pkg/k8s/apis/kilo/v1alpha1" - scheme "github.com/squat/kilo/pkg/k8s/clientset/versioned/scheme" + v1alpha1 "github.com/kilo-io/kilo/pkg/k8s/apis/kilo/v1alpha1" + scheme "github.com/kilo-io/kilo/pkg/k8s/clientset/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/k8s/informers/factory.go b/pkg/k8s/informers/factory.go index b6e45fb7..0feee4d0 100644 --- a/pkg/k8s/informers/factory.go +++ b/pkg/k8s/informers/factory.go @@ -21,9 +21,9 @@ import ( sync "sync" time "time" - versioned "github.com/squat/kilo/pkg/k8s/clientset/versioned" - internalinterfaces "github.com/squat/kilo/pkg/k8s/informers/internalinterfaces" - kilo "github.com/squat/kilo/pkg/k8s/informers/kilo" + versioned "github.com/kilo-io/kilo/pkg/k8s/clientset/versioned" + internalinterfaces "github.com/kilo-io/kilo/pkg/k8s/informers/internalinterfaces" + kilo "github.com/kilo-io/kilo/pkg/k8s/informers/kilo" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/k8s/informers/generic.go b/pkg/k8s/informers/generic.go index 3ac1606a..fa8f5020 100644 --- a/pkg/k8s/informers/generic.go +++ b/pkg/k8s/informers/generic.go @@ -19,7 +19,7 @@ package informers import ( "fmt" - v1alpha1 "github.com/squat/kilo/pkg/k8s/apis/kilo/v1alpha1" + v1alpha1 "github.com/kilo-io/kilo/pkg/k8s/apis/kilo/v1alpha1" schema "k8s.io/apimachinery/pkg/runtime/schema" cache "k8s.io/client-go/tools/cache" ) diff --git a/pkg/k8s/informers/internalinterfaces/factory_interfaces.go b/pkg/k8s/informers/internalinterfaces/factory_interfaces.go index 0048f258..6decbcf4 100644 --- a/pkg/k8s/informers/internalinterfaces/factory_interfaces.go +++ b/pkg/k8s/informers/internalinterfaces/factory_interfaces.go @@ -19,7 +19,7 @@ package internalinterfaces import ( time "time" - versioned "github.com/squat/kilo/pkg/k8s/clientset/versioned" + versioned "github.com/kilo-io/kilo/pkg/k8s/clientset/versioned" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" cache "k8s.io/client-go/tools/cache" diff --git a/pkg/k8s/informers/kilo/interface.go b/pkg/k8s/informers/kilo/interface.go index d371d633..8665c7d9 100644 --- a/pkg/k8s/informers/kilo/interface.go +++ b/pkg/k8s/informers/kilo/interface.go @@ -17,8 +17,8 @@ package kilo import ( - internalinterfaces "github.com/squat/kilo/pkg/k8s/informers/internalinterfaces" - v1alpha1 "github.com/squat/kilo/pkg/k8s/informers/kilo/v1alpha1" + internalinterfaces "github.com/kilo-io/kilo/pkg/k8s/informers/internalinterfaces" + v1alpha1 "github.com/kilo-io/kilo/pkg/k8s/informers/kilo/v1alpha1" ) // Interface provides access to each of this group's versions. diff --git a/pkg/k8s/informers/kilo/v1alpha1/interface.go b/pkg/k8s/informers/kilo/v1alpha1/interface.go index deb87386..cef0fc78 100644 --- a/pkg/k8s/informers/kilo/v1alpha1/interface.go +++ b/pkg/k8s/informers/kilo/v1alpha1/interface.go @@ -17,7 +17,7 @@ package v1alpha1 import ( - internalinterfaces "github.com/squat/kilo/pkg/k8s/informers/internalinterfaces" + internalinterfaces "github.com/kilo-io/kilo/pkg/k8s/informers/internalinterfaces" ) // Interface provides access to all the informers in this group version. diff --git a/pkg/k8s/informers/kilo/v1alpha1/peer.go b/pkg/k8s/informers/kilo/v1alpha1/peer.go index 0947d921..d1d5efeb 100644 --- a/pkg/k8s/informers/kilo/v1alpha1/peer.go +++ b/pkg/k8s/informers/kilo/v1alpha1/peer.go @@ -20,10 +20,10 @@ import ( "context" time "time" - kilov1alpha1 "github.com/squat/kilo/pkg/k8s/apis/kilo/v1alpha1" - versioned "github.com/squat/kilo/pkg/k8s/clientset/versioned" - internalinterfaces "github.com/squat/kilo/pkg/k8s/informers/internalinterfaces" - v1alpha1 "github.com/squat/kilo/pkg/k8s/listers/kilo/v1alpha1" + kilov1alpha1 "github.com/kilo-io/kilo/pkg/k8s/apis/kilo/v1alpha1" + versioned "github.com/kilo-io/kilo/pkg/k8s/clientset/versioned" + internalinterfaces "github.com/kilo-io/kilo/pkg/k8s/informers/internalinterfaces" + v1alpha1 "github.com/kilo-io/kilo/pkg/k8s/listers/kilo/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/k8s/listers/kilo/v1alpha1/peer.go b/pkg/k8s/listers/kilo/v1alpha1/peer.go index 4379cd17..9f25ba19 100644 --- a/pkg/k8s/listers/kilo/v1alpha1/peer.go +++ b/pkg/k8s/listers/kilo/v1alpha1/peer.go @@ -17,7 +17,7 @@ package v1alpha1 import ( - v1alpha1 "github.com/squat/kilo/pkg/k8s/apis/kilo/v1alpha1" + v1alpha1 "github.com/kilo-io/kilo/pkg/k8s/apis/kilo/v1alpha1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/mesh/backend.go b/pkg/mesh/backend.go index db4123dc..dd736b49 100644 --- a/pkg/mesh/backend.go +++ b/pkg/mesh/backend.go @@ -18,7 +18,7 @@ import ( "net" "time" - "github.com/squat/kilo/pkg/wireguard" + "github.com/kilo-io/kilo/pkg/wireguard" ) const ( diff --git a/pkg/mesh/graph.go b/pkg/mesh/graph.go index 619f6a89..eb8740d9 100644 --- a/pkg/mesh/graph.go +++ b/pkg/mesh/graph.go @@ -20,7 +20,8 @@ import ( "strings" "github.com/awalterschulze/gographviz" - "github.com/squat/kilo/pkg/wireguard" + + "github.com/kilo-io/kilo/pkg/wireguard" ) // Dot generates a Graphviz graph of the Topology in DOT fomat. diff --git a/pkg/mesh/mesh.go b/pkg/mesh/mesh.go index 18f84a55..09588dcc 100644 --- a/pkg/mesh/mesh.go +++ b/pkg/mesh/mesh.go @@ -30,11 +30,11 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/vishvananda/netlink" - "github.com/squat/kilo/pkg/encapsulation" - "github.com/squat/kilo/pkg/iproute" - "github.com/squat/kilo/pkg/iptables" - "github.com/squat/kilo/pkg/route" - "github.com/squat/kilo/pkg/wireguard" + "github.com/kilo-io/kilo/pkg/encapsulation" + "github.com/kilo-io/kilo/pkg/iproute" + "github.com/kilo-io/kilo/pkg/iptables" + "github.com/kilo-io/kilo/pkg/route" + "github.com/kilo-io/kilo/pkg/wireguard" ) const ( diff --git a/pkg/mesh/mesh_test.go b/pkg/mesh/mesh_test.go index 95ec0dfd..bb91deac 100644 --- a/pkg/mesh/mesh_test.go +++ b/pkg/mesh/mesh_test.go @@ -19,7 +19,7 @@ import ( "testing" "time" - "github.com/squat/kilo/pkg/wireguard" + "github.com/kilo-io/kilo/pkg/wireguard" ) func TestReady(t *testing.T) { diff --git a/pkg/mesh/routes.go b/pkg/mesh/routes.go index 38e75a93..353667dc 100644 --- a/pkg/mesh/routes.go +++ b/pkg/mesh/routes.go @@ -22,8 +22,8 @@ import ( "github.com/vishvananda/netlink" "golang.org/x/sys/unix" - "github.com/squat/kilo/pkg/encapsulation" - "github.com/squat/kilo/pkg/iptables" + "github.com/kilo-io/kilo/pkg/encapsulation" + "github.com/kilo-io/kilo/pkg/iptables" ) const kiloTableIndex = 1107 diff --git a/pkg/mesh/routes_test.go b/pkg/mesh/routes_test.go index 71fe7c5f..017dfe0d 100644 --- a/pkg/mesh/routes_test.go +++ b/pkg/mesh/routes_test.go @@ -21,7 +21,7 @@ import ( "github.com/vishvananda/netlink" "golang.org/x/sys/unix" - "github.com/squat/kilo/pkg/encapsulation" + "github.com/kilo-io/kilo/pkg/encapsulation" ) func TestRoutes(t *testing.T) { diff --git a/pkg/mesh/topology.go b/pkg/mesh/topology.go index 908d0a7e..bc56376f 100644 --- a/pkg/mesh/topology.go +++ b/pkg/mesh/topology.go @@ -22,7 +22,7 @@ import ( "github.com/go-kit/kit/log" "github.com/go-kit/kit/log/level" - "github.com/squat/kilo/pkg/wireguard" + "github.com/kilo-io/kilo/pkg/wireguard" ) const ( diff --git a/pkg/mesh/topology_test.go b/pkg/mesh/topology_test.go index 33dec97e..a67370cf 100644 --- a/pkg/mesh/topology_test.go +++ b/pkg/mesh/topology_test.go @@ -22,7 +22,7 @@ import ( "github.com/go-kit/kit/log" "github.com/kylelemons/godebug/pretty" - "github.com/squat/kilo/pkg/wireguard" + "github.com/kilo-io/kilo/pkg/wireguard" ) func allowedIPs(ips ...string) string {