From bce0bac183879a30f5b1c139108cbd18e3fa274d Mon Sep 17 00:00:00 2001 From: Daniel Holbach Date: Tue, 20 Sep 2022 11:29:10 +0200 Subject: [PATCH] Changed weaveworks to kubereboot in many places Areas I did not touch: - bot name, secrets - image name - LICENSE (would need to ask how/if that gets changed...?) - one mention in the Dev docs that we used to do some pre-release smoke-testing on the Weave Dev cluster Signed-off-by: Daniel Holbach --- DEVELOPMENT.md | 8 ++++---- Makefile | 2 +- README.md | 16 ++++++++-------- cmd/kured/main.go | 10 +++++----- cmd/kured/main_test.go | 2 +- go.mod | 2 +- 6 files changed, 20 insertions(+), 20 deletions(-) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 97b0c71..d0a6063 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -10,7 +10,7 @@ helpful for testing. The "building" section in particular makes sense if you are planning to contribute code. [slack]: README.md#getting-help -[issues]: https://github.com/weaveworks/kured/issues +[issues]: https://github.com/kubereboot/kured/issues [readme]: README.md ## Certificate of Origin @@ -39,10 +39,10 @@ Whenever we want to update e.g. the `kubectl` or `client-go` dependencies, some RBAC changes might be necessary too. This is what it took to support Kubernetes 1.14: - + That the process can be more involved that that can be seen in - + Please update our .github/workflows with the new k8s images, starting by the creation of a .github/kind-cluster-.yaml, then updating @@ -207,7 +207,7 @@ Now create the `kured--dockerhub.yaml` for e.g. `1.3.0`: ```sh VERSION=1.3.0 MANIFEST="kured-$VERSION-dockerhub.yaml" -make DH_ORG="weaveworks" VERSION="${VERSION}" manifest +make DH_ORG="kubereboot" VERSION="${VERSION}" manifest cat kured-rbac.yaml > "$MANIFEST" cat kured-ds.yaml >> "$MANIFEST" ``` diff --git a/Makefile b/Makefile index 6e480a7..8f4e86d 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ .DEFAULT: all .PHONY: all clean image publish-image minikube-publish manifest test tests kured-multi -DH_ORG=weaveworks +DH_ORG=kubereboot VERSION=$(shell git symbolic-ref --short HEAD)-$(shell git rev-parse --short HEAD) SUDO=$(shell docker info >/dev/null 2>&1 || echo "sudo -E") diff --git a/README.md b/README.md index afbbbb3..3363877 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ :exclamation: We are currently in the middle of the move to a different github organisation. If you have an issue with downloading kured images, helm charts, or other information, please do not hesitate to contact us in slack (see link below) or in the -[Migration issue](https://github.com/weaveworks/kured/issues/633). +[Migration issue](https://github.com/kubereboot/kured/issues/633). # kured - Kubernetes Reboot Daemon - + - [kured - Kubernetes Reboot Daemon](#kured---kubernetes-reboot-daemon) - [Introduction](#introduction) @@ -68,7 +68,7 @@ server: | 1.1.0 | 1.12.1 | v9.0.0 | release-1.12 | 1.11.x, 1.12.x, 1.13.x | | 1.0.0 | 1.7.6 | v4.0.0 | release-1.7 | 1.6.x, 1.7.x, 1.8.x | -See the [release notes](https://github.com/weaveworks/kured/releases) +See the [release notes](https://github.com/kubereboot/kured/releases) for specific version compatibility information, including which combination have been formally tested. @@ -81,8 +81,8 @@ To obtain a default installation without Prometheus alerting interlock or Slack notifications: ```console -latest=$(curl -s https://api.github.com/repos/weaveworks/kured/releases | jq -r .[0].tag_name) -kubectl apply -f "https://github.com/weaveworks/kured/releases/download/$latest/kured-$latest-dockerhub.yaml" +latest=$(curl -s https://api.github.com/repos/kubereboot/kured/releases | jq -r .[0].tag_name) +kubectl apply -f "https://github.com/kubereboot/kured/releases/download/$latest/kured-$latest-dockerhub.yaml" ``` If you want to customise the installation, download the manifest and @@ -300,7 +300,7 @@ Here is the syntax: - slack: `slack://tokenA/tokenB/tokenC` - (`slack://@tokenA/tokenB/tokenC` - in case you want to [respect username](https://github.com/weaveworks/kured/issues/482)) + (`slack://@tokenA/tokenB/tokenC` - in case you want to [respect username](https://github.com/kubereboot/kured/issues/482)) (`--slack-hook-url` is deprecated but possible to use) @@ -410,7 +410,7 @@ Use of `latest` for production deployments is bad practice - see [here](https://kubernetes.io/docs/concepts/configuration/overview) for details. The manifest on `main` refers to `latest` for local development testing with minikube only; for production use choose a -versioned manifest from the [release page](https://github.com/weaveworks/kured/releases/). +versioned manifest from the [release page](https://github.com/kubereboot/kured/releases/). ## Getting Help @@ -418,7 +418,7 @@ If you have any questions about, feedback for or problems with `kured`: - Invite yourself to the CNCF Slack. - Ask a question on the [#kured](https://cloud-native.slack.com/archives/kured) slack channel. -- [File an issue](https://github.com/weaveworks/kured/issues/new). +- [File an issue](https://github.com/kubereboot/kured/issues/new). - Join us in [our monthly meeting](https://docs.google.com/document/d/1bsHTjHhqaaZ7yJnXF6W8c89UB_yn-OoSZEmDnIP34n8/edit#), every fourth Wednesday of the month at 16:00 UTC. diff --git a/cmd/kured/main.go b/cmd/kured/main.go index abe8560..44c8ca9 100644 --- a/cmd/kured/main.go +++ b/cmd/kured/main.go @@ -32,11 +32,11 @@ import ( shoutrrr "github.com/containrrr/shoutrrr" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp" - "github.com/weaveworks/kured/pkg/alerts" - "github.com/weaveworks/kured/pkg/daemonsetlock" - "github.com/weaveworks/kured/pkg/delaytick" - "github.com/weaveworks/kured/pkg/taints" - "github.com/weaveworks/kured/pkg/timewindow" + "github.com/kubereboot/kured/pkg/alerts" + "github.com/kubereboot/kured/pkg/daemonsetlock" + "github.com/kubereboot/kured/pkg/delaytick" + "github.com/kubereboot/kured/pkg/taints" + "github.com/kubereboot/kured/pkg/timewindow" ) var ( diff --git a/cmd/kured/main_test.go b/cmd/kured/main_test.go index d6849c2..a7b11b1 100644 --- a/cmd/kured/main_test.go +++ b/cmd/kured/main_test.go @@ -6,7 +6,7 @@ import ( log "github.com/sirupsen/logrus" "github.com/spf13/cobra" - "github.com/weaveworks/kured/pkg/alerts" + "github.com/kubereboot/kured/pkg/alerts" assert "gotest.tools/v3/assert" papi "github.com/prometheus/client_golang/api" diff --git a/go.mod b/go.mod index 5aaf9c1..e2a71e6 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/weaveworks/kured +module github.com/kubereboot/kured go 1.18