From b4ae06012280519fece35846a03103fde3738643 Mon Sep 17 00:00:00 2001 From: stefanprodan Date: Wed, 20 Mar 2019 18:26:04 +0200 Subject: [PATCH 1/2] Move to weaveworks org --- .goreleaser.yml | 2 +- CHANGELOG.md | 46 +++++++++---------- Dockerfile | 8 ++-- Dockerfile.loadtester | 6 +-- README.md | 10 ++-- charts/flagger/Chart.yaml | 2 +- charts/flagger/README.md | 2 +- charts/grafana/Chart.yaml | 2 +- charts/loadtester/Chart.yaml | 2 +- charts/loadtester/README.md | 2 +- charts/podinfo/Chart.yaml | 4 +- cmd/flagger/main.go | 16 +++---- cmd/loadtester/main.go | 6 +-- docs/gitbook/README.md | 2 +- docs/gitbook/how-it-works.md | 2 +- hack/update-codegen.sh | 2 +- pkg/apis/appmesh/v1alpha1/register.go | 2 +- pkg/apis/flagger/v1alpha3/register.go | 2 +- pkg/apis/flagger/v1alpha3/types.go | 2 +- .../flagger/v1alpha3/zz_generated.deepcopy.go | 2 +- pkg/apis/istio/v1alpha3/register.go | 2 +- pkg/apis/istio/v1alpha3/virtual_service.go | 2 +- .../istio/v1alpha3/zz_generated.deepcopy.go | 2 +- pkg/client/clientset/versioned/clientset.go | 6 +-- .../versioned/fake/clientset_generated.go | 14 +++--- .../clientset/versioned/fake/register.go | 6 +-- .../clientset/versioned/scheme/register.go | 6 +-- .../typed/appmesh/v1alpha1/appmesh_client.go | 4 +- .../v1alpha1/fake/fake_appmesh_client.go | 2 +- .../typed/appmesh/v1alpha1/fake/fake_mesh.go | 2 +- .../appmesh/v1alpha1/fake/fake_virtualnode.go | 2 +- .../v1alpha1/fake/fake_virtualservice.go | 2 +- .../versioned/typed/appmesh/v1alpha1/mesh.go | 4 +- .../typed/appmesh/v1alpha1/virtualnode.go | 4 +- .../typed/appmesh/v1alpha1/virtualservice.go | 4 +- .../typed/flagger/v1alpha3/canary.go | 4 +- .../flagger/v1alpha3/fake/fake_canary.go | 2 +- .../v1alpha3/fake/fake_flagger_client.go | 2 +- .../typed/flagger/v1alpha3/flagger_client.go | 4 +- .../istio/v1alpha3/fake/fake_istio_client.go | 2 +- .../v1alpha3/fake/fake_virtualservice.go | 2 +- .../typed/istio/v1alpha3/istio_client.go | 4 +- .../typed/istio/v1alpha3/virtualservice.go | 4 +- .../externalversions/appmesh/interface.go | 4 +- .../appmesh/v1alpha1/interface.go | 2 +- .../externalversions/appmesh/v1alpha1/mesh.go | 8 ++-- .../appmesh/v1alpha1/virtualnode.go | 8 ++-- .../appmesh/v1alpha1/virtualservice.go | 8 ++-- .../informers/externalversions/factory.go | 10 ++-- .../externalversions/flagger/interface.go | 4 +- .../flagger/v1alpha3/canary.go | 8 ++-- .../flagger/v1alpha3/interface.go | 2 +- .../informers/externalversions/generic.go | 6 +-- .../internalinterfaces/factory_interfaces.go | 2 +- .../externalversions/istio/interface.go | 4 +- .../istio/v1alpha3/interface.go | 2 +- .../istio/v1alpha3/virtualservice.go | 8 ++-- pkg/client/listers/appmesh/v1alpha1/mesh.go | 2 +- .../listers/appmesh/v1alpha1/virtualnode.go | 2 +- .../appmesh/v1alpha1/virtualservice.go | 2 +- pkg/client/listers/flagger/v1alpha3/canary.go | 2 +- .../listers/istio/v1alpha3/virtualservice.go | 2 +- pkg/controller/controller.go | 12 ++--- pkg/controller/controller_test.go | 16 +++---- pkg/controller/deployer.go | 4 +- pkg/controller/deployer_test.go | 2 +- pkg/controller/recorder.go | 2 +- pkg/controller/scheduler.go | 4 +- pkg/controller/scheduler_test.go | 2 +- pkg/controller/tracker.go | 4 +- pkg/controller/webhook.go | 2 +- pkg/controller/webhook_test.go | 2 +- pkg/loadtester/runner_test.go | 2 +- pkg/loadtester/server.go | 2 +- pkg/loadtester/task_ngrinder_test.go | 2 +- pkg/router/appmesh.go | 6 +-- pkg/router/factory.go | 2 +- pkg/router/istio.go | 6 +-- pkg/router/istio_test.go | 2 +- pkg/router/kubernetes.go | 4 +- pkg/router/router.go | 2 +- pkg/router/router_test.go | 12 ++--- 82 files changed, 192 insertions(+), 192 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 502436ae6..4d46ccbe9 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,7 +1,7 @@ builds: - main: ./cmd/flagger binary: flagger - ldflags: -s -w -X github.com/stefanprodan/flagger/pkg/version.REVISION={{.Commit}} + ldflags: -s -w -X github.com/weaveworks/flagger/pkg/version.REVISION={{.Commit}} goos: - linux goarch: diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e78d103f..6f6f9f4d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,11 +9,11 @@ primary and canary based on HTTP headers or cookies. #### Features -- A/B testing - canary with session affinity [#88](https://github.com/stefanprodan/flagger/pull/88) +- A/B testing - canary with session affinity [#88](https://github.com/weaveworks/flagger/pull/88) #### Fixes -- Update the analysis interval when the custom resource changes [#91](https://github.com/stefanprodan/flagger/pull/91) +- Update the analysis interval when the custom resource changes [#91](https://github.com/weaveworks/flagger/pull/91) ## 0.8.0 (2019-03-06) @@ -21,16 +21,16 @@ Adds support for CORS policy and HTTP request headers manipulation #### Features -- CORS policy support [#83](https://github.com/stefanprodan/flagger/pull/83) -- Allow headers to be appended to HTTP requests [#82](https://github.com/stefanprodan/flagger/pull/82) +- CORS policy support [#83](https://github.com/weaveworks/flagger/pull/83) +- Allow headers to be appended to HTTP requests [#82](https://github.com/weaveworks/flagger/pull/82) #### Improvements - Refactor the routing management - [#72](https://github.com/stefanprodan/flagger/pull/72) - [#80](https://github.com/stefanprodan/flagger/pull/80) -- Fine-grained RBAC [#73](https://github.com/stefanprodan/flagger/pull/73) -- Add option to limit Flagger to a single namespace [#78](https://github.com/stefanprodan/flagger/pull/78) + [#72](https://github.com/weaveworks/flagger/pull/72) + [#80](https://github.com/weaveworks/flagger/pull/80) +- Fine-grained RBAC [#73](https://github.com/weaveworks/flagger/pull/73) +- Add option to limit Flagger to a single namespace [#78](https://github.com/weaveworks/flagger/pull/78) ## 0.7.0 (2019-02-28) @@ -38,8 +38,8 @@ Adds support for custom metric checks, HTTP timeouts and HTTP retries #### Features -- Allow custom promql queries in the canary analysis spec [#60](https://github.com/stefanprodan/flagger/pull/60) -- Add HTTP timeout and retries to canary service spec [#62](https://github.com/stefanprodan/flagger/pull/62) +- Allow custom promql queries in the canary analysis spec [#60](https://github.com/weaveworks/flagger/pull/60) +- Add HTTP timeout and retries to canary service spec [#62](https://github.com/weaveworks/flagger/pull/62) ## 0.6.0 (2019-02-25) @@ -49,15 +49,15 @@ to be customized in the service spec of the canary custom resource. #### Features -- Add HTTP match conditions and URI rewrite to the canary service spec [#55](https://github.com/stefanprodan/flagger/pull/55) +- Add HTTP match conditions and URI rewrite to the canary service spec [#55](https://github.com/weaveworks/flagger/pull/55) - Update virtual service when the canary service spec changes - [#54](https://github.com/stefanprodan/flagger/pull/54) - [#51](https://github.com/stefanprodan/flagger/pull/51) + [#54](https://github.com/weaveworks/flagger/pull/54) + [#51](https://github.com/weaveworks/flagger/pull/51) #### Improvements - Run e2e testing on [Kubernetes Kind](https://github.com/kubernetes-sigs/kind) for canary promotion - [#53](https://github.com/stefanprodan/flagger/pull/53) + [#53](https://github.com/weaveworks/flagger/pull/53) ## 0.5.1 (2019-02-14) @@ -65,15 +65,15 @@ Allows skipping the analysis phase to ship changes directly to production #### Features -- Add option to skip the canary analysis [#46](https://github.com/stefanprodan/flagger/pull/46) +- Add option to skip the canary analysis [#46](https://github.com/weaveworks/flagger/pull/46) #### Fixes -- Reject deployment if the pod label selector doesn't match `app: ` [#43](https://github.com/stefanprodan/flagger/pull/43) +- Reject deployment if the pod label selector doesn't match `app: ` [#43](https://github.com/weaveworks/flagger/pull/43) ## 0.5.0 (2019-01-30) -Track changes in ConfigMaps and Secrets [#37](https://github.com/stefanprodan/flagger/pull/37) +Track changes in ConfigMaps and Secrets [#37](https://github.com/weaveworks/flagger/pull/37) #### Features @@ -89,7 +89,7 @@ Track changes in ConfigMaps and Secrets [#37](https://github.com/stefanprodan/fl ## 0.4.1 (2019-01-24) -Load testing webhook [#35](https://github.com/stefanprodan/flagger/pull/35) +Load testing webhook [#35](https://github.com/weaveworks/flagger/pull/35) #### Features @@ -103,7 +103,7 @@ Load testing webhook [#35](https://github.com/stefanprodan/flagger/pull/35) ## 0.4.0 (2019-01-18) -Restart canary analysis if revision changes [#31](https://github.com/stefanprodan/flagger/pull/31) +Restart canary analysis if revision changes [#31](https://github.com/weaveworks/flagger/pull/31) #### Breaking changes @@ -124,7 +124,7 @@ Restart canary analysis if revision changes [#31](https://github.com/stefanproda ## 0.3.0 (2019-01-11) -Configurable canary analysis duration [#20](https://github.com/stefanprodan/flagger/pull/20) +Configurable canary analysis duration [#20](https://github.com/weaveworks/flagger/pull/20) #### Breaking changes @@ -139,7 +139,7 @@ Configurable canary analysis duration [#20](https://github.com/stefanprodan/flag ## 0.2.0 (2019-01-04) -Webhooks [#18](https://github.com/stefanprodan/flagger/pull/18) +Webhooks [#18](https://github.com/weaveworks/flagger/pull/18) #### Features @@ -150,7 +150,7 @@ Webhooks [#18](https://github.com/stefanprodan/flagger/pull/18) ## 0.1.2 (2018-12-06) -Improve Slack notifications [#14](https://github.com/stefanprodan/flagger/pull/14) +Improve Slack notifications [#14](https://github.com/weaveworks/flagger/pull/14) #### Features @@ -159,7 +159,7 @@ Improve Slack notifications [#14](https://github.com/stefanprodan/flagger/pull/1 ## 0.1.1 (2018-11-28) -Canary progress deadline [#10](https://github.com/stefanprodan/flagger/pull/10) +Canary progress deadline [#10](https://github.com/weaveworks/flagger/pull/10) #### Features diff --git a/Dockerfile b/Dockerfile index 1ea9c93bc..da33fc799 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,14 @@ FROM golang:1.11 -RUN mkdir -p /go/src/github.com/stefanprodan/flagger/ +RUN mkdir -p /go/src/github.com/weaveworks/flagger/ -WORKDIR /go/src/github.com/stefanprodan/flagger +WORKDIR /go/src/github.com/weaveworks/flagger COPY . . RUN GIT_COMMIT=$(git rev-list -1 HEAD) && \ CGO_ENABLED=0 GOOS=linux go build -ldflags "-s -w \ - -X github.com/stefanprodan/flagger/pkg/version.REVISION=${GIT_COMMIT}" \ + -X github.com/weaveworks/flagger/pkg/version.REVISION=${GIT_COMMIT}" \ -a -installsuffix cgo -o flagger ./cmd/flagger/* FROM alpine:3.9 @@ -19,7 +19,7 @@ RUN addgroup -S flagger \ WORKDIR /home/flagger -COPY --from=0 /go/src/github.com/stefanprodan/flagger/flagger . +COPY --from=0 /go/src/github.com/weaveworks/flagger/flagger . RUN chown -R flagger:flagger ./ diff --git a/Dockerfile.loadtester b/Dockerfile.loadtester index 23d8382dc..de95a5e6e 100644 --- a/Dockerfile.loadtester +++ b/Dockerfile.loadtester @@ -16,9 +16,9 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \ FROM golang:1.11 AS builder -RUN mkdir -p /go/src/github.com/stefanprodan/flagger/ +RUN mkdir -p /go/src/github.com/weaveworks/flagger/ -WORKDIR /go/src/github.com/stefanprodan/flagger +WORKDIR /go/src/github.com/weaveworks/flagger COPY . . @@ -35,7 +35,7 @@ RUN addgroup -S app \ WORKDIR /home/app COPY --from=hey-builder /go/bin/hey /usr/local/bin/hey -COPY --from=builder /go/src/github.com/stefanprodan/flagger/loadtester . +COPY --from=builder /go/src/github.com/weaveworks/flagger/loadtester . RUN chown -R app:app ./ diff --git a/README.md b/README.md index 713b4e03c..763fa1d0e 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # flagger [![build](https://travis-ci.org/stefanprodan/flagger.svg?branch=master)](https://travis-ci.org/stefanprodan/flagger) -[![report](https://goreportcard.com/badge/github.com/stefanprodan/flagger)](https://goreportcard.com/report/github.com/stefanprodan/flagger) +[![report](https://goreportcard.com/badge/github.com/weaveworks/flagger)](https://goreportcard.com/report/github.com/weaveworks/flagger) [![codecov](https://codecov.io/gh/stefanprodan/flagger/branch/master/graph/badge.svg)](https://codecov.io/gh/stefanprodan/flagger) -[![license](https://img.shields.io/github/license/stefanprodan/flagger.svg)](https://github.com/stefanprodan/flagger/blob/master/LICENSE) -[![release](https://img.shields.io/github/release/stefanprodan/flagger/all.svg)](https://github.com/stefanprodan/flagger/releases) +[![license](https://img.shields.io/github/license/stefanprodan/flagger.svg)](https://github.com/weaveworks/flagger/blob/master/LICENSE) +[![release](https://img.shields.io/github/release/stefanprodan/flagger/all.svg)](https://github.com/weaveworks/flagger/releases) Flagger is a Kubernetes operator that automates the promotion of canary deployments using Istio routing for traffic shifting and Prometheus metrics for canary analysis. @@ -44,7 +44,7 @@ Flagger documentation can be found at [docs.flagger.app](https://docs.flagger.ap ### Install Before installing Flagger make sure you have Istio setup up with Prometheus enabled. -If you are new to Istio you can follow my [Istio service mesh walk-through](https://github.com/stefanprodan/istio-gke). +If you are new to Istio you can follow my [Istio service mesh walk-through](https://github.com/weaveworks/istio-gke). Deploy Flagger in the `istio-system` namespace using Helm: @@ -191,6 +191,6 @@ If you have any questions about Flagger and progressive delivery: and join the [#flagger](https://weave-community.slack.com/messages/flagger/) channel. * Join the [Weave User Group](https://www.meetup.com/pro/Weave/) and get invited to online talks, hands-on training and meetups in your area. -* File an [issue](https://github.com/stefanprodan/flagger/issues/new). +* File an [issue](https://github.com/weaveworks/flagger/issues/new). Your feedback is always welcome! diff --git a/charts/flagger/Chart.yaml b/charts/flagger/Chart.yaml index a469b5a22..e3a2ebd6b 100644 --- a/charts/flagger/Chart.yaml +++ b/charts/flagger/Chart.yaml @@ -8,7 +8,7 @@ description: Flagger is a Kubernetes operator that automates the promotion of ca home: https://docs.flagger.app icon: https://raw.githubusercontent.com/stefanprodan/flagger/master/docs/logo/flagger-icon.png sources: -- https://github.com/stefanprodan/flagger +- https://github.com/weaveworks/flagger maintainers: - name: stefanprodan url: https://github.com/stefanprodan diff --git a/charts/flagger/README.md b/charts/flagger/README.md index 2a541a4b1..1ecbb95d0 100644 --- a/charts/flagger/README.md +++ b/charts/flagger/README.md @@ -1,6 +1,6 @@ # Flagger -[Flagger](https://github.com/stefanprodan/flagger) is a Kubernetes operator that automates the promotion of +[Flagger](https://github.com/weaveworks/flagger) is a Kubernetes operator that automates the promotion of canary deployments using Istio routing for traffic shifting and Prometheus metrics for canary analysis. Flagger implements a control loop that gradually shifts traffic to the canary while measuring key performance indicators like HTTP requests success rate, requests average duration and pods health. diff --git a/charts/grafana/Chart.yaml b/charts/grafana/Chart.yaml index 2e317aec8..b515e7a03 100644 --- a/charts/grafana/Chart.yaml +++ b/charts/grafana/Chart.yaml @@ -6,7 +6,7 @@ description: Grafana dashboards for monitoring Flagger canary deployments icon: https://raw.githubusercontent.com/stefanprodan/flagger/master/docs/logo/flagger-icon.png home: https://flagger.app sources: -- https://github.com/stefanprodan/flagger +- https://github.com/weaveworks/flagger maintainers: - name: stefanprodan url: https://github.com/stefanprodan diff --git a/charts/loadtester/Chart.yaml b/charts/loadtester/Chart.yaml index 3603119af..550bf0911 100644 --- a/charts/loadtester/Chart.yaml +++ b/charts/loadtester/Chart.yaml @@ -8,7 +8,7 @@ description: Flagger's load testing services based on rakyll/hey that generates home: https://docs.flagger.app icon: https://raw.githubusercontent.com/stefanprodan/flagger/master/docs/logo/flagger-icon.png sources: - - https://github.com/stefanprodan/flagger + - https://github.com/weaveworks/flagger maintainers: - name: stefanprodan url: https://github.com/stefanprodan diff --git a/charts/loadtester/README.md b/charts/loadtester/README.md index d696f62ea..796e9c132 100644 --- a/charts/loadtester/README.md +++ b/charts/loadtester/README.md @@ -1,6 +1,6 @@ # Flagger load testing service -[Flagger's](https://github.com/stefanprodan/flagger) load testing service is based on +[Flagger's](https://github.com/weaveworks/flagger) load testing service is based on [rakyll/hey](https://github.com/rakyll/hey) and can be used to generates traffic during canary analysis when configured as a webhook. diff --git a/charts/podinfo/Chart.yaml b/charts/podinfo/Chart.yaml index d54ecf639..c9bf218f6 100644 --- a/charts/podinfo/Chart.yaml +++ b/charts/podinfo/Chart.yaml @@ -4,9 +4,9 @@ appVersion: 1.4.0 name: podinfo engine: gotpl description: Flagger canary deployment demo chart -home: https://github.com/stefanprodan/flagger +home: https://github.com/weaveworks/flagger maintainers: - email: stefanprodan@users.noreply.github.com name: stefanprodan sources: -- https://github.com/stefanprodan/flagger +- https://github.com/weaveworks/flagger diff --git a/cmd/flagger/main.go b/cmd/flagger/main.go index 3758bcb12..2c9f80aeb 100644 --- a/cmd/flagger/main.go +++ b/cmd/flagger/main.go @@ -3,14 +3,14 @@ package main import ( "flag" _ "github.com/istio/glog" - clientset "github.com/stefanprodan/flagger/pkg/client/clientset/versioned" - informers "github.com/stefanprodan/flagger/pkg/client/informers/externalversions" - "github.com/stefanprodan/flagger/pkg/controller" - "github.com/stefanprodan/flagger/pkg/logging" - "github.com/stefanprodan/flagger/pkg/notifier" - "github.com/stefanprodan/flagger/pkg/server" - "github.com/stefanprodan/flagger/pkg/signals" - "github.com/stefanprodan/flagger/pkg/version" + clientset "github.com/weaveworks/flagger/pkg/client/clientset/versioned" + informers "github.com/weaveworks/flagger/pkg/client/informers/externalversions" + "github.com/weaveworks/flagger/pkg/controller" + "github.com/weaveworks/flagger/pkg/logging" + "github.com/weaveworks/flagger/pkg/notifier" + "github.com/weaveworks/flagger/pkg/server" + "github.com/weaveworks/flagger/pkg/signals" + "github.com/weaveworks/flagger/pkg/version" "go.uber.org/zap" "k8s.io/client-go/kubernetes" _ "k8s.io/client-go/plugin/pkg/client/auth/gcp" diff --git a/cmd/loadtester/main.go b/cmd/loadtester/main.go index bb0e71e0c..dfdafdbce 100644 --- a/cmd/loadtester/main.go +++ b/cmd/loadtester/main.go @@ -2,9 +2,9 @@ package main import ( "flag" - "github.com/stefanprodan/flagger/pkg/loadtester" - "github.com/stefanprodan/flagger/pkg/logging" - "github.com/stefanprodan/flagger/pkg/signals" + "github.com/weaveworks/flagger/pkg/loadtester" + "github.com/weaveworks/flagger/pkg/logging" + "github.com/weaveworks/flagger/pkg/signals" "go.uber.org/zap" "log" "time" diff --git a/docs/gitbook/README.md b/docs/gitbook/README.md index 8b35a1afc..39c3916e9 100644 --- a/docs/gitbook/README.md +++ b/docs/gitbook/README.md @@ -4,7 +4,7 @@ description: Flagger is an Istio progressive delivery Kubernetes operator # Introduction -[Flagger](https://github.com/stefanprodan/flagger) is a **Kubernetes** operator that automates the promotion of canary +[Flagger](https://github.com/weaveworks/flagger) is a **Kubernetes** operator that automates the promotion of canary deployments using **Istio** routing for traffic shifting and **Prometheus** metrics for canary analysis. The canary analysis can be extended with webhooks for running system integration/acceptance tests, load tests, or any other custom validation. diff --git a/docs/gitbook/how-it-works.md b/docs/gitbook/how-it-works.md index b78d83cad..0a07d68b6 100644 --- a/docs/gitbook/how-it-works.md +++ b/docs/gitbook/how-it-works.md @@ -1,6 +1,6 @@ # How it works -[Flagger](https://github.com/stefanprodan/flagger) takes a Kubernetes deployment and optionally +[Flagger](https://github.com/weaveworks/flagger) takes a Kubernetes deployment and optionally a horizontal pod autoscaler \(HPA\) and creates a series of objects \(Kubernetes deployments, ClusterIP services and Istio virtual services\) to drive the canary analysis and promotion. diff --git a/hack/update-codegen.sh b/hack/update-codegen.sh index 97b4ead8a..fbcd10f9b 100755 --- a/hack/update-codegen.sh +++ b/hack/update-codegen.sh @@ -22,6 +22,6 @@ SCRIPT_ROOT=$(dirname ${BASH_SOURCE})/.. CODEGEN_PKG=${CODEGEN_PKG:-$(cd ${SCRIPT_ROOT}; ls -d -1 ./vendor/k8s.io/code-generator 2>/dev/null || echo ../code-generator)} ${CODEGEN_PKG}/generate-groups.sh "deepcopy,client,informer,lister" \ - github.com/stefanprodan/flagger/pkg/client github.com/stefanprodan/flagger/pkg/apis \ + github.com/weaveworks/flagger/pkg/client github.com/weaveworks/flagger/pkg/apis \ "appmesh:v1alpha1 istio:v1alpha3 flagger:v1alpha3" \ --go-header-file ${SCRIPT_ROOT}/hack/boilerplate.go.txt diff --git a/pkg/apis/appmesh/v1alpha1/register.go b/pkg/apis/appmesh/v1alpha1/register.go index e8b4d04de..6be864557 100644 --- a/pkg/apis/appmesh/v1alpha1/register.go +++ b/pkg/apis/appmesh/v1alpha1/register.go @@ -1,7 +1,7 @@ package v1alpha1 import ( - "github.com/stefanprodan/flagger/pkg/apis/appmesh" + "github.com/weaveworks/flagger/pkg/apis/appmesh" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/apis/flagger/v1alpha3/register.go b/pkg/apis/flagger/v1alpha3/register.go index 1096c6b58..092e06020 100755 --- a/pkg/apis/flagger/v1alpha3/register.go +++ b/pkg/apis/flagger/v1alpha3/register.go @@ -21,7 +21,7 @@ import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" - rollout "github.com/stefanprodan/flagger/pkg/apis/flagger" + rollout "github.com/weaveworks/flagger/pkg/apis/flagger" ) // SchemeGroupVersion is group version used to register these objects diff --git a/pkg/apis/flagger/v1alpha3/types.go b/pkg/apis/flagger/v1alpha3/types.go index a6d9441ca..d0650524b 100755 --- a/pkg/apis/flagger/v1alpha3/types.go +++ b/pkg/apis/flagger/v1alpha3/types.go @@ -17,7 +17,7 @@ limitations under the License. package v1alpha3 import ( - istiov1alpha3 "github.com/stefanprodan/flagger/pkg/apis/istio/v1alpha3" + istiov1alpha3 "github.com/weaveworks/flagger/pkg/apis/istio/v1alpha3" hpav1 "k8s.io/api/autoscaling/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "time" diff --git a/pkg/apis/flagger/v1alpha3/zz_generated.deepcopy.go b/pkg/apis/flagger/v1alpha3/zz_generated.deepcopy.go index 7533a204e..4bb9551cc 100644 --- a/pkg/apis/flagger/v1alpha3/zz_generated.deepcopy.go +++ b/pkg/apis/flagger/v1alpha3/zz_generated.deepcopy.go @@ -21,7 +21,7 @@ limitations under the License. package v1alpha3 import ( - istiov1alpha3 "github.com/stefanprodan/flagger/pkg/apis/istio/v1alpha3" + istiov1alpha3 "github.com/weaveworks/flagger/pkg/apis/istio/v1alpha3" v1 "k8s.io/api/autoscaling/v1" runtime "k8s.io/apimachinery/pkg/runtime" ) diff --git a/pkg/apis/istio/v1alpha3/register.go b/pkg/apis/istio/v1alpha3/register.go index 26151bee4..bd83a8c65 100644 --- a/pkg/apis/istio/v1alpha3/register.go +++ b/pkg/apis/istio/v1alpha3/register.go @@ -1,7 +1,7 @@ package v1alpha3 import ( - "github.com/stefanprodan/flagger/pkg/apis/istio" + "github.com/weaveworks/flagger/pkg/apis/istio" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/apis/istio/v1alpha3/virtual_service.go b/pkg/apis/istio/v1alpha3/virtual_service.go index 893f531fa..ed1831720 100644 --- a/pkg/apis/istio/v1alpha3/virtual_service.go +++ b/pkg/apis/istio/v1alpha3/virtual_service.go @@ -2,7 +2,7 @@ package v1alpha3 import ( - "github.com/stefanprodan/flagger/pkg/apis/istio/common/v1alpha1" + "github.com/weaveworks/flagger/pkg/apis/istio/common/v1alpha1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/pkg/apis/istio/v1alpha3/zz_generated.deepcopy.go b/pkg/apis/istio/v1alpha3/zz_generated.deepcopy.go index 2d137c8c8..9d906c2f1 100644 --- a/pkg/apis/istio/v1alpha3/zz_generated.deepcopy.go +++ b/pkg/apis/istio/v1alpha3/zz_generated.deepcopy.go @@ -21,7 +21,7 @@ limitations under the License. package v1alpha3 import ( - v1alpha1 "github.com/stefanprodan/flagger/pkg/apis/istio/common/v1alpha1" + v1alpha1 "github.com/weaveworks/flagger/pkg/apis/istio/common/v1alpha1" runtime "k8s.io/apimachinery/pkg/runtime" ) diff --git a/pkg/client/clientset/versioned/clientset.go b/pkg/client/clientset/versioned/clientset.go index 88fe55c0a..508cfe367 100644 --- a/pkg/client/clientset/versioned/clientset.go +++ b/pkg/client/clientset/versioned/clientset.go @@ -19,9 +19,9 @@ limitations under the License. package versioned import ( - appmeshv1alpha1 "github.com/stefanprodan/flagger/pkg/client/clientset/versioned/typed/appmesh/v1alpha1" - flaggerv1alpha3 "github.com/stefanprodan/flagger/pkg/client/clientset/versioned/typed/flagger/v1alpha3" - networkingv1alpha3 "github.com/stefanprodan/flagger/pkg/client/clientset/versioned/typed/istio/v1alpha3" + appmeshv1alpha1 "github.com/weaveworks/flagger/pkg/client/clientset/versioned/typed/appmesh/v1alpha1" + flaggerv1alpha3 "github.com/weaveworks/flagger/pkg/client/clientset/versioned/typed/flagger/v1alpha3" + networkingv1alpha3 "github.com/weaveworks/flagger/pkg/client/clientset/versioned/typed/istio/v1alpha3" discovery "k8s.io/client-go/discovery" rest "k8s.io/client-go/rest" flowcontrol "k8s.io/client-go/util/flowcontrol" diff --git a/pkg/client/clientset/versioned/fake/clientset_generated.go b/pkg/client/clientset/versioned/fake/clientset_generated.go index 6ca8abb14..24fdd107b 100644 --- a/pkg/client/clientset/versioned/fake/clientset_generated.go +++ b/pkg/client/clientset/versioned/fake/clientset_generated.go @@ -19,13 +19,13 @@ limitations under the License. package fake import ( - clientset "github.com/stefanprodan/flagger/pkg/client/clientset/versioned" - appmeshv1alpha1 "github.com/stefanprodan/flagger/pkg/client/clientset/versioned/typed/appmesh/v1alpha1" - fakeappmeshv1alpha1 "github.com/stefanprodan/flagger/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/fake" - flaggerv1alpha3 "github.com/stefanprodan/flagger/pkg/client/clientset/versioned/typed/flagger/v1alpha3" - fakeflaggerv1alpha3 "github.com/stefanprodan/flagger/pkg/client/clientset/versioned/typed/flagger/v1alpha3/fake" - networkingv1alpha3 "github.com/stefanprodan/flagger/pkg/client/clientset/versioned/typed/istio/v1alpha3" - fakenetworkingv1alpha3 "github.com/stefanprodan/flagger/pkg/client/clientset/versioned/typed/istio/v1alpha3/fake" + clientset "github.com/weaveworks/flagger/pkg/client/clientset/versioned" + appmeshv1alpha1 "github.com/weaveworks/flagger/pkg/client/clientset/versioned/typed/appmesh/v1alpha1" + fakeappmeshv1alpha1 "github.com/weaveworks/flagger/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/fake" + flaggerv1alpha3 "github.com/weaveworks/flagger/pkg/client/clientset/versioned/typed/flagger/v1alpha3" + fakeflaggerv1alpha3 "github.com/weaveworks/flagger/pkg/client/clientset/versioned/typed/flagger/v1alpha3/fake" + networkingv1alpha3 "github.com/weaveworks/flagger/pkg/client/clientset/versioned/typed/istio/v1alpha3" + fakenetworkingv1alpha3 "github.com/weaveworks/flagger/pkg/client/clientset/versioned/typed/istio/v1alpha3/fake" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/discovery" diff --git a/pkg/client/clientset/versioned/fake/register.go b/pkg/client/clientset/versioned/fake/register.go index 328bd8b09..a68fe7bc5 100644 --- a/pkg/client/clientset/versioned/fake/register.go +++ b/pkg/client/clientset/versioned/fake/register.go @@ -19,9 +19,9 @@ limitations under the License. package fake import ( - appmeshv1alpha1 "github.com/stefanprodan/flagger/pkg/apis/appmesh/v1alpha1" - flaggerv1alpha3 "github.com/stefanprodan/flagger/pkg/apis/flagger/v1alpha3" - networkingv1alpha3 "github.com/stefanprodan/flagger/pkg/apis/istio/v1alpha3" + appmeshv1alpha1 "github.com/weaveworks/flagger/pkg/apis/appmesh/v1alpha1" + flaggerv1alpha3 "github.com/weaveworks/flagger/pkg/apis/flagger/v1alpha3" + networkingv1alpha3 "github.com/weaveworks/flagger/pkg/apis/istio/v1alpha3" 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/client/clientset/versioned/scheme/register.go b/pkg/client/clientset/versioned/scheme/register.go index fa4b0edd3..a177d7ee7 100644 --- a/pkg/client/clientset/versioned/scheme/register.go +++ b/pkg/client/clientset/versioned/scheme/register.go @@ -19,9 +19,9 @@ limitations under the License. package scheme import ( - appmeshv1alpha1 "github.com/stefanprodan/flagger/pkg/apis/appmesh/v1alpha1" - flaggerv1alpha3 "github.com/stefanprodan/flagger/pkg/apis/flagger/v1alpha3" - networkingv1alpha3 "github.com/stefanprodan/flagger/pkg/apis/istio/v1alpha3" + appmeshv1alpha1 "github.com/weaveworks/flagger/pkg/apis/appmesh/v1alpha1" + flaggerv1alpha3 "github.com/weaveworks/flagger/pkg/apis/flagger/v1alpha3" + networkingv1alpha3 "github.com/weaveworks/flagger/pkg/apis/istio/v1alpha3" 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/client/clientset/versioned/typed/appmesh/v1alpha1/appmesh_client.go b/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/appmesh_client.go index 98e28b866..ed77f578f 100644 --- a/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/appmesh_client.go +++ b/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/appmesh_client.go @@ -19,8 +19,8 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "github.com/stefanprodan/flagger/pkg/apis/appmesh/v1alpha1" - "github.com/stefanprodan/flagger/pkg/client/clientset/versioned/scheme" + v1alpha1 "github.com/weaveworks/flagger/pkg/apis/appmesh/v1alpha1" + "github.com/weaveworks/flagger/pkg/client/clientset/versioned/scheme" serializer "k8s.io/apimachinery/pkg/runtime/serializer" rest "k8s.io/client-go/rest" ) diff --git a/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/fake/fake_appmesh_client.go b/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/fake/fake_appmesh_client.go index 05a3b931d..5a914750a 100644 --- a/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/fake/fake_appmesh_client.go +++ b/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/fake/fake_appmesh_client.go @@ -19,7 +19,7 @@ limitations under the License. package fake import ( - v1alpha1 "github.com/stefanprodan/flagger/pkg/client/clientset/versioned/typed/appmesh/v1alpha1" + v1alpha1 "github.com/weaveworks/flagger/pkg/client/clientset/versioned/typed/appmesh/v1alpha1" rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" ) diff --git a/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/fake/fake_mesh.go b/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/fake/fake_mesh.go index 759c4cd25..711c624b2 100644 --- a/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/fake/fake_mesh.go +++ b/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/fake/fake_mesh.go @@ -19,7 +19,7 @@ limitations under the License. package fake import ( - v1alpha1 "github.com/stefanprodan/flagger/pkg/apis/appmesh/v1alpha1" + v1alpha1 "github.com/weaveworks/flagger/pkg/apis/appmesh/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/client/clientset/versioned/typed/appmesh/v1alpha1/fake/fake_virtualnode.go b/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/fake/fake_virtualnode.go index 30df5125a..592b21876 100644 --- a/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/fake/fake_virtualnode.go +++ b/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/fake/fake_virtualnode.go @@ -19,7 +19,7 @@ limitations under the License. package fake import ( - v1alpha1 "github.com/stefanprodan/flagger/pkg/apis/appmesh/v1alpha1" + v1alpha1 "github.com/weaveworks/flagger/pkg/apis/appmesh/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/client/clientset/versioned/typed/appmesh/v1alpha1/fake/fake_virtualservice.go b/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/fake/fake_virtualservice.go index 91377fadd..d12eeb850 100644 --- a/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/fake/fake_virtualservice.go +++ b/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/fake/fake_virtualservice.go @@ -19,7 +19,7 @@ limitations under the License. package fake import ( - v1alpha1 "github.com/stefanprodan/flagger/pkg/apis/appmesh/v1alpha1" + v1alpha1 "github.com/weaveworks/flagger/pkg/apis/appmesh/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/client/clientset/versioned/typed/appmesh/v1alpha1/mesh.go b/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/mesh.go index 92ffc45da..4ae633546 100644 --- a/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/mesh.go +++ b/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/mesh.go @@ -19,8 +19,8 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "github.com/stefanprodan/flagger/pkg/apis/appmesh/v1alpha1" - scheme "github.com/stefanprodan/flagger/pkg/client/clientset/versioned/scheme" + v1alpha1 "github.com/weaveworks/flagger/pkg/apis/appmesh/v1alpha1" + scheme "github.com/weaveworks/flagger/pkg/client/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/client/clientset/versioned/typed/appmesh/v1alpha1/virtualnode.go b/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/virtualnode.go index b202ee4a0..7cad65894 100644 --- a/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/virtualnode.go +++ b/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/virtualnode.go @@ -19,8 +19,8 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "github.com/stefanprodan/flagger/pkg/apis/appmesh/v1alpha1" - scheme "github.com/stefanprodan/flagger/pkg/client/clientset/versioned/scheme" + v1alpha1 "github.com/weaveworks/flagger/pkg/apis/appmesh/v1alpha1" + scheme "github.com/weaveworks/flagger/pkg/client/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/client/clientset/versioned/typed/appmesh/v1alpha1/virtualservice.go b/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/virtualservice.go index 5579798bd..8ef072379 100644 --- a/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/virtualservice.go +++ b/pkg/client/clientset/versioned/typed/appmesh/v1alpha1/virtualservice.go @@ -19,8 +19,8 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "github.com/stefanprodan/flagger/pkg/apis/appmesh/v1alpha1" - scheme "github.com/stefanprodan/flagger/pkg/client/clientset/versioned/scheme" + v1alpha1 "github.com/weaveworks/flagger/pkg/apis/appmesh/v1alpha1" + scheme "github.com/weaveworks/flagger/pkg/client/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/client/clientset/versioned/typed/flagger/v1alpha3/canary.go b/pkg/client/clientset/versioned/typed/flagger/v1alpha3/canary.go index 331067246..4bee2b692 100644 --- a/pkg/client/clientset/versioned/typed/flagger/v1alpha3/canary.go +++ b/pkg/client/clientset/versioned/typed/flagger/v1alpha3/canary.go @@ -19,8 +19,8 @@ limitations under the License. package v1alpha3 import ( - v1alpha3 "github.com/stefanprodan/flagger/pkg/apis/flagger/v1alpha3" - scheme "github.com/stefanprodan/flagger/pkg/client/clientset/versioned/scheme" + v1alpha3 "github.com/weaveworks/flagger/pkg/apis/flagger/v1alpha3" + scheme "github.com/weaveworks/flagger/pkg/client/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/client/clientset/versioned/typed/flagger/v1alpha3/fake/fake_canary.go b/pkg/client/clientset/versioned/typed/flagger/v1alpha3/fake/fake_canary.go index 4b7c2f633..40fb277c3 100644 --- a/pkg/client/clientset/versioned/typed/flagger/v1alpha3/fake/fake_canary.go +++ b/pkg/client/clientset/versioned/typed/flagger/v1alpha3/fake/fake_canary.go @@ -19,7 +19,7 @@ limitations under the License. package fake import ( - v1alpha3 "github.com/stefanprodan/flagger/pkg/apis/flagger/v1alpha3" + v1alpha3 "github.com/weaveworks/flagger/pkg/apis/flagger/v1alpha3" 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/client/clientset/versioned/typed/flagger/v1alpha3/fake/fake_flagger_client.go b/pkg/client/clientset/versioned/typed/flagger/v1alpha3/fake/fake_flagger_client.go index 04febb1e9..d26224eaf 100644 --- a/pkg/client/clientset/versioned/typed/flagger/v1alpha3/fake/fake_flagger_client.go +++ b/pkg/client/clientset/versioned/typed/flagger/v1alpha3/fake/fake_flagger_client.go @@ -19,7 +19,7 @@ limitations under the License. package fake import ( - v1alpha3 "github.com/stefanprodan/flagger/pkg/client/clientset/versioned/typed/flagger/v1alpha3" + v1alpha3 "github.com/weaveworks/flagger/pkg/client/clientset/versioned/typed/flagger/v1alpha3" rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" ) diff --git a/pkg/client/clientset/versioned/typed/flagger/v1alpha3/flagger_client.go b/pkg/client/clientset/versioned/typed/flagger/v1alpha3/flagger_client.go index 7b294b9de..f1835ef04 100644 --- a/pkg/client/clientset/versioned/typed/flagger/v1alpha3/flagger_client.go +++ b/pkg/client/clientset/versioned/typed/flagger/v1alpha3/flagger_client.go @@ -19,8 +19,8 @@ limitations under the License. package v1alpha3 import ( - v1alpha3 "github.com/stefanprodan/flagger/pkg/apis/flagger/v1alpha3" - "github.com/stefanprodan/flagger/pkg/client/clientset/versioned/scheme" + v1alpha3 "github.com/weaveworks/flagger/pkg/apis/flagger/v1alpha3" + "github.com/weaveworks/flagger/pkg/client/clientset/versioned/scheme" serializer "k8s.io/apimachinery/pkg/runtime/serializer" rest "k8s.io/client-go/rest" ) diff --git a/pkg/client/clientset/versioned/typed/istio/v1alpha3/fake/fake_istio_client.go b/pkg/client/clientset/versioned/typed/istio/v1alpha3/fake/fake_istio_client.go index f53747be0..a27bcd1b1 100644 --- a/pkg/client/clientset/versioned/typed/istio/v1alpha3/fake/fake_istio_client.go +++ b/pkg/client/clientset/versioned/typed/istio/v1alpha3/fake/fake_istio_client.go @@ -19,7 +19,7 @@ limitations under the License. package fake import ( - v1alpha3 "github.com/stefanprodan/flagger/pkg/client/clientset/versioned/typed/istio/v1alpha3" + v1alpha3 "github.com/weaveworks/flagger/pkg/client/clientset/versioned/typed/istio/v1alpha3" rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" ) diff --git a/pkg/client/clientset/versioned/typed/istio/v1alpha3/fake/fake_virtualservice.go b/pkg/client/clientset/versioned/typed/istio/v1alpha3/fake/fake_virtualservice.go index 57b328237..bb7936901 100644 --- a/pkg/client/clientset/versioned/typed/istio/v1alpha3/fake/fake_virtualservice.go +++ b/pkg/client/clientset/versioned/typed/istio/v1alpha3/fake/fake_virtualservice.go @@ -19,7 +19,7 @@ limitations under the License. package fake import ( - v1alpha3 "github.com/stefanprodan/flagger/pkg/apis/istio/v1alpha3" + v1alpha3 "github.com/weaveworks/flagger/pkg/apis/istio/v1alpha3" 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/client/clientset/versioned/typed/istio/v1alpha3/istio_client.go b/pkg/client/clientset/versioned/typed/istio/v1alpha3/istio_client.go index 94f40fbda..6b3deb323 100644 --- a/pkg/client/clientset/versioned/typed/istio/v1alpha3/istio_client.go +++ b/pkg/client/clientset/versioned/typed/istio/v1alpha3/istio_client.go @@ -19,8 +19,8 @@ limitations under the License. package v1alpha3 import ( - v1alpha3 "github.com/stefanprodan/flagger/pkg/apis/istio/v1alpha3" - "github.com/stefanprodan/flagger/pkg/client/clientset/versioned/scheme" + v1alpha3 "github.com/weaveworks/flagger/pkg/apis/istio/v1alpha3" + "github.com/weaveworks/flagger/pkg/client/clientset/versioned/scheme" serializer "k8s.io/apimachinery/pkg/runtime/serializer" rest "k8s.io/client-go/rest" ) diff --git a/pkg/client/clientset/versioned/typed/istio/v1alpha3/virtualservice.go b/pkg/client/clientset/versioned/typed/istio/v1alpha3/virtualservice.go index d0f70d8a2..393efe42d 100644 --- a/pkg/client/clientset/versioned/typed/istio/v1alpha3/virtualservice.go +++ b/pkg/client/clientset/versioned/typed/istio/v1alpha3/virtualservice.go @@ -19,8 +19,8 @@ limitations under the License. package v1alpha3 import ( - v1alpha3 "github.com/stefanprodan/flagger/pkg/apis/istio/v1alpha3" - scheme "github.com/stefanprodan/flagger/pkg/client/clientset/versioned/scheme" + v1alpha3 "github.com/weaveworks/flagger/pkg/apis/istio/v1alpha3" + scheme "github.com/weaveworks/flagger/pkg/client/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/client/informers/externalversions/appmesh/interface.go b/pkg/client/informers/externalversions/appmesh/interface.go index e08388fc3..7b4715e28 100644 --- a/pkg/client/informers/externalversions/appmesh/interface.go +++ b/pkg/client/informers/externalversions/appmesh/interface.go @@ -19,8 +19,8 @@ limitations under the License. package appmesh import ( - v1alpha1 "github.com/stefanprodan/flagger/pkg/client/informers/externalversions/appmesh/v1alpha1" - internalinterfaces "github.com/stefanprodan/flagger/pkg/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/weaveworks/flagger/pkg/client/informers/externalversions/appmesh/v1alpha1" + internalinterfaces "github.com/weaveworks/flagger/pkg/client/informers/externalversions/internalinterfaces" ) // Interface provides access to each of this group's versions. diff --git a/pkg/client/informers/externalversions/appmesh/v1alpha1/interface.go b/pkg/client/informers/externalversions/appmesh/v1alpha1/interface.go index 8037907f5..100608007 100644 --- a/pkg/client/informers/externalversions/appmesh/v1alpha1/interface.go +++ b/pkg/client/informers/externalversions/appmesh/v1alpha1/interface.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha1 import ( - internalinterfaces "github.com/stefanprodan/flagger/pkg/client/informers/externalversions/internalinterfaces" + internalinterfaces "github.com/weaveworks/flagger/pkg/client/informers/externalversions/internalinterfaces" ) // Interface provides access to all the informers in this group version. diff --git a/pkg/client/informers/externalversions/appmesh/v1alpha1/mesh.go b/pkg/client/informers/externalversions/appmesh/v1alpha1/mesh.go index a66fb56bf..3fd5fbeda 100644 --- a/pkg/client/informers/externalversions/appmesh/v1alpha1/mesh.go +++ b/pkg/client/informers/externalversions/appmesh/v1alpha1/mesh.go @@ -21,10 +21,10 @@ package v1alpha1 import ( time "time" - appmeshv1alpha1 "github.com/stefanprodan/flagger/pkg/apis/appmesh/v1alpha1" - versioned "github.com/stefanprodan/flagger/pkg/client/clientset/versioned" - internalinterfaces "github.com/stefanprodan/flagger/pkg/client/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/stefanprodan/flagger/pkg/client/listers/appmesh/v1alpha1" + appmeshv1alpha1 "github.com/weaveworks/flagger/pkg/apis/appmesh/v1alpha1" + versioned "github.com/weaveworks/flagger/pkg/client/clientset/versioned" + internalinterfaces "github.com/weaveworks/flagger/pkg/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/weaveworks/flagger/pkg/client/listers/appmesh/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/client/informers/externalversions/appmesh/v1alpha1/virtualnode.go b/pkg/client/informers/externalversions/appmesh/v1alpha1/virtualnode.go index 18015740a..2174bf5fb 100644 --- a/pkg/client/informers/externalversions/appmesh/v1alpha1/virtualnode.go +++ b/pkg/client/informers/externalversions/appmesh/v1alpha1/virtualnode.go @@ -21,10 +21,10 @@ package v1alpha1 import ( time "time" - appmeshv1alpha1 "github.com/stefanprodan/flagger/pkg/apis/appmesh/v1alpha1" - versioned "github.com/stefanprodan/flagger/pkg/client/clientset/versioned" - internalinterfaces "github.com/stefanprodan/flagger/pkg/client/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/stefanprodan/flagger/pkg/client/listers/appmesh/v1alpha1" + appmeshv1alpha1 "github.com/weaveworks/flagger/pkg/apis/appmesh/v1alpha1" + versioned "github.com/weaveworks/flagger/pkg/client/clientset/versioned" + internalinterfaces "github.com/weaveworks/flagger/pkg/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/weaveworks/flagger/pkg/client/listers/appmesh/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/client/informers/externalversions/appmesh/v1alpha1/virtualservice.go b/pkg/client/informers/externalversions/appmesh/v1alpha1/virtualservice.go index 9f0e3470d..7f694d8b8 100644 --- a/pkg/client/informers/externalversions/appmesh/v1alpha1/virtualservice.go +++ b/pkg/client/informers/externalversions/appmesh/v1alpha1/virtualservice.go @@ -21,10 +21,10 @@ package v1alpha1 import ( time "time" - appmeshv1alpha1 "github.com/stefanprodan/flagger/pkg/apis/appmesh/v1alpha1" - versioned "github.com/stefanprodan/flagger/pkg/client/clientset/versioned" - internalinterfaces "github.com/stefanprodan/flagger/pkg/client/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/stefanprodan/flagger/pkg/client/listers/appmesh/v1alpha1" + appmeshv1alpha1 "github.com/weaveworks/flagger/pkg/apis/appmesh/v1alpha1" + versioned "github.com/weaveworks/flagger/pkg/client/clientset/versioned" + internalinterfaces "github.com/weaveworks/flagger/pkg/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/weaveworks/flagger/pkg/client/listers/appmesh/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/client/informers/externalversions/factory.go b/pkg/client/informers/externalversions/factory.go index b1efe1900..62626dd95 100644 --- a/pkg/client/informers/externalversions/factory.go +++ b/pkg/client/informers/externalversions/factory.go @@ -23,11 +23,11 @@ import ( sync "sync" time "time" - versioned "github.com/stefanprodan/flagger/pkg/client/clientset/versioned" - appmesh "github.com/stefanprodan/flagger/pkg/client/informers/externalversions/appmesh" - flagger "github.com/stefanprodan/flagger/pkg/client/informers/externalversions/flagger" - internalinterfaces "github.com/stefanprodan/flagger/pkg/client/informers/externalversions/internalinterfaces" - istio "github.com/stefanprodan/flagger/pkg/client/informers/externalversions/istio" + versioned "github.com/weaveworks/flagger/pkg/client/clientset/versioned" + appmesh "github.com/weaveworks/flagger/pkg/client/informers/externalversions/appmesh" + flagger "github.com/weaveworks/flagger/pkg/client/informers/externalversions/flagger" + internalinterfaces "github.com/weaveworks/flagger/pkg/client/informers/externalversions/internalinterfaces" + istio "github.com/weaveworks/flagger/pkg/client/informers/externalversions/istio" 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/client/informers/externalversions/flagger/interface.go b/pkg/client/informers/externalversions/flagger/interface.go index 47ff8c290..1e03780ef 100644 --- a/pkg/client/informers/externalversions/flagger/interface.go +++ b/pkg/client/informers/externalversions/flagger/interface.go @@ -19,8 +19,8 @@ limitations under the License. package flagger import ( - v1alpha3 "github.com/stefanprodan/flagger/pkg/client/informers/externalversions/flagger/v1alpha3" - internalinterfaces "github.com/stefanprodan/flagger/pkg/client/informers/externalversions/internalinterfaces" + v1alpha3 "github.com/weaveworks/flagger/pkg/client/informers/externalversions/flagger/v1alpha3" + internalinterfaces "github.com/weaveworks/flagger/pkg/client/informers/externalversions/internalinterfaces" ) // Interface provides access to each of this group's versions. diff --git a/pkg/client/informers/externalversions/flagger/v1alpha3/canary.go b/pkg/client/informers/externalversions/flagger/v1alpha3/canary.go index cba86f762..e5cc80de8 100644 --- a/pkg/client/informers/externalversions/flagger/v1alpha3/canary.go +++ b/pkg/client/informers/externalversions/flagger/v1alpha3/canary.go @@ -21,10 +21,10 @@ package v1alpha3 import ( time "time" - flaggerv1alpha3 "github.com/stefanprodan/flagger/pkg/apis/flagger/v1alpha3" - versioned "github.com/stefanprodan/flagger/pkg/client/clientset/versioned" - internalinterfaces "github.com/stefanprodan/flagger/pkg/client/informers/externalversions/internalinterfaces" - v1alpha3 "github.com/stefanprodan/flagger/pkg/client/listers/flagger/v1alpha3" + flaggerv1alpha3 "github.com/weaveworks/flagger/pkg/apis/flagger/v1alpha3" + versioned "github.com/weaveworks/flagger/pkg/client/clientset/versioned" + internalinterfaces "github.com/weaveworks/flagger/pkg/client/informers/externalversions/internalinterfaces" + v1alpha3 "github.com/weaveworks/flagger/pkg/client/listers/flagger/v1alpha3" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/informers/externalversions/flagger/v1alpha3/interface.go b/pkg/client/informers/externalversions/flagger/v1alpha3/interface.go index 1405f2638..ff8598b77 100644 --- a/pkg/client/informers/externalversions/flagger/v1alpha3/interface.go +++ b/pkg/client/informers/externalversions/flagger/v1alpha3/interface.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha3 import ( - internalinterfaces "github.com/stefanprodan/flagger/pkg/client/informers/externalversions/internalinterfaces" + internalinterfaces "github.com/weaveworks/flagger/pkg/client/informers/externalversions/internalinterfaces" ) // Interface provides access to all the informers in this group version. diff --git a/pkg/client/informers/externalversions/generic.go b/pkg/client/informers/externalversions/generic.go index e0c045623..83c55d9a3 100644 --- a/pkg/client/informers/externalversions/generic.go +++ b/pkg/client/informers/externalversions/generic.go @@ -21,9 +21,9 @@ package externalversions import ( "fmt" - v1alpha1 "github.com/stefanprodan/flagger/pkg/apis/appmesh/v1alpha1" - v1alpha3 "github.com/stefanprodan/flagger/pkg/apis/flagger/v1alpha3" - istiov1alpha3 "github.com/stefanprodan/flagger/pkg/apis/istio/v1alpha3" + v1alpha1 "github.com/weaveworks/flagger/pkg/apis/appmesh/v1alpha1" + v1alpha3 "github.com/weaveworks/flagger/pkg/apis/flagger/v1alpha3" + istiov1alpha3 "github.com/weaveworks/flagger/pkg/apis/istio/v1alpha3" schema "k8s.io/apimachinery/pkg/runtime/schema" cache "k8s.io/client-go/tools/cache" ) diff --git a/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go b/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go index 6a0479121..3d70926e4 100644 --- a/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go +++ b/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go @@ -21,7 +21,7 @@ package internalinterfaces import ( time "time" - versioned "github.com/stefanprodan/flagger/pkg/client/clientset/versioned" + versioned "github.com/weaveworks/flagger/pkg/client/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/client/informers/externalversions/istio/interface.go b/pkg/client/informers/externalversions/istio/interface.go index 2f6ca81ac..4d1d0a9a9 100644 --- a/pkg/client/informers/externalversions/istio/interface.go +++ b/pkg/client/informers/externalversions/istio/interface.go @@ -19,8 +19,8 @@ limitations under the License. package networking import ( - internalinterfaces "github.com/stefanprodan/flagger/pkg/client/informers/externalversions/internalinterfaces" - v1alpha3 "github.com/stefanprodan/flagger/pkg/client/informers/externalversions/istio/v1alpha3" + internalinterfaces "github.com/weaveworks/flagger/pkg/client/informers/externalversions/internalinterfaces" + v1alpha3 "github.com/weaveworks/flagger/pkg/client/informers/externalversions/istio/v1alpha3" ) // Interface provides access to each of this group's versions. diff --git a/pkg/client/informers/externalversions/istio/v1alpha3/interface.go b/pkg/client/informers/externalversions/istio/v1alpha3/interface.go index 6a542e97f..05d00030b 100644 --- a/pkg/client/informers/externalversions/istio/v1alpha3/interface.go +++ b/pkg/client/informers/externalversions/istio/v1alpha3/interface.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha3 import ( - internalinterfaces "github.com/stefanprodan/flagger/pkg/client/informers/externalversions/internalinterfaces" + internalinterfaces "github.com/weaveworks/flagger/pkg/client/informers/externalversions/internalinterfaces" ) // Interface provides access to all the informers in this group version. diff --git a/pkg/client/informers/externalversions/istio/v1alpha3/virtualservice.go b/pkg/client/informers/externalversions/istio/v1alpha3/virtualservice.go index 520f940ad..6f022b512 100644 --- a/pkg/client/informers/externalversions/istio/v1alpha3/virtualservice.go +++ b/pkg/client/informers/externalversions/istio/v1alpha3/virtualservice.go @@ -21,10 +21,10 @@ package v1alpha3 import ( time "time" - istiov1alpha3 "github.com/stefanprodan/flagger/pkg/apis/istio/v1alpha3" - versioned "github.com/stefanprodan/flagger/pkg/client/clientset/versioned" - internalinterfaces "github.com/stefanprodan/flagger/pkg/client/informers/externalversions/internalinterfaces" - v1alpha3 "github.com/stefanprodan/flagger/pkg/client/listers/istio/v1alpha3" + istiov1alpha3 "github.com/weaveworks/flagger/pkg/apis/istio/v1alpha3" + versioned "github.com/weaveworks/flagger/pkg/client/clientset/versioned" + internalinterfaces "github.com/weaveworks/flagger/pkg/client/informers/externalversions/internalinterfaces" + v1alpha3 "github.com/weaveworks/flagger/pkg/client/listers/istio/v1alpha3" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/listers/appmesh/v1alpha1/mesh.go b/pkg/client/listers/appmesh/v1alpha1/mesh.go index 7e40928ed..19ba807ae 100644 --- a/pkg/client/listers/appmesh/v1alpha1/mesh.go +++ b/pkg/client/listers/appmesh/v1alpha1/mesh.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "github.com/stefanprodan/flagger/pkg/apis/appmesh/v1alpha1" + v1alpha1 "github.com/weaveworks/flagger/pkg/apis/appmesh/v1alpha1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/client/listers/appmesh/v1alpha1/virtualnode.go b/pkg/client/listers/appmesh/v1alpha1/virtualnode.go index 79a7946ea..f1bf0d88a 100644 --- a/pkg/client/listers/appmesh/v1alpha1/virtualnode.go +++ b/pkg/client/listers/appmesh/v1alpha1/virtualnode.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "github.com/stefanprodan/flagger/pkg/apis/appmesh/v1alpha1" + v1alpha1 "github.com/weaveworks/flagger/pkg/apis/appmesh/v1alpha1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/client/listers/appmesh/v1alpha1/virtualservice.go b/pkg/client/listers/appmesh/v1alpha1/virtualservice.go index 5679d07bb..2d6c2118a 100644 --- a/pkg/client/listers/appmesh/v1alpha1/virtualservice.go +++ b/pkg/client/listers/appmesh/v1alpha1/virtualservice.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha1 import ( - v1alpha1 "github.com/stefanprodan/flagger/pkg/apis/appmesh/v1alpha1" + v1alpha1 "github.com/weaveworks/flagger/pkg/apis/appmesh/v1alpha1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/client/listers/flagger/v1alpha3/canary.go b/pkg/client/listers/flagger/v1alpha3/canary.go index c7f134d94..d5a050bf3 100644 --- a/pkg/client/listers/flagger/v1alpha3/canary.go +++ b/pkg/client/listers/flagger/v1alpha3/canary.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha3 import ( - v1alpha3 "github.com/stefanprodan/flagger/pkg/apis/flagger/v1alpha3" + v1alpha3 "github.com/weaveworks/flagger/pkg/apis/flagger/v1alpha3" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/client/listers/istio/v1alpha3/virtualservice.go b/pkg/client/listers/istio/v1alpha3/virtualservice.go index 94712dd98..dbe6d7ab7 100644 --- a/pkg/client/listers/istio/v1alpha3/virtualservice.go +++ b/pkg/client/listers/istio/v1alpha3/virtualservice.go @@ -19,7 +19,7 @@ limitations under the License. package v1alpha3 import ( - v1alpha3 "github.com/stefanprodan/flagger/pkg/apis/istio/v1alpha3" + v1alpha3 "github.com/weaveworks/flagger/pkg/apis/istio/v1alpha3" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/controller/controller.go b/pkg/controller/controller.go index 35c0d0600..205f9e1e4 100644 --- a/pkg/controller/controller.go +++ b/pkg/controller/controller.go @@ -6,12 +6,12 @@ import ( "time" "github.com/google/go-cmp/cmp" - flaggerv1 "github.com/stefanprodan/flagger/pkg/apis/flagger/v1alpha3" - clientset "github.com/stefanprodan/flagger/pkg/client/clientset/versioned" - flaggerscheme "github.com/stefanprodan/flagger/pkg/client/clientset/versioned/scheme" - flaggerinformers "github.com/stefanprodan/flagger/pkg/client/informers/externalversions/flagger/v1alpha3" - flaggerlisters "github.com/stefanprodan/flagger/pkg/client/listers/flagger/v1alpha3" - "github.com/stefanprodan/flagger/pkg/notifier" + flaggerv1 "github.com/weaveworks/flagger/pkg/apis/flagger/v1alpha3" + clientset "github.com/weaveworks/flagger/pkg/client/clientset/versioned" + flaggerscheme "github.com/weaveworks/flagger/pkg/client/clientset/versioned/scheme" + flaggerinformers "github.com/weaveworks/flagger/pkg/client/informers/externalversions/flagger/v1alpha3" + flaggerlisters "github.com/weaveworks/flagger/pkg/client/listers/flagger/v1alpha3" + "github.com/weaveworks/flagger/pkg/notifier" "go.uber.org/zap" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/errors" diff --git a/pkg/controller/controller_test.go b/pkg/controller/controller_test.go index b70439a81..207bb01db 100644 --- a/pkg/controller/controller_test.go +++ b/pkg/controller/controller_test.go @@ -1,14 +1,14 @@ package controller import ( - "github.com/stefanprodan/flagger/pkg/apis/flagger/v1alpha3" - istiov1alpha1 "github.com/stefanprodan/flagger/pkg/apis/istio/common/v1alpha1" - istiov1alpha3 "github.com/stefanprodan/flagger/pkg/apis/istio/v1alpha3" - clientset "github.com/stefanprodan/flagger/pkg/client/clientset/versioned" - fakeFlagger "github.com/stefanprodan/flagger/pkg/client/clientset/versioned/fake" - informers "github.com/stefanprodan/flagger/pkg/client/informers/externalversions" - "github.com/stefanprodan/flagger/pkg/logging" - "github.com/stefanprodan/flagger/pkg/router" + "github.com/weaveworks/flagger/pkg/apis/flagger/v1alpha3" + istiov1alpha1 "github.com/weaveworks/flagger/pkg/apis/istio/common/v1alpha1" + istiov1alpha3 "github.com/weaveworks/flagger/pkg/apis/istio/v1alpha3" + clientset "github.com/weaveworks/flagger/pkg/client/clientset/versioned" + fakeFlagger "github.com/weaveworks/flagger/pkg/client/clientset/versioned/fake" + informers "github.com/weaveworks/flagger/pkg/client/informers/externalversions" + "github.com/weaveworks/flagger/pkg/logging" + "github.com/weaveworks/flagger/pkg/router" "go.uber.org/zap" appsv1 "k8s.io/api/apps/v1" hpav1 "k8s.io/api/autoscaling/v1" diff --git a/pkg/controller/deployer.go b/pkg/controller/deployer.go index cf57eb962..1959f5d24 100644 --- a/pkg/controller/deployer.go +++ b/pkg/controller/deployer.go @@ -10,8 +10,8 @@ import ( "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" - flaggerv1 "github.com/stefanprodan/flagger/pkg/apis/flagger/v1alpha3" - clientset "github.com/stefanprodan/flagger/pkg/client/clientset/versioned" + flaggerv1 "github.com/weaveworks/flagger/pkg/apis/flagger/v1alpha3" + clientset "github.com/weaveworks/flagger/pkg/client/clientset/versioned" "go.uber.org/zap" appsv1 "k8s.io/api/apps/v1" hpav1 "k8s.io/api/autoscaling/v2beta1" diff --git a/pkg/controller/deployer_test.go b/pkg/controller/deployer_test.go index 6b37455ad..099e01667 100644 --- a/pkg/controller/deployer_test.go +++ b/pkg/controller/deployer_test.go @@ -3,7 +3,7 @@ package controller import ( "testing" - "github.com/stefanprodan/flagger/pkg/apis/flagger/v1alpha3" + "github.com/weaveworks/flagger/pkg/apis/flagger/v1alpha3" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/pkg/controller/recorder.go b/pkg/controller/recorder.go index 47e23a6e9..f8f90394a 100644 --- a/pkg/controller/recorder.go +++ b/pkg/controller/recorder.go @@ -5,7 +5,7 @@ import ( "time" "github.com/prometheus/client_golang/prometheus" - flaggerv1 "github.com/stefanprodan/flagger/pkg/apis/flagger/v1alpha3" + flaggerv1 "github.com/weaveworks/flagger/pkg/apis/flagger/v1alpha3" ) // CanaryRecorder records the canary analysis as Prometheus metrics diff --git a/pkg/controller/scheduler.go b/pkg/controller/scheduler.go index 5661d0ce7..ad8c014cd 100644 --- a/pkg/controller/scheduler.go +++ b/pkg/controller/scheduler.go @@ -2,11 +2,11 @@ package controller import ( "fmt" - "github.com/stefanprodan/flagger/pkg/router" + "github.com/weaveworks/flagger/pkg/router" "strings" "time" - flaggerv1 "github.com/stefanprodan/flagger/pkg/apis/flagger/v1alpha3" + flaggerv1 "github.com/weaveworks/flagger/pkg/apis/flagger/v1alpha3" "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/pkg/controller/scheduler_test.go b/pkg/controller/scheduler_test.go index e26367eff..5e9e26ec2 100644 --- a/pkg/controller/scheduler_test.go +++ b/pkg/controller/scheduler_test.go @@ -1,7 +1,7 @@ package controller import ( - "github.com/stefanprodan/flagger/pkg/apis/flagger/v1alpha3" + "github.com/weaveworks/flagger/pkg/apis/flagger/v1alpha3" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "testing" ) diff --git a/pkg/controller/tracker.go b/pkg/controller/tracker.go index d23489aac..5644b875f 100644 --- a/pkg/controller/tracker.go +++ b/pkg/controller/tracker.go @@ -4,8 +4,8 @@ import ( "crypto/sha256" "encoding/json" "fmt" - flaggerv1 "github.com/stefanprodan/flagger/pkg/apis/flagger/v1alpha3" - clientset "github.com/stefanprodan/flagger/pkg/client/clientset/versioned" + flaggerv1 "github.com/weaveworks/flagger/pkg/apis/flagger/v1alpha3" + clientset "github.com/weaveworks/flagger/pkg/client/clientset/versioned" "go.uber.org/zap" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/errors" diff --git a/pkg/controller/webhook.go b/pkg/controller/webhook.go index 6926e9fb9..4bb1d7f0b 100644 --- a/pkg/controller/webhook.go +++ b/pkg/controller/webhook.go @@ -6,7 +6,7 @@ import ( "encoding/json" "errors" "fmt" - flaggerv1 "github.com/stefanprodan/flagger/pkg/apis/flagger/v1alpha3" + flaggerv1 "github.com/weaveworks/flagger/pkg/apis/flagger/v1alpha3" "io/ioutil" "net/http" "net/url" diff --git a/pkg/controller/webhook_test.go b/pkg/controller/webhook_test.go index 78805c954..d9ddb9134 100644 --- a/pkg/controller/webhook_test.go +++ b/pkg/controller/webhook_test.go @@ -1,7 +1,7 @@ package controller import ( - flaggerv1 "github.com/stefanprodan/flagger/pkg/apis/flagger/v1alpha3" + flaggerv1 "github.com/weaveworks/flagger/pkg/apis/flagger/v1alpha3" "net/http" "net/http/httptest" "testing" diff --git a/pkg/loadtester/runner_test.go b/pkg/loadtester/runner_test.go index 1dd6fbfa3..1b43509bd 100644 --- a/pkg/loadtester/runner_test.go +++ b/pkg/loadtester/runner_test.go @@ -1,7 +1,7 @@ package loadtester import ( - "github.com/stefanprodan/flagger/pkg/logging" + "github.com/weaveworks/flagger/pkg/logging" "testing" "time" ) diff --git a/pkg/loadtester/server.go b/pkg/loadtester/server.go index 85d086dc5..533c55542 100644 --- a/pkg/loadtester/server.go +++ b/pkg/loadtester/server.go @@ -9,7 +9,7 @@ import ( "time" "github.com/prometheus/client_golang/prometheus/promhttp" - flaggerv1 "github.com/stefanprodan/flagger/pkg/apis/flagger/v1alpha3" + flaggerv1 "github.com/weaveworks/flagger/pkg/apis/flagger/v1alpha3" "go.uber.org/zap" ) diff --git a/pkg/loadtester/task_ngrinder_test.go b/pkg/loadtester/task_ngrinder_test.go index 8d8aa3231..3402ba881 100644 --- a/pkg/loadtester/task_ngrinder_test.go +++ b/pkg/loadtester/task_ngrinder_test.go @@ -3,7 +3,7 @@ package loadtester import ( "context" "fmt" - "github.com/stefanprodan/flagger/pkg/logging" + "github.com/weaveworks/flagger/pkg/logging" "gopkg.in/h2non/gock.v1" "testing" "time" diff --git a/pkg/router/appmesh.go b/pkg/router/appmesh.go index 59ea0b997..69e40bcdd 100644 --- a/pkg/router/appmesh.go +++ b/pkg/router/appmesh.go @@ -4,9 +4,9 @@ import ( "fmt" "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" - appmeshv1alpha1 "github.com/stefanprodan/flagger/pkg/apis/appmesh/v1alpha1" - flaggerv1 "github.com/stefanprodan/flagger/pkg/apis/flagger/v1alpha3" - clientset "github.com/stefanprodan/flagger/pkg/client/clientset/versioned" + appmeshv1alpha1 "github.com/weaveworks/flagger/pkg/apis/appmesh/v1alpha1" + flaggerv1 "github.com/weaveworks/flagger/pkg/apis/flagger/v1alpha3" + clientset "github.com/weaveworks/flagger/pkg/client/clientset/versioned" "go.uber.org/zap" "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/pkg/router/factory.go b/pkg/router/factory.go index 995884284..4a8793927 100644 --- a/pkg/router/factory.go +++ b/pkg/router/factory.go @@ -1,7 +1,7 @@ package router import ( - clientset "github.com/stefanprodan/flagger/pkg/client/clientset/versioned" + clientset "github.com/weaveworks/flagger/pkg/client/clientset/versioned" "go.uber.org/zap" "k8s.io/client-go/kubernetes" ) diff --git a/pkg/router/istio.go b/pkg/router/istio.go index 79ba9feb9..a1415809e 100644 --- a/pkg/router/istio.go +++ b/pkg/router/istio.go @@ -4,9 +4,9 @@ import ( "fmt" "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" - flaggerv1 "github.com/stefanprodan/flagger/pkg/apis/flagger/v1alpha3" - istiov1alpha3 "github.com/stefanprodan/flagger/pkg/apis/istio/v1alpha3" - clientset "github.com/stefanprodan/flagger/pkg/client/clientset/versioned" + flaggerv1 "github.com/weaveworks/flagger/pkg/apis/flagger/v1alpha3" + istiov1alpha3 "github.com/weaveworks/flagger/pkg/apis/istio/v1alpha3" + clientset "github.com/weaveworks/flagger/pkg/client/clientset/versioned" "go.uber.org/zap" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/pkg/router/istio_test.go b/pkg/router/istio_test.go index f19ea59d4..de3b332b4 100644 --- a/pkg/router/istio_test.go +++ b/pkg/router/istio_test.go @@ -2,7 +2,7 @@ package router import ( "fmt" - istiov1alpha3 "github.com/stefanprodan/flagger/pkg/apis/istio/v1alpha3" + istiov1alpha3 "github.com/weaveworks/flagger/pkg/apis/istio/v1alpha3" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "testing" ) diff --git a/pkg/router/kubernetes.go b/pkg/router/kubernetes.go index 05681458e..f42819d6c 100644 --- a/pkg/router/kubernetes.go +++ b/pkg/router/kubernetes.go @@ -2,8 +2,8 @@ package router import ( "fmt" - flaggerv1 "github.com/stefanprodan/flagger/pkg/apis/flagger/v1alpha3" - clientset "github.com/stefanprodan/flagger/pkg/client/clientset/versioned" + flaggerv1 "github.com/weaveworks/flagger/pkg/apis/flagger/v1alpha3" + clientset "github.com/weaveworks/flagger/pkg/client/clientset/versioned" "go.uber.org/zap" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/errors" diff --git a/pkg/router/router.go b/pkg/router/router.go index 216869575..0c81eaa54 100644 --- a/pkg/router/router.go +++ b/pkg/router/router.go @@ -1,6 +1,6 @@ package router -import flaggerv1 "github.com/stefanprodan/flagger/pkg/apis/flagger/v1alpha3" +import flaggerv1 "github.com/weaveworks/flagger/pkg/apis/flagger/v1alpha3" type Interface interface { Sync(canary *flaggerv1.Canary) error diff --git a/pkg/router/router_test.go b/pkg/router/router_test.go index 6254ecd42..08f77cf93 100644 --- a/pkg/router/router_test.go +++ b/pkg/router/router_test.go @@ -1,12 +1,12 @@ package router import ( - "github.com/stefanprodan/flagger/pkg/apis/flagger/v1alpha3" - istiov1alpha1 "github.com/stefanprodan/flagger/pkg/apis/istio/common/v1alpha1" - istiov1alpha3 "github.com/stefanprodan/flagger/pkg/apis/istio/v1alpha3" - clientset "github.com/stefanprodan/flagger/pkg/client/clientset/versioned" - fakeFlagger "github.com/stefanprodan/flagger/pkg/client/clientset/versioned/fake" - "github.com/stefanprodan/flagger/pkg/logging" + "github.com/weaveworks/flagger/pkg/apis/flagger/v1alpha3" + istiov1alpha1 "github.com/weaveworks/flagger/pkg/apis/istio/common/v1alpha1" + istiov1alpha3 "github.com/weaveworks/flagger/pkg/apis/istio/v1alpha3" + clientset "github.com/weaveworks/flagger/pkg/client/clientset/versioned" + fakeFlagger "github.com/weaveworks/flagger/pkg/client/clientset/versioned/fake" + "github.com/weaveworks/flagger/pkg/logging" "go.uber.org/zap" appsv1 "k8s.io/api/apps/v1" hpav1 "k8s.io/api/autoscaling/v1" From 9e071b9d60814bd10fa9f0ad739505dd0c3c226b Mon Sep 17 00:00:00 2001 From: stefanprodan Date: Wed, 20 Mar 2019 18:52:27 +0200 Subject: [PATCH 2/2] Move to weaveworks Quay --- .travis.yml | 8 ++++---- Makefile | 12 ++++++------ README.md | 12 ++++++------ 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4847eba7a..2e01e91e3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,16 +29,16 @@ after_success: echo "PR build, skipping image push"; else BRANCH_COMMIT=${TRAVIS_BRANCH}-$(echo ${TRAVIS_COMMIT} | head -c7); - docker tag stefanprodan/flagger:latest quay.io/stefanprodan/flagger:${BRANCH_COMMIT}; + docker tag weaveworks/flagger:latest quay.io/weaveworks/flagger:${BRANCH_COMMIT}; echo $DOCKER_PASS | docker login -u=$DOCKER_USER --password-stdin quay.io; - docker push quay.io/stefanprodan/flagger:${BRANCH_COMMIT}; + docker push quay.io/weaveworks/flagger:${BRANCH_COMMIT}; fi - if [ -z "$TRAVIS_TAG" ]; then echo "Not a release, skipping image push"; else - docker tag stefanprodan/flagger:latest quay.io/stefanprodan/flagger:${TRAVIS_TAG}; + docker tag weaveworks/flagger:latest quay.io/weaveworks/flagger:${TRAVIS_TAG}; echo $DOCKER_PASS | docker login -u=$DOCKER_USER --password-stdin quay.io; - docker push quay.io/stefanprodan/flagger:$TRAVIS_TAG; + docker push quay.io/weaveworks/flagger:$TRAVIS_TAG; fi - bash <(curl -s https://codecov.io/bash) - rm coverage.txt diff --git a/Makefile b/Makefile index 4fd66cacc..464f6c6a6 100644 --- a/Makefile +++ b/Makefile @@ -12,11 +12,11 @@ run: -slack-channel="devops-alerts" build: - docker build -t stefanprodan/flagger:$(TAG) . -f Dockerfile + docker build -t weaveworks/flagger:$(TAG) . -f Dockerfile push: - docker tag stefanprodan/flagger:$(TAG) quay.io/stefanprodan/flagger:$(VERSION) - docker push quay.io/stefanprodan/flagger:$(VERSION) + docker tag weaveworks/flagger:$(TAG) quay.io/weaveworks/flagger:$(VERSION) + docker push quay.io/weaveworks/flagger:$(VERSION) fmt: gofmt -l -s -w $(SOURCE_DIRS) @@ -33,7 +33,7 @@ test: test-fmt test-codegen helm-package: cd charts/ && helm package ./* mv charts/*.tgz docs/ - helm repo index docs --url https://stefanprodan.github.io/flagger --merge ./docs/index.yaml + helm repo index docs --url https://weaveworks.github.io/flagger --merge ./docs/index.yaml helm-up: helm upgrade --install flagger ./charts/flagger --namespace=istio-system --set crd.create=false @@ -82,5 +82,5 @@ reset-test: kubectl apply -f ./artifacts/canaries loadtester-push: - docker build -t quay.io/stefanprodan/flagger-loadtester:$(LT_VERSION) . -f Dockerfile.loadtester - docker push quay.io/stefanprodan/flagger-loadtester:$(LT_VERSION) \ No newline at end of file + docker build -t quay.io/weaveworks/flagger-loadtester:$(LT_VERSION) . -f Dockerfile.loadtester + docker push quay.io/weaveworks/flagger-loadtester:$(LT_VERSION) \ No newline at end of file diff --git a/README.md b/README.md index 763fa1d0e..7dfa8f3bd 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # flagger -[![build](https://travis-ci.org/stefanprodan/flagger.svg?branch=master)](https://travis-ci.org/stefanprodan/flagger) +[![build](https://travis-ci.org/weaveworks/flagger.svg?branch=master)](https://travis-ci.org/weaveworks/flagger) [![report](https://goreportcard.com/badge/github.com/weaveworks/flagger)](https://goreportcard.com/report/github.com/weaveworks/flagger) -[![codecov](https://codecov.io/gh/stefanprodan/flagger/branch/master/graph/badge.svg)](https://codecov.io/gh/stefanprodan/flagger) -[![license](https://img.shields.io/github/license/stefanprodan/flagger.svg)](https://github.com/weaveworks/flagger/blob/master/LICENSE) -[![release](https://img.shields.io/github/release/stefanprodan/flagger/all.svg)](https://github.com/weaveworks/flagger/releases) +[![codecov](https://codecov.io/gh/weaveworks/flagger/branch/master/graph/badge.svg)](https://codecov.io/gh/weaveworks/flagger) +[![license](https://img.shields.io/github/license/weaveworks/flagger.svg)](https://github.com/weaveworks/flagger/blob/master/LICENSE) +[![release](https://img.shields.io/github/release/weaveworks/flagger/all.svg)](https://github.com/weaveworks/flagger/releases) Flagger is a Kubernetes operator that automates the promotion of canary deployments using Istio routing for traffic shifting and Prometheus metrics for canary analysis. @@ -15,7 +15,7 @@ Flagger implements a control loop that gradually shifts traffic to the canary wh indicators like HTTP requests success rate, requests average duration and pods health. Based on analysis of the KPIs a canary is promoted or aborted, and the analysis result is published to Slack. -![flagger-overview](https://raw.githubusercontent.com/stefanprodan/flagger/master/docs/diagrams/flagger-canary-overview.png) +![flagger-overview](https://raw.githubusercontent.com/weaveworks/flagger/master/docs/diagrams/flagger-canary-overview.png) ### Documentation @@ -44,7 +44,7 @@ Flagger documentation can be found at [docs.flagger.app](https://docs.flagger.ap ### Install Before installing Flagger make sure you have Istio setup up with Prometheus enabled. -If you are new to Istio you can follow my [Istio service mesh walk-through](https://github.com/weaveworks/istio-gke). +If you are new to Istio you can follow my [Istio service mesh walk-through](https://github.com/stefanprodan/istio-gke). Deploy Flagger in the `istio-system` namespace using Helm: