diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 42e1dcdd..ba668ee4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -150,15 +150,43 @@ jobs: uses: docker/setup-qemu-action@v2 with: platforms: all - - name: Login to DockerHub + - name: Login to GHCR if: github.event_name != 'pull_request' uses: docker/login-action@v2 with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push if: github.event_name != 'pull_request' run: make manifest - name: Build and push latest if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main' run: make manifest-latest + + bump-manifests: + if: startsWith(github.ref, 'refs/tags/v') + needs: [push] + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + steps: + - uses: actions/checkout@v3 + with: + ref: main + - name: Get version from tag + id: version + run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT + - name: Update manifest versions + run: | + sed -i 's|image: ghcr.io/cozystack/cozystack/kilo:v[0-9]*\.[0-9]*\.[0-9]*|image: ghcr.io/cozystack/cozystack/kilo:${{ steps.version.outputs.VERSION }}|g' manifests/*.yaml e2e/*.yaml + - name: Create Pull Request + uses: peter-evans/create-pull-request@v7 + with: + commit-message: "chore: bump kilo image to ${{ steps.version.outputs.VERSION }}" + signoff: true + title: "chore(manifests): bump kilo image to ${{ steps.version.outputs.VERSION }}" + body: | + Automated PR to update manifest image versions to `${{ steps.version.outputs.VERSION }}`. + branch: "chore/bump-manifests-${{ steps.version.outputs.VERSION }}" diff --git a/Dockerfile b/Dockerfile index 028c9d29..d13cd363 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN apk add --no-cache curl && \ FROM $FROM ARG GOARCH ARG ALPINE_VERSION=v3.20 -LABEL maintainer="squat " +LABEL maintainer="Cozystack " RUN echo -e "https://alpine.global.ssl.fastly.net/alpine/$ALPINE_VERSION/main\nhttps://alpine.global.ssl.fastly.net/alpine/$ALPINE_VERSION/community" > /etc/apk/repositories && \ apk add --no-cache ipset iptables ip6tables graphviz font-noto COPY --from=cni bridge host-local loopback portmap /opt/cni/bin/ diff --git a/Makefile b/Makefile index c47fa9c2..5a729a6e 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) -REGISTRY ?= index.docker.io -IMAGE ?= squat/$(PROJECT) +PKG := github.com/cozystack/$(PROJECT) +REGISTRY ?= ghcr.io +IMAGE ?= cozystack/cozystack/$(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 ee60225d..4c4e52d9 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,8 @@ Kilo is a multi-cloud network overlay built on WireGuard and designed for Kubernetes. -[![Build Status](https://github.com/squat/kilo/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/squat/kilo/actions/workflows/ci.yml) -[![Go Report Card](https://goreportcard.com/badge/github.com/squat/kilo)](https://goreportcard.com/report/github.com/squat/kilo) -[![Docker Pulls](https://img.shields.io/docker/pulls/squat/kilo)](https://hub.docker.com/r/squat/kilo) +[![Build Status](https://github.com/cozystack/kilo/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/cozystack/kilo/actions/workflows/ci.yml) +[![Go Report Card](https://goreportcard.com/badge/github.com/cozystack/kilo)](https://goreportcard.com/report/github.com/cozystack/kilo) [![Slack](https://img.shields.io/badge/join%20slack-%23kilo-brightgreen.svg)](https://slack.k8s.io/) ## Overview @@ -72,29 +71,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/cozystack/kilo/main/manifests/crds.yaml +kubectl apply -f https://raw.githubusercontent.com/cozystack/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/cozystack/kilo/main/manifests/crds.yaml +kubectl apply -f https://raw.githubusercontent.com/cozystack/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/cozystack/kilo/main/manifests/crds.yaml +kubectl apply -f https://raw.githubusercontent.com/cozystack/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/cozystack/kilo/main/manifests/crds.yaml +kubectl apply -f https://raw.githubusercontent.com/cozystack/kilo/main/manifests/kilo-k3s.yaml ``` ## Add-on Mode @@ -106,11 +105,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/cozystack/kilo/main/manifests/crds.yaml +kubectl apply -f https://raw.githubusercontent.com/cozystack/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/cozystack/kilo/tree/main/manifests). ## VPN diff --git a/cmd/kg/handlers.go b/cmd/kg/handlers.go index be00cee7..60e1bdf9 100644 --- a/cmd/kg/handlers.go +++ b/cmd/kg/handlers.go @@ -26,7 +26,7 @@ import ( "golang.zx2c4.com/wireguard/wgctrl/wgtypes" - "github.com/squat/kilo/pkg/mesh" + "github.com/cozystack/kilo/pkg/mesh" ) type graphHandler struct { diff --git a/cmd/kg/main.go b/cmd/kg/main.go index 83cf3d6c..0fccb900 100644 --- a/cmd/kg/main.go +++ b/cmd/kg/main.go @@ -38,12 +38,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/cozystack/kilo/pkg/encapsulation" + "github.com/cozystack/kilo/pkg/k8s" + kiloclient "github.com/cozystack/kilo/pkg/k8s/clientset/versioned" + "github.com/cozystack/kilo/pkg/mesh" + "github.com/cozystack/kilo/pkg/version" + "github.com/cozystack/kilo/pkg/wireguard" ) const ( diff --git a/cmd/kg/webhook.go b/cmd/kg/webhook.go index 71c12079..5ec4c9ff 100644 --- a/cmd/kg/webhook.go +++ b/cmd/kg/webhook.go @@ -35,8 +35,8 @@ import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/serializer" - kilo "github.com/squat/kilo/pkg/k8s/apis/kilo/v1alpha1" - "github.com/squat/kilo/pkg/version" + kilo "github.com/cozystack/kilo/pkg/k8s/apis/kilo/v1alpha1" + "github.com/cozystack/kilo/pkg/version" ) var webhookCmd = &cobra.Command{ diff --git a/cmd/kgctl/connect_linux.go b/cmd/kgctl/connect_linux.go index 9031efa3..efaec0fa 100644 --- a/cmd/kgctl/connect_linux.go +++ b/cmd/kgctl/connect_linux.go @@ -37,11 +37,11 @@ import ( apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/squat/kilo/pkg/iproute" - "github.com/squat/kilo/pkg/k8s/apis/kilo/v1alpha1" - "github.com/squat/kilo/pkg/mesh" - "github.com/squat/kilo/pkg/route" - "github.com/squat/kilo/pkg/wireguard" + "github.com/cozystack/kilo/pkg/iproute" + "github.com/cozystack/kilo/pkg/k8s/apis/kilo/v1alpha1" + "github.com/cozystack/kilo/pkg/mesh" + "github.com/cozystack/kilo/pkg/route" + "github.com/cozystack/kilo/pkg/wireguard" ) var ( diff --git a/cmd/kgctl/graph.go b/cmd/kgctl/graph.go index cb104089..7ddf046b 100644 --- a/cmd/kgctl/graph.go +++ b/cmd/kgctl/graph.go @@ -20,7 +20,7 @@ import ( "github.com/spf13/cobra" "golang.zx2c4.com/wireguard/wgctrl/wgtypes" - "github.com/squat/kilo/pkg/mesh" + "github.com/cozystack/kilo/pkg/mesh" ) func graph() *cobra.Command { diff --git a/cmd/kgctl/main.go b/cmd/kgctl/main.go index 9a6c58ac..d33a9d64 100644 --- a/cmd/kgctl/main.go +++ b/cmd/kgctl/main.go @@ -27,10 +27,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/cozystack/kilo/pkg/k8s" + kiloclient "github.com/cozystack/kilo/pkg/k8s/clientset/versioned" + "github.com/cozystack/kilo/pkg/mesh" + "github.com/cozystack/kilo/pkg/version" ) const ( diff --git a/cmd/kgctl/showconf.go b/cmd/kgctl/showconf.go index 79169f7b..6cd0d2f2 100644 --- a/cmd/kgctl/showconf.go +++ b/cmd/kgctl/showconf.go @@ -29,9 +29,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/cozystack/kilo/pkg/k8s/apis/kilo/v1alpha1" + "github.com/cozystack/kilo/pkg/mesh" + "github.com/cozystack/kilo/pkg/wireguard" ) const ( diff --git a/docs/building_kilo.md b/docs/building_kilo.md index 526d5931..4ebb98fa 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/cozystack/kilo.git cd kilo ``` @@ -97,4 +97,4 @@ make manifest-latest ``` Now you can deploy the custom build of Kilo to your cluster. -If you are already running Kilo, change the image from `squat/kilo` to `[registry/]/kilo[:sha]`. +If you are already running Kilo, change the image from `cozystack/kilo` to `[registry/]/kilo[:sha]`. diff --git a/docs/kg.md b/docs/kg.md index 9a9fe8fb..009a1d36 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/cozystack/kilo/tree/main/manifests). ## Usage diff --git a/docs/kgctl.md b/docs/kgctl.md index e5398f4d..8e5ddf17 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/cozystack/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/cozystack/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/cozystack/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/monitoring.md b/docs/monitoring.md index 2ccbbcbf..53dca899 100644 --- a/docs/monitoring.md +++ b/docs/monitoring.md @@ -6,7 +6,7 @@ The following assumes that you have applied the [kube-prometheus](https://github Monitor the Kilo DaemonSet with: ```shell -kubectl apply -f https://raw.githubusercontent.com/squat/kilo/main/manifests/podmonitor.yaml +kubectl apply -f https://raw.githubusercontent.com/cozystack/kilo/main/manifests/podmonitor.yaml ``` ## WireGuard @@ -14,7 +14,7 @@ kubectl apply -f https://raw.githubusercontent.com/squat/kilo/main/manifests/pod Monitor the WireGuard interfaces with: ```shell kubectl create ns kilo -kubectl apply -f https://raw.githubusercontent.com/squat/kilo/main/manifests/wg-exporter.yaml +kubectl apply -f https://raw.githubusercontent.com/cozystack/kilo/main/manifests/wg-exporter.yaml ``` The manifest will deploy the [Prometheus WireGuard Exporter](https://github.com/MindFlavor/prometheus_wireguard_exporter) as a DaemonSet and a [PodMonitor](https://docs.openshift.com/container-platform/4.8/rest_api/monitoring_apis/podmonitor-monitoring-coreos-com-v1.html). @@ -22,7 +22,7 @@ The manifest will deploy the [Prometheus WireGuard Exporter](https://github.com/ By default the kube-prometheus stack only monitors the `default`, `kube-system` and `monitoring` namespaces. In order to allow Prometheus to monitor the `kilo` namespace, apply the Role and RoleBinding with: ```shell -kubectl apply -f https://raw.githubusercontent.com/squat/kilo/main/manifests/wg-exporter-role-kube-prometheus.yaml +kubectl apply -f https://raw.githubusercontent.com/cozystack/kilo/main/manifests/wg-exporter-role-kube-prometheus.yaml ``` ## Metrics @@ -91,7 +91,7 @@ kubectl -n monitoring port-forward svc/grafana 3000 Now navigate your browser to `localhost:3000`. The default user and password is `admin` `admin`. -An example configuration for a dashboard displaying Kilo metrics can be found [here](https://raw.githubusercontent.com/squat/kilo/main/docs/grafana/kilo.json). +An example configuration for a dashboard displaying Kilo metrics can be found [here](https://raw.githubusercontent.com/cozystack/kilo/main/docs/grafana/kilo.json). You can import this dashboard by hitting **+** -> **Import** on the Grafana dashboard. The dashboard looks like this: diff --git a/docs/network-policies.md b/docs/network-policies.md index 98294c29..a59a5197 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 https://raw.githubusercontent.com/squat/kilo/main/manifests/kube-router.yaml +kubectl apply -f https://raw.githubusercontent.com/cozystack/kilo/main/manifests/kube-router.yaml ``` ## Examples diff --git a/docs/peer-validation.md b/docs/peer-validation.md index 76f38670..1d7ea457 100644 --- a/docs/peer-validation.md +++ b/docs/peer-validation.md @@ -9,13 +9,13 @@ Once such a configuration is applied, the Kubernetes API server will send an Adm With regard to the [failure policy](https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/#failure-policy), the API server will apply the requested changes to a resource if the request was answered with `"allowed": true`, or deny the changes if the answer was `"allowed": false`. In case of Kilo Peer Validation, the specified operations are `UPDATE` and `CREATE`, the resources are `Peers`, and the default `failurePolicy` is set to `Fail`. -View the full ValidatingWebhookConfiguration [here](https://github.com/squat/kilo/blob/main/manifests/peer-validation.yaml). +View the full ValidatingWebhookConfiguration [here](https://github.com/cozystack/kilo/blob/main/manifests/peer-validation.yaml). ## Getting Started Apply the Service, the Deployment of the actual webserver, and the ValidatingWebhookConfiguration with: ```shell -kubectl apply -f https://raw.githubusercontent.com/squat/kilo/blob/main/manifests/peer-validation.yaml +kubectl apply -f https://raw.githubusercontent.com/cozystack/kilo/blob/main/manifests/peer-validation.yaml ``` The Kubernetes API server will only talk to webhook servers via TLS so the Kilo-Peer-Validation server must be given a valid TLS certificate and key, and the API server must be told what certificate authority (CA) to trust. diff --git a/docs/userspace-wireguard.md b/docs/userspace-wireguard.md index d9135b4c..9446ad7e 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/cozystack/kilo/main/manifests/crds.yaml +kubectl apply -f https://raw.githubusercontent.com/cozystack/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/cozystack/kilo/main/manifests/crds.yaml +kubectl apply -f https://raw.githubusercontent.com/cozystack/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 29b8a133..8a3b28e9 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: ghcr.io/cozystack/cozystack/kilo:test imagePullPolicy: Never args: - --hostname=$(NODE_NAME) @@ -149,7 +149,7 @@ spec: readOnly: false initContainers: - name: install-cni - image: squat/kilo:test + image: ghcr.io/cozystack/cozystack/kilo:test imagePullPolicy: Never command: - /bin/sh diff --git a/go.mod b/go.mod index d3e9c5a8..2137b63c 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/squat/kilo +module github.com/cozystack/kilo go 1.18 diff --git a/manifests/kilo-bootkube-flannel.yaml b/manifests/kilo-bootkube-flannel.yaml index fb3d25fa..240fbd96 100644 --- a/manifests/kilo-bootkube-flannel.yaml +++ b/manifests/kilo-bootkube-flannel.yaml @@ -67,7 +67,7 @@ spec: hostNetwork: true containers: - name: kilo - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 args: - --kubeconfig=/etc/kubernetes/kubeconfig - --hostname=$(NODE_NAME) diff --git a/manifests/kilo-bootkube.yaml b/manifests/kilo-bootkube.yaml index d700543d..8781c19b 100644 --- a/manifests/kilo-bootkube.yaml +++ b/manifests/kilo-bootkube.yaml @@ -101,7 +101,7 @@ spec: hostNetwork: true containers: - name: kilo - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 args: - --kubeconfig=/etc/kubernetes/kubeconfig - --hostname=$(NODE_NAME) @@ -131,7 +131,7 @@ spec: readOnly: false initContainers: - name: install-cni - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 command: - /bin/sh - -c diff --git a/manifests/kilo-k3s-cilium.yaml b/manifests/kilo-k3s-cilium.yaml index c98e5183..0bd61b25 100644 --- a/manifests/kilo-k3s-cilium.yaml +++ b/manifests/kilo-k3s-cilium.yaml @@ -96,7 +96,7 @@ spec: hostNetwork: true containers: - name: kilo - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 args: - --kubeconfig=/etc/kubernetes/kubeconfig - --hostname=$(NODE_NAME) @@ -135,7 +135,7 @@ spec: readOnly: false initContainers: - name: generate-kubeconfig - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 command: - /bin/sh args: diff --git a/manifests/kilo-k3s-flannel.yaml b/manifests/kilo-k3s-flannel.yaml index 07b4c876..c0a6417f 100644 --- a/manifests/kilo-k3s-flannel.yaml +++ b/manifests/kilo-k3s-flannel.yaml @@ -96,7 +96,7 @@ spec: hostNetwork: true containers: - name: kilo - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 args: - --kubeconfig=/etc/kubernetes/kubeconfig - --hostname=$(NODE_NAME) @@ -132,7 +132,7 @@ spec: readOnly: false initContainers: - name: generate-kubeconfig - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 command: - /bin/sh args: diff --git a/manifests/kilo-k3s-userspace-heterogeneous.yaml b/manifests/kilo-k3s-userspace-heterogeneous.yaml index 0e55fd06..623f8939 100644 --- a/manifests/kilo-k3s-userspace-heterogeneous.yaml +++ b/manifests/kilo-k3s-userspace-heterogeneous.yaml @@ -133,7 +133,7 @@ spec: hostNetwork: true containers: - name: kilo - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 args: - --kubeconfig=/etc/kubernetes/kubeconfig - --hostname=$(NODE_NAME) @@ -164,7 +164,7 @@ spec: readOnly: false initContainers: - name: generate-kubeconfig - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 command: - /bin/sh args: @@ -185,7 +185,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: install-cni - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 command: - /bin/sh - -c @@ -264,7 +264,7 @@ spec: hostNetwork: true containers: - name: kilo - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 args: - --kubeconfig=/etc/kubernetes/kubeconfig - --hostname=$(NODE_NAME) @@ -311,7 +311,7 @@ spec: readOnly: false initContainers: - name: generate-kubeconfig - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 command: - /bin/sh args: @@ -332,7 +332,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: install-cni - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 command: - /bin/sh - -c @@ -428,7 +428,7 @@ spec: readOnly: true initContainers: - name: generate-kubeconfig - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 command: - /bin/sh args: diff --git a/manifests/kilo-k3s-userspace.yaml b/manifests/kilo-k3s-userspace.yaml index 7be41dc6..47a08b93 100644 --- a/manifests/kilo-k3s-userspace.yaml +++ b/manifests/kilo-k3s-userspace.yaml @@ -131,7 +131,7 @@ spec: hostNetwork: true containers: - name: kilo - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 args: - --kubeconfig=/etc/kubernetes/kubeconfig - --hostname=$(NODE_NAME) @@ -178,7 +178,7 @@ spec: readOnly: false initContainers: - name: generate-kubeconfig - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 command: - /bin/sh args: @@ -199,7 +199,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: install-cni - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 command: - /bin/sh - -c diff --git a/manifests/kilo-k3s.yaml b/manifests/kilo-k3s.yaml index 0dd381ec..3a70b270 100644 --- a/manifests/kilo-k3s.yaml +++ b/manifests/kilo-k3s.yaml @@ -130,7 +130,7 @@ spec: hostNetwork: true containers: - name: kilo - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 args: - --kubeconfig=/etc/kubernetes/kubeconfig - --hostname=$(NODE_NAME) @@ -160,7 +160,7 @@ spec: readOnly: false initContainers: - name: generate-kubeconfig - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 command: - /bin/sh args: @@ -181,7 +181,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: install-cni - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 command: - /bin/sh - -c diff --git a/manifests/kilo-kubeadm-cilium.yaml b/manifests/kilo-kubeadm-cilium.yaml index ac0bf902..e7f990e3 100644 --- a/manifests/kilo-kubeadm-cilium.yaml +++ b/manifests/kilo-kubeadm-cilium.yaml @@ -67,7 +67,7 @@ spec: hostNetwork: true containers: - name: kilo - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 args: - --kubeconfig=/etc/kubernetes/kubeconfig - --hostname=$(NODE_NAME) diff --git a/manifests/kilo-kubeadm-flannel-userspace.yaml b/manifests/kilo-kubeadm-flannel-userspace.yaml index 5d1824e8..e20cf3c1 100644 --- a/manifests/kilo-kubeadm-flannel-userspace.yaml +++ b/manifests/kilo-kubeadm-flannel-userspace.yaml @@ -79,7 +79,7 @@ spec: mountPath: /var/run/wireguard readOnly: false - name: kilo - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 args: - --kubeconfig=/etc/kubernetes/kubeconfig - --hostname=$(NODE_NAME) diff --git a/manifests/kilo-kubeadm-flannel.yaml b/manifests/kilo-kubeadm-flannel.yaml index ff6bb250..9d4a4652 100644 --- a/manifests/kilo-kubeadm-flannel.yaml +++ b/manifests/kilo-kubeadm-flannel.yaml @@ -67,7 +67,7 @@ spec: hostNetwork: true containers: - name: kilo - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 args: - --kubeconfig=/etc/kubernetes/kubeconfig - --hostname=$(NODE_NAME) diff --git a/manifests/kilo-kubeadm-userspace.yaml b/manifests/kilo-kubeadm-userspace.yaml index 8ebec213..64a17dbc 100644 --- a/manifests/kilo-kubeadm-userspace.yaml +++ b/manifests/kilo-kubeadm-userspace.yaml @@ -114,7 +114,7 @@ spec: mountPath: /var/run/wireguard readOnly: false - name: kilo - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 imagePullPolicy: IfNotPresent args: - --kubeconfig=/etc/kubernetes/kubeconfig @@ -150,7 +150,7 @@ spec: readOnly: false initContainers: - name: install-cni - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 imagePullPolicy: IfNotPresent command: - /bin/sh diff --git a/manifests/kilo-kubeadm.yaml b/manifests/kilo-kubeadm.yaml index bb1a2506..494a4aa5 100644 --- a/manifests/kilo-kubeadm.yaml +++ b/manifests/kilo-kubeadm.yaml @@ -101,7 +101,7 @@ spec: hostNetwork: true containers: - name: kilo - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 args: - --kubeconfig=/etc/kubernetes/kubeconfig - --hostname=$(NODE_NAME) @@ -131,7 +131,7 @@ spec: readOnly: false initContainers: - name: install-cni - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 command: - /bin/sh - -c diff --git a/manifests/kilo-typhoon-flannel.yaml b/manifests/kilo-typhoon-flannel.yaml index cbd467ae..2274784d 100644 --- a/manifests/kilo-typhoon-flannel.yaml +++ b/manifests/kilo-typhoon-flannel.yaml @@ -67,7 +67,7 @@ spec: hostNetwork: true containers: - name: kilo - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 args: - --kubeconfig=/etc/kubernetes/kubeconfig - --hostname=$(NODE_NAME) diff --git a/manifests/kilo-typhoon.yaml b/manifests/kilo-typhoon.yaml index 043842bc..6931ac6d 100644 --- a/manifests/kilo-typhoon.yaml +++ b/manifests/kilo-typhoon.yaml @@ -101,7 +101,7 @@ spec: hostNetwork: true containers: - name: kilo - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 args: - --kubeconfig=/etc/kubernetes/kubeconfig - --hostname=$(NODE_NAME) @@ -131,7 +131,7 @@ spec: readOnly: false initContainers: - name: install-cni - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 command: - /bin/sh - -c diff --git a/manifests/peer-validation.yaml b/manifests/peer-validation.yaml index b2ff1a90..e6ca75fa 100644 --- a/manifests/peer-validation.yaml +++ b/manifests/peer-validation.yaml @@ -46,7 +46,7 @@ spec: runAsUser: 1000 containers: - name: server - image: squat/kilo:0.6.0 + image: ghcr.io/cozystack/cozystack/kilo:v0.7.0 args: - webhook - --cert-file=/run/secrets/tls/tls.crt diff --git a/pkg/encapsulation/cilium.go b/pkg/encapsulation/cilium.go index bfbb327a..515d05ba 100644 --- a/pkg/encapsulation/cilium.go +++ b/pkg/encapsulation/cilium.go @@ -21,7 +21,7 @@ import ( "github.com/vishvananda/netlink" - "github.com/squat/kilo/pkg/iptables" + "github.com/cozystack/kilo/pkg/iptables" ) const ciliumDeviceName = "cilium_host" diff --git a/pkg/encapsulation/encapsulation.go b/pkg/encapsulation/encapsulation.go index 77fab57e..6392667c 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/cozystack/kilo/pkg/iptables" ) // Strategy identifies which packets within a location should diff --git a/pkg/encapsulation/flannel.go b/pkg/encapsulation/flannel.go index 9375b8f5..3f97ecf1 100644 --- a/pkg/encapsulation/flannel.go +++ b/pkg/encapsulation/flannel.go @@ -19,7 +19,7 @@ import ( "net" "sync" - "github.com/squat/kilo/pkg/iptables" + "github.com/cozystack/kilo/pkg/iptables" "github.com/vishvananda/netlink" ) diff --git a/pkg/encapsulation/ipip.go b/pkg/encapsulation/ipip.go index 54527835..17a3af88 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/cozystack/kilo/pkg/iproute" + "github.com/cozystack/kilo/pkg/iptables" ) type ipip struct { diff --git a/pkg/encapsulation/noop.go b/pkg/encapsulation/noop.go index ad9818dd..2f14ed7b 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/cozystack/kilo/pkg/iptables" ) // Noop is an encapsulation that does nothing. diff --git a/pkg/k8s/backend.go b/pkg/k8s/backend.go index e94a6646..73a561f4 100644 --- a/pkg/k8s/backend.go +++ b/pkg/k8s/backend.go @@ -39,12 +39,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/cozystack/kilo/pkg/k8s/apis/kilo/v1alpha1" + kiloclient "github.com/cozystack/kilo/pkg/k8s/clientset/versioned" + v1alpha1informers "github.com/cozystack/kilo/pkg/k8s/informers/kilo/v1alpha1" + v1alpha1listers "github.com/cozystack/kilo/pkg/k8s/listers/kilo/v1alpha1" + "github.com/cozystack/kilo/pkg/mesh" + "github.com/cozystack/kilo/pkg/wireguard" ) const ( diff --git a/pkg/k8s/backend_test.go b/pkg/k8s/backend_test.go index 8ea51aaa..0d4020f8 100644 --- a/pkg/k8s/backend_test.go +++ b/pkg/k8s/backend_test.go @@ -23,9 +23,9 @@ import ( "golang.zx2c4.com/wireguard/wgctrl/wgtypes" 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/cozystack/kilo/pkg/k8s/apis/kilo/v1alpha1" + "github.com/cozystack/kilo/pkg/mesh" + "github.com/cozystack/kilo/pkg/wireguard" ) func mustKey() (k wgtypes.Key) { diff --git a/pkg/k8s/clientset/versioned/clientset.go b/pkg/k8s/clientset/versioned/clientset.go index 60c62e22..b0e68f69 100644 --- a/pkg/k8s/clientset/versioned/clientset.go +++ b/pkg/k8s/clientset/versioned/clientset.go @@ -20,7 +20,7 @@ import ( "fmt" "net/http" - kilov1alpha1 "github.com/squat/kilo/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1" + kilov1alpha1 "github.com/cozystack/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 acacc51d..455aabc2 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/cozystack/kilo/pkg/k8s/clientset/versioned" + kilov1alpha1 "github.com/cozystack/kilo/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1" + fakekilov1alpha1 "github.com/cozystack/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 ccdff0d9..305483c4 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/cozystack/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 8b221fac..1dd488bb 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/cozystack/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 fbe986ef..1ba2eef2 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/cozystack/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 942bc08a..e80ca63a 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/cozystack/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 42451f5e..070ca2f8 100644 --- a/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1/kilo_client.go +++ b/pkg/k8s/clientset/versioned/typed/kilo/v1alpha1/kilo_client.go @@ -19,8 +19,8 @@ package v1alpha1 import ( "net/http" - v1alpha1 "github.com/squat/kilo/pkg/k8s/apis/kilo/v1alpha1" - "github.com/squat/kilo/pkg/k8s/clientset/versioned/scheme" + v1alpha1 "github.com/cozystack/kilo/pkg/k8s/apis/kilo/v1alpha1" + "github.com/cozystack/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 32f5455a..78948df2 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/cozystack/kilo/pkg/k8s/apis/kilo/v1alpha1" + scheme "github.com/cozystack/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 ac34e14b..b7778de8 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/cozystack/kilo/pkg/k8s/clientset/versioned" + internalinterfaces "github.com/cozystack/kilo/pkg/k8s/informers/internalinterfaces" + kilo "github.com/cozystack/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 8dde6066..e3e51bf7 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/cozystack/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 c391e669..c3bb6fe0 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/cozystack/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 b0529856..a108d25b 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/cozystack/kilo/pkg/k8s/informers/internalinterfaces" + v1alpha1 "github.com/cozystack/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 18e0263c..ea7c143b 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/cozystack/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 68391ea7..9b5da956 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/cozystack/kilo/pkg/k8s/apis/kilo/v1alpha1" + versioned "github.com/cozystack/kilo/pkg/k8s/clientset/versioned" + internalinterfaces "github.com/cozystack/kilo/pkg/k8s/informers/internalinterfaces" + v1alpha1 "github.com/cozystack/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 8c121773..7890ff48 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/cozystack/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 203661d1..08416b2b 100644 --- a/pkg/mesh/backend.go +++ b/pkg/mesh/backend.go @@ -21,7 +21,7 @@ import ( "golang.zx2c4.com/wireguard/wgctrl/wgtypes" - "github.com/squat/kilo/pkg/wireguard" + "github.com/cozystack/kilo/pkg/wireguard" ) const ( diff --git a/pkg/mesh/graph.go b/pkg/mesh/graph.go index cdf9ff3b..986ec08f 100644 --- a/pkg/mesh/graph.go +++ b/pkg/mesh/graph.go @@ -21,7 +21,7 @@ import ( "github.com/awalterschulze/gographviz" - "github.com/squat/kilo/pkg/wireguard" + "github.com/cozystack/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 ffe4ef5f..d24a9d60 100644 --- a/pkg/mesh/mesh.go +++ b/pkg/mesh/mesh.go @@ -33,11 +33,11 @@ import ( "golang.zx2c4.com/wireguard/wgctrl" "golang.zx2c4.com/wireguard/wgctrl/wgtypes" - "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/cozystack/kilo/pkg/encapsulation" + "github.com/cozystack/kilo/pkg/iproute" + "github.com/cozystack/kilo/pkg/iptables" + "github.com/cozystack/kilo/pkg/route" + "github.com/cozystack/kilo/pkg/wireguard" ) const ( diff --git a/pkg/mesh/mesh_test.go b/pkg/mesh/mesh_test.go index f02c3af2..895cac2b 100644 --- a/pkg/mesh/mesh_test.go +++ b/pkg/mesh/mesh_test.go @@ -21,7 +21,7 @@ import ( "golang.zx2c4.com/wireguard/wgctrl/wgtypes" - "github.com/squat/kilo/pkg/wireguard" + "github.com/cozystack/kilo/pkg/wireguard" ) func mustKey() wgtypes.Key { diff --git a/pkg/mesh/routes.go b/pkg/mesh/routes.go index bff920ea..1f6b9aa1 100644 --- a/pkg/mesh/routes.go +++ b/pkg/mesh/routes.go @@ -23,8 +23,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/cozystack/kilo/pkg/encapsulation" + "github.com/cozystack/kilo/pkg/iptables" ) const kiloTableIndex = 1107 diff --git a/pkg/mesh/routes_test.go b/pkg/mesh/routes_test.go index 648ce0ed..b9157752 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/cozystack/kilo/pkg/encapsulation" ) func TestRoutes(t *testing.T) { diff --git a/pkg/mesh/topology.go b/pkg/mesh/topology.go index 1de8ae4a..3dad6d7f 100644 --- a/pkg/mesh/topology.go +++ b/pkg/mesh/topology.go @@ -24,7 +24,7 @@ import ( "github.com/go-kit/kit/log/level" "golang.zx2c4.com/wireguard/wgctrl/wgtypes" - "github.com/squat/kilo/pkg/wireguard" + "github.com/cozystack/kilo/pkg/wireguard" ) const ( diff --git a/pkg/mesh/topology_test.go b/pkg/mesh/topology_test.go index 54862426..2c4dbc20 100644 --- a/pkg/mesh/topology_test.go +++ b/pkg/mesh/topology_test.go @@ -23,7 +23,7 @@ import ( "github.com/kylelemons/godebug/pretty" "golang.zx2c4.com/wireguard/wgctrl/wgtypes" - "github.com/squat/kilo/pkg/wireguard" + "github.com/cozystack/kilo/pkg/wireguard" ) func mustParseCIDR(s string) (r net.IPNet) { diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 65cde52e..a30810bd 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -21,7 +21,7 @@ module.exports = { position: 'left', }, { - href: 'https://github.com/squat/kilo', + href: 'https://github.com/cozystack/kilo', label: 'GitHub', position: 'right', }, @@ -52,7 +52,7 @@ module.exports = { items: [ { label: 'GitHub', - href: 'https://github.com/squat/kilo', + href: 'https://github.com/cozystack/kilo', }, ], }, @@ -66,7 +66,7 @@ module.exports = { docs: { sidebarPath: require.resolve('./sidebars.js'), editUrl: - 'https://github.com/squat/kilo/edit/master/', + 'https://github.com/cozystack/kilo/edit/master/', }, theme: { customCss: require.resolve('./src/css/custom.css'),