diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index ba96045..586c38a 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -9,7 +9,7 @@ This tool was made to manage large IBM Cloud accounts and the Kubernetes Cluster 1. Set up your development environment -Open terminal and cd to a desired location and clone the Git repository ``` -git clone https://github.com/moficodes/ibmcloud-kubernetes-admin.git +git clone https://github.com/ibm-avocados/ibmcloud-kubernetes-admin.git ``` -Install Homebrew with diff --git a/Makefile b/Makefile index 0c087d3..72454f6 100644 --- a/Makefile +++ b/Makefile @@ -25,10 +25,10 @@ run: ./kubeadmin docker: - docker build -t moficodes/ibm-kubernetes-admin:$(tag) -f docker/Dockerfile.web . + docker build -t ibm-avocados/ibm-kubernetes-admin:$(tag) -f docker/Dockerfile.web . push: - docker push moficodes/ibm-kubernetes-admin:$(tag) + docker push ibm-avocados/ibm-kubernetes-admin:$(tag) run-local: go run ./cmd/web/main.go; \ No newline at end of file diff --git a/cmd/notifier/main.go b/cmd/notifier/main.go index e38b5bd..5df5d7d 100644 --- a/cmd/notifier/main.go +++ b/cmd/notifier/main.go @@ -2,8 +2,8 @@ package main import ( _ "github.com/joho/godotenv/autoload" - "github.com/moficodes/ibmcloud-kubernetes-admin/internals/notifier" - "github.com/moficodes/ibmcloud-kubernetes-admin/pkg/eventstream" + "github.com/ibm-avocados/ibmcloud-kubernetes-admin/internals/notifier" + "github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/eventstream" "encoding/json" "github.com/confluentinc/confluent-kafka-go/kafka" diff --git a/cmd/provisioner/main.go b/cmd/provisioner/main.go index f421137..8be3fe9 100644 --- a/cmd/provisioner/main.go +++ b/cmd/provisioner/main.go @@ -3,7 +3,7 @@ package main import ( "fmt" _ "github.com/joho/godotenv/autoload" - "github.com/moficodes/ibmcloud-kubernetes-admin/pkg/vault" + "github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/vault" "log" ) diff --git a/config/cron-deployment.yaml b/config/cron-deployment.yaml index e475858..d564a15 100644 --- a/config/cron-deployment.yaml +++ b/config/cron-deployment.yaml @@ -21,7 +21,7 @@ spec: run: cron spec: containers: - - image: moficodes/ibmcloud-kubernetes-cron:v0.2.7 + - image: ibm-avocados/ibmcloud-kubernetes-cron:v0.2.7 imagePullPolicy: Always name: cron env: @@ -50,7 +50,7 @@ spec: - name: ADMIN_FROM_EMAIL value: iksadmin@ibm.com - name: ADMIN_TO_EMAIL - value: moficodes@ibm.com,awesome@ibm.com + value: ibm-avocados@ibm.com,awesome@ibm.com resources: limits: cpu: 500m diff --git a/config/deployment-travis.yaml b/config/deployment-travis.yaml index 093f100..534a156 100644 --- a/config/deployment-travis.yaml +++ b/config/deployment-travis.yaml @@ -22,7 +22,7 @@ spec: run: admin spec: containers: - - image: moficodes/ibmcloud-kubernetes-admin:$TRAVIS_TAG + - image: ibm-avocados/ibmcloud-kubernetes-admin:$TRAVIS_TAG imagePullPolicy: Always name: destination env: diff --git a/go.mod b/go.mod index f81f4fa..0d8d65c 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/moficodes/ibmcloud-kubernetes-admin +module github.com/ibm-avocados/ibmcloud-kubernetes-admin go 1.14 diff --git a/pkg/infra/ibmcloud/api.go b/pkg/infra/ibmcloud/api.go index 77c6a4b..f6d07aa 100644 --- a/pkg/infra/ibmcloud/api.go +++ b/pkg/infra/ibmcloud/api.go @@ -12,9 +12,9 @@ import ( "strings" "time" - "github.com/moficodes/ibmcloud-kubernetes-admin/pkg/infra" + "github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/infra" - "github.com/moficodes/ibmcloud-kubernetes-admin/pkg/restclient" + "github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/restclient" ) // protocol diff --git a/pkg/infra/ibmcloud/provider.go b/pkg/infra/ibmcloud/provider.go index 18e1294..8b34d0c 100644 --- a/pkg/infra/ibmcloud/provider.go +++ b/pkg/infra/ibmcloud/provider.go @@ -4,7 +4,7 @@ import ( "errors" "net/http" - "github.com/moficodes/ibmcloud-kubernetes-admin/pkg/infra" + "github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/infra" ) type Provider struct { diff --git a/pkg/infra/ibmcloud/session.go b/pkg/infra/ibmcloud/session.go index 2e59447..825876f 100644 --- a/pkg/infra/ibmcloud/session.go +++ b/pkg/infra/ibmcloud/session.go @@ -7,7 +7,7 @@ import ( "strings" "time" - "github.com/moficodes/ibmcloud-kubernetes-admin/pkg/infra" + "github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/infra" ) const ( diff --git a/pkg/router/kubeadmin/account.go b/pkg/router/kubeadmin/account.go index cb1bc52..1b9dd76 100644 --- a/pkg/router/kubeadmin/account.go +++ b/pkg/router/kubeadmin/account.go @@ -7,7 +7,7 @@ import ( "log" "net/http" - "github.com/moficodes/ibmcloud-kubernetes-admin/pkg/infra" + "github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/infra" "github.com/labstack/echo/v4" ) diff --git a/pkg/router/kubeadmin/auth.go b/pkg/router/kubeadmin/auth.go index 02e63be..f4a035f 100644 --- a/pkg/router/kubeadmin/auth.go +++ b/pkg/router/kubeadmin/auth.go @@ -13,9 +13,9 @@ import ( "strconv" "strings" - "github.com/moficodes/ibmcloud-kubernetes-admin/pkg/infra" + "github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/infra" - "github.com/moficodes/ibmcloud-kubernetes-admin/internals/token" + "github.com/ibm-avocados/ibmcloud-kubernetes-admin/internals/token" "github.com/labstack/echo/v4" ) diff --git a/pkg/router/kubeadmin/awx.go b/pkg/router/kubeadmin/awx.go index da90b53..358d334 100644 --- a/pkg/router/kubeadmin/awx.go +++ b/pkg/router/kubeadmin/awx.go @@ -6,8 +6,8 @@ import ( "net/http" "os" + "github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/awx" "github.com/labstack/echo/v4" - "github.com/moficodes/ibmcloud-kubernetes-admin/pkg/awx" ) func GetAWXWorkflowJobTemplates(c echo.Context) error { diff --git a/pkg/router/kubeadmin/billing.go b/pkg/router/kubeadmin/billing.go index b5edc39..019243d 100644 --- a/pkg/router/kubeadmin/billing.go +++ b/pkg/router/kubeadmin/billing.go @@ -6,7 +6,7 @@ import ( "fmt" "net/http" - "github.com/moficodes/ibmcloud-kubernetes-admin/pkg/infra" + "github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/infra" "github.com/labstack/echo/v4" ) diff --git a/pkg/router/kubeadmin/cluster.go b/pkg/router/kubeadmin/cluster.go index d6affe3..9db981a 100644 --- a/pkg/router/kubeadmin/cluster.go +++ b/pkg/router/kubeadmin/cluster.go @@ -7,7 +7,7 @@ import ( "io/ioutil" "net/http" - "github.com/moficodes/ibmcloud-kubernetes-admin/pkg/infra" + "github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/infra" "github.com/labstack/echo/v4" ) diff --git a/pkg/router/kubeadmin/github.go b/pkg/router/kubeadmin/github.go index c0b5141..5adc723 100644 --- a/pkg/router/kubeadmin/github.go +++ b/pkg/router/kubeadmin/github.go @@ -3,10 +3,10 @@ package kubeadmin import ( "net/http" - "github.com/moficodes/ibmcloud-kubernetes-admin/pkg/vcs" + "github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/vcs" + "github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/vcs/github" "github.com/labstack/echo/v4" - "github.com/moficodes/ibmcloud-kubernetes-admin/pkg/vcs/github" ) func GithubCommentHandler(c echo.Context) error { diff --git a/pkg/router/kubeadmin/github_test.go b/pkg/router/kubeadmin/github_test.go index 5d38616..fc23f80 100644 --- a/pkg/router/kubeadmin/github_test.go +++ b/pkg/router/kubeadmin/github_test.go @@ -10,7 +10,7 @@ import ( "github.com/labstack/echo/v4" - "github.com/moficodes/ibmcloud-kubernetes-admin/pkg/vcs" + "github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/vcs" ) func TestGithubCommentHandler(t *testing.T) { diff --git a/pkg/router/kubeadmin/iam.go b/pkg/router/kubeadmin/iam.go index 3cf33ae..ffe07f2 100644 --- a/pkg/router/kubeadmin/iam.go +++ b/pkg/router/kubeadmin/iam.go @@ -5,7 +5,7 @@ import ( "fmt" "net/http" - "github.com/moficodes/ibmcloud-kubernetes-admin/pkg/infra" + "github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/infra" "github.com/labstack/echo/v4" ) diff --git a/pkg/router/kubeadmin/kubeadminrouter.go b/pkg/router/kubeadmin/kubeadminrouter.go index d3cce11..316183e 100644 --- a/pkg/router/kubeadmin/kubeadminrouter.go +++ b/pkg/router/kubeadmin/kubeadminrouter.go @@ -3,7 +3,7 @@ package kubeadmin import ( "github.com/labstack/echo/v4" "github.com/labstack/echo/v4/middleware" - "github.com/moficodes/ibmcloud-kubernetes-admin/pkg/infra" + "github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/infra" ) type router struct { diff --git a/pkg/router/kubeadmin/public.go b/pkg/router/kubeadmin/public.go index 68c8051..b9a1b8b 100644 --- a/pkg/router/kubeadmin/public.go +++ b/pkg/router/kubeadmin/public.go @@ -4,7 +4,7 @@ import ( "net/http" "strconv" - "github.com/moficodes/ibmcloud-kubernetes-admin/pkg/infra" + "github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/infra" "github.com/labstack/echo/v4" ) diff --git a/pkg/router/kubeadmin/tags.go b/pkg/router/kubeadmin/tags.go index 9c6d1d9..d8fd954 100644 --- a/pkg/router/kubeadmin/tags.go +++ b/pkg/router/kubeadmin/tags.go @@ -8,7 +8,7 @@ import ( "log" "net/http" - "github.com/moficodes/ibmcloud-kubernetes-admin/pkg/infra" + "github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/infra" "github.com/labstack/echo/v4" ) diff --git a/pkg/router/kubeadmin/user.go b/pkg/router/kubeadmin/user.go index a18b845..5e7f690 100644 --- a/pkg/router/kubeadmin/user.go +++ b/pkg/router/kubeadmin/user.go @@ -4,7 +4,7 @@ import ( "log" "net/http" - "github.com/moficodes/ibmcloud-kubernetes-admin/pkg/infra" + "github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/infra" "github.com/labstack/echo/v4" ) diff --git a/pkg/vcs/github/comment.go b/pkg/vcs/github/comment.go index a53688c..c4b874f 100644 --- a/pkg/vcs/github/comment.go +++ b/pkg/vcs/github/comment.go @@ -8,7 +8,7 @@ import ( "runtime" "text/template" - "github.com/moficodes/ibmcloud-kubernetes-admin/pkg/vcs" + "github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/vcs" ) func getCommentString(comment vcs.GithubIssueComment) (string, error) { diff --git a/pkg/vcs/github/comment_test.go b/pkg/vcs/github/comment_test.go index 9ba378e..07e2d14 100644 --- a/pkg/vcs/github/comment_test.go +++ b/pkg/vcs/github/comment_test.go @@ -3,7 +3,7 @@ package github import ( "testing" - "github.com/moficodes/ibmcloud-kubernetes-admin/pkg/vcs" + "github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/vcs" ) func TestCommentString(t *testing.T) { diff --git a/pkg/vcs/github/github_test.go b/pkg/vcs/github/github_test.go index 69c0858..c529321 100644 --- a/pkg/vcs/github/github_test.go +++ b/pkg/vcs/github/github_test.go @@ -4,7 +4,7 @@ import ( "os" "testing" - "github.com/moficodes/ibmcloud-kubernetes-admin/pkg/vcs" + "github.com/ibm-avocados/ibmcloud-kubernetes-admin/pkg/vcs" ) func TestCreateComment(t *testing.T) {