diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 66d2aac9921250c805ef51140848a109389c88d7..3a40a700b7bf715725dfa91b653dc2ab86d7fed4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,7 +5,7 @@ Wanna contribute to the Postgres Operator? Yay - here is how! ## Reporting issues If you have a question about patroni or have a problem using it, please read the`README` before filing an issue. -Also double check with the current issues on our [Issues Tracker](https://github.com/zalando-incubator/postgres-operator/issues). +Also double check with the current issues on our [Issues Tracker](https://github.com/zalando/postgres-operator/issues). ## Contributing a pull request diff --git a/README.md b/README.md index 432588b27733d0592c21f6bf9176966ed675665c..9673894c8f447827f74b340f1a4693b6ac5d2a6d 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # Postgres Operator -[](https://travis-ci.org/zalando-incubator/postgres-operator) -[](https://coveralls.io/github/zalando-incubator/postgres-operator) -[](https://goreportcard.com/report/github.com/zalando-incubator/postgres-operator) -[](https://godoc.org/github.com/zalando-incubator/postgres-operator) -[](https://golangci.com/r/github.com/zalando-incubator/postgres-operator) +[](https://travis-ci.org/zalando/postgres-operator) +[](https://coveralls.io/github/zalando/postgres-operator) +[](https://goreportcard.com/report/github.com/zalando/postgres-operator) +[](https://godoc.org/github.com/zalando/postgres-operator) +[](https://golangci.com/r/github.com/zalando/postgres-operator) <img src="docs/diagrams/logo.png" width="200"> @@ -64,7 +64,7 @@ the rest of the document is a tutorial to get you up and running with the operat ## Community There are two places to get in touch with the community: -1. The [GitHub issue tracker](https://github.com/zalando-incubator/postgres-operator/issues) +1. The [GitHub issue tracker](https://github.com/zalando/postgres-operator/issues) 2. The #postgres-operator slack channel under [Postgres Slack](https://postgres-slack.herokuapp.com) ## Quickstart @@ -82,7 +82,7 @@ built-in Kubernetes support. ### Local execution ```bash -git clone https://github.com/zalando-incubator/postgres-operator.git +git clone https://github.com/zalando/postgres-operator.git cd postgres-operator minikube start diff --git a/build-ci.sh b/build-ci.sh index 71080b220b398dd74bda5308e32f12ab72c4c338..a4805ad280220259c17a4f28c57f5c235cddeca4 100755 --- a/build-ci.sh +++ b/build-ci.sh @@ -1,7 +1,7 @@ #!/bin/sh set -e -x -team_repo="$GOPATH/src/github.com/zalando-incubator/" +team_repo="$GOPATH/src/github.com/zalando/" project_dir="$team_repo/postgres-operator" mkdir -p "$team_repo" diff --git a/cmd/main.go b/cmd/main.go index 09ab40a87ae22557e19424b16b075aa8f07f2f25..7fadd611ab926323966fa330ad035ea9ba4ef75a 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -9,9 +9,9 @@ import ( "syscall" "time" - "github.com/zalando-incubator/postgres-operator/pkg/controller" - "github.com/zalando-incubator/postgres-operator/pkg/spec" - "github.com/zalando-incubator/postgres-operator/pkg/util/k8sutil" + "github.com/zalando/postgres-operator/pkg/controller" + "github.com/zalando/postgres-operator/pkg/spec" + "github.com/zalando/postgres-operator/pkg/util/k8sutil" ) var ( diff --git a/delivery.yaml b/delivery.yaml index 5f1f5384f29cf036c504a91b408447400f04fc3d..de043a20d41fda2202169c7a5cac89f415a73b06 100644 --- a/delivery.yaml +++ b/delivery.yaml @@ -4,7 +4,7 @@ pipeline: type: script env: GOPATH: /root/go - OPERATOR_TOP_DIR: /root/go/src/github.com/zalando-incubator + OPERATOR_TOP_DIR: /root/go/src/github.com/zalando commands: - desc: 'Update' cmd: | diff --git a/docs/developer.md b/docs/developer.md index 220d764d04219b47feeb135eb02424b51c663c94..8132be018f682e282bcc9e3c84dd67f319b11f18 100644 --- a/docs/developer.md +++ b/docs/developer.md @@ -93,14 +93,14 @@ would create a directory for the GOPATH (i.e. ~/go) and place the source code under the ~/go/src subdirectories. Given the schema above, the postgres operator source code located at -`github.com/zalando-incubator/postgres-operator` should be put at --`~/go/src/github.com/zalando-incubator/postgres-operator`. +`github.com/zalando/postgres-operator` should be put at +-`~/go/src/github.com/zalando/postgres-operator`. ```bash $ export GOPATH=~/go - $ mkdir -p ${GOPATH}/src/github.com/zalando-incubator/ - $ cd ${GOPATH}/src/github.com/zalando-incubator/ - $ git clone https://github.com/zalando-incubator/postgres-operator.git + $ mkdir -p ${GOPATH}/src/github.com/zalando/ + $ cd ${GOPATH}/src/github.com/zalando/ + $ git clone https://github.com/zalando/postgres-operator.git ``` ## Building the operator @@ -157,7 +157,7 @@ The operator employs k8s-provided code generation to obtain deep copy methods an the `verify-codegen.sh` checks if the generated code is up-to-date (to be used within CI). The `/pkg/generated/` contains the resultant code. To make these scripts work, you may need to `export GOPATH=$(go env GOPATH)` References for code generation are: -* [Relevant pull request](https://github.com/zalando-incubator/postgres-operator/pull/369) +* [Relevant pull request](https://github.com/zalando/postgres-operator/pull/369) See comments there for minor issues that can sometimes broke the generation process. * [Code generator source code](https://github.com/kubernetes/code-generator) * [Code Generation for CustomResources](https://blog.openshift.com/kubernetes-deep-dive-code-generation-customresources/) - intro post on the topic diff --git a/docs/gsoc-2019/ideas.md b/docs/gsoc-2019/ideas.md index 2e3dc7b4e8454e7470225113fb78ed03cfa20df7..23a3e3eb72298e52542591017034d4c97d4f52cb 100644 --- a/docs/gsoc-2019/ideas.md +++ b/docs/gsoc-2019/ideas.md @@ -6,7 +6,7 @@ 1. Please carefully read the official [Google Summer of Code Student Guide](https://google.github.io/gsocguides/student/) 2. Join the #postgres-operator slack channel under [Postgres Slack](https://postgres-slack.herokuapp.com) to introduce yourself to the community and get quick feedback on your application. 3. Select a project from the list of ideas below or propose your own. -4. Write a proposal draft. Please open an issue with the label `gsoc2019_application` in the [operator repository](https://github.com/zalando-incubator/postgres-operator/issues) so that the community members can publicly review it. See proposal instructions below for details. +4. Write a proposal draft. Please open an issue with the label `gsoc2019_application` in the [operator repository](https://github.com/zalando/postgres-operator/issues) so that the community members can publicly review it. See proposal instructions below for details. 5. Submit proposal and the proof of enrollment before April 9 2019 18:00 UTC through the web site of the Program. ## Project ideas @@ -34,7 +34,7 @@ It will be helpful to reject erroneous manifests before they reach the operator * **Recommended skills**: golang, JSON schema * **Difficulty**: medium * **Mentor(s)**: Sergey Dudoladov [@sdudoladov](https://github.com/sdudoladov) -* **Issue**: [#388](https://github.com/zalando-incubator/postgres-operator/issues/388) +* **Issue**: [#388](https://github.com/zalando/postgres-operator/issues/388) ### Design a solution for the local testing of the operator @@ -45,7 +45,7 @@ A promising option is the Kubernetes own [kind](https://github.com/kubernetes-si * **Recommended skills**: Docker, shell scripting, basic Kubernetes abstractions * **Difficulty**: medium to hard depending on the selected desing * **Mentor(s)**: Dmitry Dolgov [@erthalion](https://github.com/erthalion), Sergey Dudoladov [@sdudoladov](https://github.com/sdudoladov) -* **Issue**: [#475](https://github.com/zalando-incubator/postgres-operator/issues/475) +* **Issue**: [#475](https://github.com/zalando/postgres-operator/issues/475) ### Detach a Postgres cluster from the operator for maintenance @@ -54,11 +54,11 @@ A promising option is the Kubernetes own [kind](https://github.com/kubernetes-si * **Recommended skills**: golang, architecture of a Kubernetes operator * **Difficulty**: hard - requires significant modification of the operator's internals and careful consideration of the corner cases. * **Mentor(s)**: Dmitry Dolgov [@erthalion](https://github.com/erthalion), Sergey Dudoladov [@sdudoladov](https://github.com/sdudoladov) -* **Issue**: [#421](https://github.com/zalando-incubator/postgres-operator/issues/421) +* **Issue**: [#421](https://github.com/zalando/postgres-operator/issues/421) ### Propose your own idea Feel free to come up with your own ideas. For inspiration, -see [our bug tracker](https://github.com/zalando-incubator/postgres-operator/issues), +see [our bug tracker](https://github.com/zalando/postgres-operator/issues), the [official `CustomResouceDefinition` docs](https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/) and [other operators](https://github.com/operator-framework/awesome-operators). \ No newline at end of file diff --git a/docs/index.md b/docs/index.md index f17dbf11b52543b9c86c45baa2bfd35d16713b07..5b8479a912842735f9ca7034ab213131fb015b11 100644 --- a/docs/index.md +++ b/docs/index.md @@ -8,10 +8,10 @@ manages PostgreSQL clusters on Kubernetes: user submits a new manifest, the operator fetches that manifest and spawns a new Postgres cluster along with all necessary entities such as Kubernetes StatefulSets and Postgres roles. See this - [Postgres cluster manifest](https://github.com/zalando-incubator/postgres-operator/blob/master/manifests/complete-postgres-manifest.yaml) + [Postgres cluster manifest](https://github.com/zalando/postgres-operator/blob/master/manifests/complete-postgres-manifest.yaml) for settings that a manifest may contain. -2. The operator also watches updates to [its own configuration](https://github.com/zalando-incubator/postgres-operator/blob/master/manifests/configmap.yaml) +2. The operator also watches updates to [its own configuration](https://github.com/zalando/postgres-operator/blob/master/manifests/configmap.yaml) and alters running Postgres clusters if necessary. For instance, if a pod docker image is changed, the operator carries out the rolling update. That is, the operator re-spawns one-by-one pods of each StatefulSet it manages @@ -47,7 +47,7 @@ the operator is deployed to multiple Kubernetes clusters, where users deploy manifests via our CI/CD infrastructure or rely on a slim user interface to create manifests. -Please, report any issues discovered to https://github.com/zalando-incubator/postgres-operator/issues. +Please, report any issues discovered to https://github.com/zalando/postgres-operator/issues. ## Talks diff --git a/docs/quickstart.md b/docs/quickstart.md index 7b9c667e1bfbb55e23a33e5d5e84208f0a467860..7b662e4202e1aee90d587f0ce0f95013140a9feb 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -13,7 +13,7 @@ built-in Kubernetes support. ## Local execution ```bash -git clone https://github.com/zalando-incubator/postgres-operator.git +git clone https://github.com/zalando/postgres-operator.git cd postgres-operator minikube start diff --git a/docs/reference/cluster_manifest.md b/docs/reference/cluster_manifest.md index a7c0e9840bf96184b92a6b8365a4db4be978b537..f1491525de7ac1cd52f709eddd5b736b4904b271 100644 --- a/docs/reference/cluster_manifest.md +++ b/docs/reference/cluster_manifest.md @@ -3,9 +3,9 @@ Individual postgres clusters are described by the Kubernetes *cluster manifest* that has the structure defined by the `postgres CRD` (custom resource definition). The following section describes the structure of the manifest and the purpose of individual keys. You can take a look at the examples of the -[minimal](https://github.com/zalando-incubator/postgres-operator/blob/master/manifests/minimal-postgres-manifest.yaml) +[minimal](https://github.com/zalando/postgres-operator/blob/master/manifests/minimal-postgres-manifest.yaml) and the -[complete](https://github.com/zalando-incubator/postgres-operator/blob/master/manifests/complete-postgres-manifest.yaml) +[complete](https://github.com/zalando/postgres-operator/blob/master/manifests/complete-postgres-manifest.yaml) cluster manifests. When Kubernetes resources, such as memory, CPU or volumes, are configured, diff --git a/docs/reference/operator_parameters.md b/docs/reference/operator_parameters.md index 69d90342752eb8e864c8a9e79c7b155cd11a40dc..cff935c29b8c44a277e2bf11068f908b074f11b5 100644 --- a/docs/reference/operator_parameters.md +++ b/docs/reference/operator_parameters.md @@ -8,12 +8,12 @@ configuration. maps. String values containing ':' should be enclosed in quotes. The configuration is flat, parameter group names below are not reflected in the configuration structure. There is an - [example](https://github.com/zalando-incubator/postgres-operator/blob/master/manifests/configmap.yaml) + [example](https://github.com/zalando/postgres-operator/blob/master/manifests/configmap.yaml) * CRD-based configuration. The configuration is stored in a custom YAML manifest. The manifest is an instance of the custom resource definition (CRD) called `OperatorConfiguration`. The operator registers this CRD - during the start and uses it for configuration if the [operator deployment manifest ](https://github.com/zalando-incubator/postgres-operator/blob/master/manifests/postgres-operator.yaml#L21) sets the `POSTGRES_OPERATOR_CONFIGURATION_OBJECT` env variable to a non-empty value. The variable should point to the + during the start and uses it for configuration if the [operator deployment manifest ](https://github.com/zalando/postgres-operator/blob/master/manifests/postgres-operator.yaml#L21) sets the `POSTGRES_OPERATOR_CONFIGURATION_OBJECT` env variable to a non-empty value. The variable should point to the `postgresql-operator-configuration` object in the operator's namespace. The CRD-based configuration is a regular YAML @@ -21,7 +21,7 @@ configuration. There are no default values built-in in the operator, each parameter that is not supplied in the configuration receives an empty value. In order to create your own configuration just copy the [default - one](https://github.com/zalando-incubator/postgres-operator/blob/master/manifests/postgresql-operator-default-configuration.yaml) + one](https://github.com/zalando/postgres-operator/blob/master/manifests/postgresql-operator-default-configuration.yaml) and change it. To test the CRD-based configuration locally, use the following @@ -245,7 +245,7 @@ CRD-based configuration. settings. The default is `1Gi`. * **set_memory_request_to_limit** - Set `memory_request` to `memory_limit` for all Postgres clusters (the default value is also increased). This prevents certain cases of memory overcommitment at the cost of overprovisioning memory and potential scheduling problems for containers with high memory limits due to the lack of memory on Kubernetes cluster nodes. This affects all containers created by the operator (Postgres, Scalyr sidecar, and other sidecars); to set resources for the operator's own container, change the [operator deployment manually](https://github.com/zalando-incubator/postgres-operator/blob/master/manifests/postgres-operator.yaml#L13). The default is `false`. + Set `memory_request` to `memory_limit` for all Postgres clusters (the default value is also increased). This prevents certain cases of memory overcommitment at the cost of overprovisioning memory and potential scheduling problems for containers with high memory limits due to the lack of memory on Kubernetes cluster nodes. This affects all containers created by the operator (Postgres, Scalyr sidecar, and other sidecars); to set resources for the operator's own container, change the [operator deployment manually](https://github.com/zalando/postgres-operator/blob/master/manifests/postgres-operator.yaml#L13). The default is `false`. * **enable_shm_volume** Instruct operator to start any new database pod without limitations on shm @@ -464,4 +464,4 @@ scalyr sidecar. In the CRD-based configuration they are grouped under the Memory limit value for the Scalyr sidecar. The default is `1Gi`. -For the configmap operator configuration, the [default parameter values](https://github.com/zalando-incubator/postgres-operator/blob/master/pkg/util/config/config.go#L14) mentioned here are likely to be overwritten in your local operator installation via your local version of the operator configmap. In the case you use the operator CRD, all the CRD defaults are provided in the [operator's default configuration manifest](https://github.com/zalando-incubator/postgres-operator/blob/master/manifests/postgresql-operator-default-configuration.yaml) +For the configmap operator configuration, the [default parameter values](https://github.com/zalando/postgres-operator/blob/master/pkg/util/config/config.go#L14) mentioned here are likely to be overwritten in your local operator installation via your local version of the operator configmap. In the case you use the operator CRD, all the CRD defaults are provided in the [operator's default configuration manifest](https://github.com/zalando/postgres-operator/blob/master/manifests/postgresql-operator-default-configuration.yaml) diff --git a/docs/user.md b/docs/user.md index ba91530eb4286377ffb1aa5f02cd760cf46bd33b..a0569fe2b6a87566821a9178e9c8706c9734c743 100644 --- a/docs/user.md +++ b/docs/user.md @@ -1,7 +1,7 @@ ## Create a manifest for a new PostgreSQL cluster As an example you can take this -[minimal example](https://github.com/zalando-incubator/postgres-operator/blob/master/manifests/minimal-postgres-manifest.yaml): +[minimal example](https://github.com/zalando/postgres-operator/blob/master/manifests/minimal-postgres-manifest.yaml): ```yaml apiVersion: "acid.zalan.do/v1" @@ -68,7 +68,7 @@ In the next sections, we will cover those use cases in more details. ## Manifest roles Manifest roles are defined directly in the cluster manifest. See -[minimal postgres manifest](https://github.com/zalando-incubator/postgres-operator/blob/master/manifests/minimal-postgres-manifest.yaml) +[minimal postgres manifest](https://github.com/zalando/postgres-operator/blob/master/manifests/minimal-postgres-manifest.yaml) for an example of `zalando` role, defined with `superuser` and `createdb` flags. @@ -158,8 +158,8 @@ Since an infrastructure role is created uniformly on all clusters managed by the operator, it makes no sense to define it without the password. Such definitions will be ignored with a prior warning. -See [infrastructure roles secret](https://github.com/zalando-incubator/postgres-operator/blob/master/manifests/infrastructure-roles.yaml) -and [infrastructure roles configmap](https://github.com/zalando-incubator/postgres-operator/blob/master/manifests/infrastructure-roles-configmap.yaml) for the examples. +See [infrastructure roles secret](https://github.com/zalando/postgres-operator/blob/master/manifests/infrastructure-roles.yaml) +and [infrastructure roles configmap](https://github.com/zalando/postgres-operator/blob/master/manifests/infrastructure-roles-configmap.yaml) for the examples. ## Use taints and tolerations for dedicated PostgreSQL nodes diff --git a/glide.yaml b/glide.yaml index 41d8dee29e36ad4692f6dd7bbc216ef18517b0af..98697088781548d674a52db7efbeca74740b33bd 100644 --- a/glide.yaml +++ b/glide.yaml @@ -1,4 +1,4 @@ -package: github.com/zalando-incubator/postgres-operator +package: github.com/zalando/postgres-operator import: - package: github.com/sirupsen/logrus version: ^1.0.1 diff --git a/hack/update-codegen.sh b/hack/update-codegen.sh index a1c1555c9c2071599675bd9bb1135124c330129e..70f041d076dae454a497e08d085cb8b997e767cf 100755 --- a/hack/update-codegen.sh +++ b/hack/update-codegen.sh @@ -8,6 +8,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 ${GOPATH}/src/k8s.io/code-generator)} vendor/k8s.io/code-generator/generate-groups.sh all \ - github.com/zalando-incubator/postgres-operator/pkg/generated github.com/zalando-incubator/postgres-operator/pkg/apis \ + github.com/zalando/postgres-operator/pkg/generated github.com/zalando/postgres-operator/pkg/apis \ acid.zalan.do:v1 \ --go-header-file ${SCRIPT_ROOT}/hack/custom-boilerplate.go.txt diff --git a/mkdocs.yml b/mkdocs.yml index e50107eeda1cec5019406e3b55a3938ea1eac928..635f088168b4aa309a792fefd3d9ea7fe8853f30 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,5 +1,5 @@ site_name: Postgres Operator -repo_url: https://github.com/zalando-incubator/postgres-operator +repo_url: https://github.com/zalando/postgres-operator theme: readthedocs pages: diff --git a/pkg/apis/acid.zalan.do/v1/crds.go b/pkg/apis/acid.zalan.do/v1/crds.go index 5f170452748760b57dbecf766210d1cb2d81ea4e..a77f490f02e2eacebb84e47437788fa73a80a7b7 100644 --- a/pkg/apis/acid.zalan.do/v1/crds.go +++ b/pkg/apis/acid.zalan.do/v1/crds.go @@ -1,7 +1,7 @@ package v1 import ( - "github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do" + "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do" apiextv1beta1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/pkg/apis/acid.zalan.do/v1/operator_configuration_type.go b/pkg/apis/acid.zalan.do/v1/operator_configuration_type.go index 99d79b64b3a717b6b3e37319c31cbae9deb21235..3f37a2673a94a7b826daef34fa840f30f1190e4c 100644 --- a/pkg/apis/acid.zalan.do/v1/operator_configuration_type.go +++ b/pkg/apis/acid.zalan.do/v1/operator_configuration_type.go @@ -1,11 +1,11 @@ package v1 import ( - "github.com/zalando-incubator/postgres-operator/pkg/util/config" + "github.com/zalando/postgres-operator/pkg/util/config" "time" - "github.com/zalando-incubator/postgres-operator/pkg/spec" + "github.com/zalando/postgres-operator/pkg/spec" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/pkg/apis/acid.zalan.do/v1/register.go b/pkg/apis/acid.zalan.do/v1/register.go index 165981a6818294514a98ac2f2a03e5105d87a7c6..ed0add91d2052d3a42dfb4d1d5867bee48bc85a3 100644 --- a/pkg/apis/acid.zalan.do/v1/register.go +++ b/pkg/apis/acid.zalan.do/v1/register.go @@ -5,7 +5,7 @@ import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" - "github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do" + "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do" ) // APIVersion of the `postgresql` and `operator` CRDs diff --git a/pkg/apiserver/apiserver.go b/pkg/apiserver/apiserver.go index a6f4e09ce585632bf3df7c58b3792f4f80cb2588..c0fa1f3491c7c37c97928035d0cdf8f84a85c190 100644 --- a/pkg/apiserver/apiserver.go +++ b/pkg/apiserver/apiserver.go @@ -13,10 +13,10 @@ import ( "github.com/sirupsen/logrus" - "github.com/zalando-incubator/postgres-operator/pkg/cluster" - "github.com/zalando-incubator/postgres-operator/pkg/spec" - "github.com/zalando-incubator/postgres-operator/pkg/util" - "github.com/zalando-incubator/postgres-operator/pkg/util/config" + "github.com/zalando/postgres-operator/pkg/cluster" + "github.com/zalando/postgres-operator/pkg/spec" + "github.com/zalando/postgres-operator/pkg/util" + "github.com/zalando/postgres-operator/pkg/util/config" ) const ( diff --git a/pkg/cluster/cluster.go b/pkg/cluster/cluster.go index 0230f0c18aae40631b3e9d65e7e953670e8f140f..d4680cec0ecd6e8890c45c9a138ee9fc241c3775 100644 --- a/pkg/cluster/cluster.go +++ b/pkg/cluster/cluster.go @@ -21,15 +21,15 @@ import ( "encoding/json" - acidv1 "github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do/v1" - "github.com/zalando-incubator/postgres-operator/pkg/spec" - "github.com/zalando-incubator/postgres-operator/pkg/util" - "github.com/zalando-incubator/postgres-operator/pkg/util/config" - "github.com/zalando-incubator/postgres-operator/pkg/util/constants" - "github.com/zalando-incubator/postgres-operator/pkg/util/k8sutil" - "github.com/zalando-incubator/postgres-operator/pkg/util/patroni" - "github.com/zalando-incubator/postgres-operator/pkg/util/teams" - "github.com/zalando-incubator/postgres-operator/pkg/util/users" + acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1" + "github.com/zalando/postgres-operator/pkg/spec" + "github.com/zalando/postgres-operator/pkg/util" + "github.com/zalando/postgres-operator/pkg/util/config" + "github.com/zalando/postgres-operator/pkg/util/constants" + "github.com/zalando/postgres-operator/pkg/util/k8sutil" + "github.com/zalando/postgres-operator/pkg/util/patroni" + "github.com/zalando/postgres-operator/pkg/util/teams" + "github.com/zalando/postgres-operator/pkg/util/users" rbacv1beta1 "k8s.io/api/rbac/v1beta1" ) diff --git a/pkg/cluster/cluster_test.go b/pkg/cluster/cluster_test.go index acf17ace6a9faeeba470d34e88139de1b8b18fc7..5ff00c7b3dbc8c474c54a739988e5729b83d0197 100644 --- a/pkg/cluster/cluster_test.go +++ b/pkg/cluster/cluster_test.go @@ -6,11 +6,11 @@ import ( "testing" "github.com/sirupsen/logrus" - acidv1 "github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do/v1" - "github.com/zalando-incubator/postgres-operator/pkg/spec" - "github.com/zalando-incubator/postgres-operator/pkg/util/config" - "github.com/zalando-incubator/postgres-operator/pkg/util/k8sutil" - "github.com/zalando-incubator/postgres-operator/pkg/util/teams" + acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1" + "github.com/zalando/postgres-operator/pkg/spec" + "github.com/zalando/postgres-operator/pkg/util/config" + "github.com/zalando/postgres-operator/pkg/util/k8sutil" + "github.com/zalando/postgres-operator/pkg/util/teams" "k8s.io/api/core/v1" ) diff --git a/pkg/cluster/database.go b/pkg/cluster/database.go index 9441a4933e3b99ab296385f8eb819454ce2ac503..a4633537de79383a83c149a80e5b1baa64d82cf7 100644 --- a/pkg/cluster/database.go +++ b/pkg/cluster/database.go @@ -9,9 +9,9 @@ import ( "github.com/lib/pq" - "github.com/zalando-incubator/postgres-operator/pkg/spec" - "github.com/zalando-incubator/postgres-operator/pkg/util/constants" - "github.com/zalando-incubator/postgres-operator/pkg/util/retryutil" + "github.com/zalando/postgres-operator/pkg/spec" + "github.com/zalando/postgres-operator/pkg/util/constants" + "github.com/zalando/postgres-operator/pkg/util/retryutil" ) const ( diff --git a/pkg/cluster/exec.go b/pkg/cluster/exec.go index ef1ad0795995ea9b2015c710775d4397c5ae0fcd..8dd6bd91dcd58150f32a191b68e0576b9e050923 100644 --- a/pkg/cluster/exec.go +++ b/pkg/cluster/exec.go @@ -10,8 +10,8 @@ import ( "k8s.io/client-go/kubernetes/scheme" "k8s.io/client-go/tools/remotecommand" - "github.com/zalando-incubator/postgres-operator/pkg/spec" - "github.com/zalando-incubator/postgres-operator/pkg/util/constants" + "github.com/zalando/postgres-operator/pkg/spec" + "github.com/zalando/postgres-operator/pkg/util/constants" ) //ExecCommand executes arbitrary command inside the pod diff --git a/pkg/cluster/filesystems.go b/pkg/cluster/filesystems.go index 65e7048c7e2dc5d09fdabc2a62411d07f5f78b85..a34e5a90ecf51043b67ff32baf385d8acbc359f4 100644 --- a/pkg/cluster/filesystems.go +++ b/pkg/cluster/filesystems.go @@ -4,9 +4,9 @@ import ( "fmt" "strings" - "github.com/zalando-incubator/postgres-operator/pkg/spec" - "github.com/zalando-incubator/postgres-operator/pkg/util/constants" - "github.com/zalando-incubator/postgres-operator/pkg/util/filesystems" + "github.com/zalando/postgres-operator/pkg/spec" + "github.com/zalando/postgres-operator/pkg/util/constants" + "github.com/zalando/postgres-operator/pkg/util/filesystems" ) func (c *Cluster) getPostgresFilesystemInfo(podName *spec.NamespacedName) (device, fstype string, err error) { diff --git a/pkg/cluster/k8sres.go b/pkg/cluster/k8sres.go index 9a58f05163798aa076c692e7961edaa39ff61f23..0540dcf90c43c8c6df8059dda6a0c6b03f32faf3 100644 --- a/pkg/cluster/k8sres.go +++ b/pkg/cluster/k8sres.go @@ -15,11 +15,11 @@ import ( "k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/util/intstr" - acidv1 "github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do/v1" - "github.com/zalando-incubator/postgres-operator/pkg/spec" - "github.com/zalando-incubator/postgres-operator/pkg/util" - "github.com/zalando-incubator/postgres-operator/pkg/util/config" - "github.com/zalando-incubator/postgres-operator/pkg/util/constants" + acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1" + "github.com/zalando/postgres-operator/pkg/spec" + "github.com/zalando/postgres-operator/pkg/util" + "github.com/zalando/postgres-operator/pkg/util/config" + "github.com/zalando/postgres-operator/pkg/util/constants" "k8s.io/apimachinery/pkg/labels" ) diff --git a/pkg/cluster/k8sres_test.go b/pkg/cluster/k8sres_test.go index 92946ab2bd1ad6177fc5081cab47ae768a5e3575..73af5a3d38998abe427283e6f0e698f4e9ef6bfa 100644 --- a/pkg/cluster/k8sres_test.go +++ b/pkg/cluster/k8sres_test.go @@ -3,10 +3,10 @@ package cluster import ( "k8s.io/api/core/v1" - acidv1 "github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do/v1" - "github.com/zalando-incubator/postgres-operator/pkg/util/config" - "github.com/zalando-incubator/postgres-operator/pkg/util/constants" - "github.com/zalando-incubator/postgres-operator/pkg/util/k8sutil" + acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1" + "github.com/zalando/postgres-operator/pkg/util/config" + "github.com/zalando/postgres-operator/pkg/util/constants" + "github.com/zalando/postgres-operator/pkg/util/k8sutil" "testing" ) diff --git a/pkg/cluster/pod.go b/pkg/cluster/pod.go index 52b8b4e09429dcc918f048ada8d6ffcf96650bee..8beb561ec1674d9802cc67d0bb2a018b61438c57 100644 --- a/pkg/cluster/pod.go +++ b/pkg/cluster/pod.go @@ -7,8 +7,8 @@ import ( v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/zalando-incubator/postgres-operator/pkg/spec" - "github.com/zalando-incubator/postgres-operator/pkg/util" + "github.com/zalando/postgres-operator/pkg/spec" + "github.com/zalando/postgres-operator/pkg/util" "k8s.io/api/apps/v1beta1" ) diff --git a/pkg/cluster/resources.go b/pkg/cluster/resources.go index 886a4bac9e88687a9477a90f16c94ca84ce21262..18c295804a70749ae8a6b82ecb38dc33ab53f51f 100644 --- a/pkg/cluster/resources.go +++ b/pkg/cluster/resources.go @@ -11,10 +11,10 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" - "github.com/zalando-incubator/postgres-operator/pkg/util" - "github.com/zalando-incubator/postgres-operator/pkg/util/constants" - "github.com/zalando-incubator/postgres-operator/pkg/util/k8sutil" - "github.com/zalando-incubator/postgres-operator/pkg/util/retryutil" + "github.com/zalando/postgres-operator/pkg/util" + "github.com/zalando/postgres-operator/pkg/util/constants" + "github.com/zalando/postgres-operator/pkg/util/k8sutil" + "github.com/zalando/postgres-operator/pkg/util/retryutil" ) const ( diff --git a/pkg/cluster/sync.go b/pkg/cluster/sync.go index 4744faf9c8964b58fa9e861e492c465df0392728..d2157c8a28c340eb30e2942c31f70a7d72aedc82 100644 --- a/pkg/cluster/sync.go +++ b/pkg/cluster/sync.go @@ -7,12 +7,12 @@ import ( policybeta1 "k8s.io/api/policy/v1beta1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - acidv1 "github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do/v1" - "github.com/zalando-incubator/postgres-operator/pkg/spec" - "github.com/zalando-incubator/postgres-operator/pkg/util" - "github.com/zalando-incubator/postgres-operator/pkg/util/constants" - "github.com/zalando-incubator/postgres-operator/pkg/util/k8sutil" - "github.com/zalando-incubator/postgres-operator/pkg/util/volumes" + acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1" + "github.com/zalando/postgres-operator/pkg/spec" + "github.com/zalando/postgres-operator/pkg/util" + "github.com/zalando/postgres-operator/pkg/util/constants" + "github.com/zalando/postgres-operator/pkg/util/k8sutil" + "github.com/zalando/postgres-operator/pkg/util/volumes" ) // Sync syncs the cluster, making sure the actual Kubernetes objects correspond to what is defined in the manifest. diff --git a/pkg/cluster/types.go b/pkg/cluster/types.go index 681f99e1f589f13be5ed90e7ba5d9ae5cbde7d99..5fd5029dbb1feca09cc8ce01d254521007442328 100644 --- a/pkg/cluster/types.go +++ b/pkg/cluster/types.go @@ -3,7 +3,7 @@ package cluster import ( "time" - acidv1 "github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do/v1" + acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1" "k8s.io/api/apps/v1beta1" "k8s.io/api/core/v1" policybeta1 "k8s.io/api/policy/v1beta1" diff --git a/pkg/cluster/util.go b/pkg/cluster/util.go index 74a009d2c24eaa26acbc5958da9074d428413f25..93268cb934358b68d60084904bd92c0a9e698cc9 100644 --- a/pkg/cluster/util.go +++ b/pkg/cluster/util.go @@ -17,13 +17,13 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/labels" - acidzalando "github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do" - acidv1 "github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do/v1" - "github.com/zalando-incubator/postgres-operator/pkg/spec" - "github.com/zalando-incubator/postgres-operator/pkg/util" - "github.com/zalando-incubator/postgres-operator/pkg/util/constants" - "github.com/zalando-incubator/postgres-operator/pkg/util/k8sutil" - "github.com/zalando-incubator/postgres-operator/pkg/util/retryutil" + acidzalando "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do" + acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1" + "github.com/zalando/postgres-operator/pkg/spec" + "github.com/zalando/postgres-operator/pkg/util" + "github.com/zalando/postgres-operator/pkg/util/constants" + "github.com/zalando/postgres-operator/pkg/util/k8sutil" + "github.com/zalando/postgres-operator/pkg/util/retryutil" ) // OAuthTokenGetter provides the method for fetching OAuth tokens diff --git a/pkg/cluster/volumes.go b/pkg/cluster/volumes.go index 9816116c26c2677f656aaaca0cea6734b9cb252a..57f8ca7e3d868c1c7ed827fc05f41a20e1be344e 100644 --- a/pkg/cluster/volumes.go +++ b/pkg/cluster/volumes.go @@ -9,12 +9,12 @@ import ( "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - acidv1 "github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do/v1" - "github.com/zalando-incubator/postgres-operator/pkg/spec" - "github.com/zalando-incubator/postgres-operator/pkg/util" - "github.com/zalando-incubator/postgres-operator/pkg/util/constants" - "github.com/zalando-incubator/postgres-operator/pkg/util/filesystems" - "github.com/zalando-incubator/postgres-operator/pkg/util/volumes" + acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1" + "github.com/zalando/postgres-operator/pkg/spec" + "github.com/zalando/postgres-operator/pkg/util" + "github.com/zalando/postgres-operator/pkg/util/constants" + "github.com/zalando/postgres-operator/pkg/util/filesystems" + "github.com/zalando/postgres-operator/pkg/util/volumes" ) func (c *Cluster) listPersistentVolumeClaims() ([]v1.PersistentVolumeClaim, error) { diff --git a/pkg/controller/controller.go b/pkg/controller/controller.go index fd1c099dea89fabadc086660a97c9b9f835d678e..9b30f89a1819cc305a25737bad655b604e53f22a 100644 --- a/pkg/controller/controller.go +++ b/pkg/controller/controller.go @@ -13,16 +13,16 @@ import ( "k8s.io/client-go/kubernetes/scheme" "k8s.io/client-go/tools/cache" - "github.com/zalando-incubator/postgres-operator/pkg/apiserver" - "github.com/zalando-incubator/postgres-operator/pkg/cluster" - "github.com/zalando-incubator/postgres-operator/pkg/spec" - "github.com/zalando-incubator/postgres-operator/pkg/util" - "github.com/zalando-incubator/postgres-operator/pkg/util/config" - "github.com/zalando-incubator/postgres-operator/pkg/util/constants" - "github.com/zalando-incubator/postgres-operator/pkg/util/k8sutil" - "github.com/zalando-incubator/postgres-operator/pkg/util/ringlog" - - acidv1informer "github.com/zalando-incubator/postgres-operator/pkg/generated/informers/externalversions/acid.zalan.do/v1" + "github.com/zalando/postgres-operator/pkg/apiserver" + "github.com/zalando/postgres-operator/pkg/cluster" + "github.com/zalando/postgres-operator/pkg/spec" + "github.com/zalando/postgres-operator/pkg/util" + "github.com/zalando/postgres-operator/pkg/util/config" + "github.com/zalando/postgres-operator/pkg/util/constants" + "github.com/zalando/postgres-operator/pkg/util/k8sutil" + "github.com/zalando/postgres-operator/pkg/util/ringlog" + + acidv1informer "github.com/zalando/postgres-operator/pkg/generated/informers/externalversions/acid.zalan.do/v1" ) // Controller represents operator controller diff --git a/pkg/controller/logs_and_api.go b/pkg/controller/logs_and_api.go index 3e5f20759450a180e7019c11bfd67337b4ded619..24e73fabed9cde3de83bdf5bd04d68d8442bef9e 100644 --- a/pkg/controller/logs_and_api.go +++ b/pkg/controller/logs_and_api.go @@ -7,10 +7,10 @@ import ( "github.com/sirupsen/logrus" - "github.com/zalando-incubator/postgres-operator/pkg/cluster" - "github.com/zalando-incubator/postgres-operator/pkg/spec" - "github.com/zalando-incubator/postgres-operator/pkg/util" - "github.com/zalando-incubator/postgres-operator/pkg/util/config" + "github.com/zalando/postgres-operator/pkg/cluster" + "github.com/zalando/postgres-operator/pkg/spec" + "github.com/zalando/postgres-operator/pkg/util" + "github.com/zalando/postgres-operator/pkg/util/config" "k8s.io/apimachinery/pkg/types" ) diff --git a/pkg/controller/node.go b/pkg/controller/node.go index dc919c450adeaa61d099e9229a76571b5c42ea62..e443dc704522674ee2dc371fbf287f4d296d1259 100644 --- a/pkg/controller/node.go +++ b/pkg/controller/node.go @@ -7,8 +7,8 @@ import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/watch" - "github.com/zalando-incubator/postgres-operator/pkg/cluster" - "github.com/zalando-incubator/postgres-operator/pkg/util" + "github.com/zalando/postgres-operator/pkg/cluster" + "github.com/zalando/postgres-operator/pkg/util" ) func (c *Controller) nodeListFunc(options metav1.ListOptions) (runtime.Object, error) { diff --git a/pkg/controller/node_test.go b/pkg/controller/node_test.go index 06e20093b90b7bab32d578f2a4f59e943f6e1ad8..c0ec78aa87a51c8176a0464410b248bdfdbfe846 100644 --- a/pkg/controller/node_test.go +++ b/pkg/controller/node_test.go @@ -3,7 +3,7 @@ package controller import ( "testing" - "github.com/zalando-incubator/postgres-operator/pkg/spec" + "github.com/zalando/postgres-operator/pkg/spec" "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/pkg/controller/operator_config.go b/pkg/controller/operator_config.go index 08df7e97c524d081f66bbc8d158dce6738a33dc3..f381e8a5b4b0eaa725062f09ebb48cfae295f41d 100644 --- a/pkg/controller/operator_config.go +++ b/pkg/controller/operator_config.go @@ -5,8 +5,8 @@ import ( "time" - acidv1 "github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do/v1" - "github.com/zalando-incubator/postgres-operator/pkg/util/config" + acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1" + "github.com/zalando/postgres-operator/pkg/util/config" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/pkg/controller/pod.go b/pkg/controller/pod.go index d2e12eb30d9a1271f5bcee21f2b69a1e56b8c0e9..27fd6c956a7aff7dc1cc5e1f737544530ee422b7 100644 --- a/pkg/controller/pod.go +++ b/pkg/controller/pod.go @@ -6,9 +6,9 @@ import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/watch" - "github.com/zalando-incubator/postgres-operator/pkg/cluster" - "github.com/zalando-incubator/postgres-operator/pkg/spec" - "github.com/zalando-incubator/postgres-operator/pkg/util" + "github.com/zalando/postgres-operator/pkg/cluster" + "github.com/zalando/postgres-operator/pkg/spec" + "github.com/zalando/postgres-operator/pkg/util" "k8s.io/apimachinery/pkg/types" ) diff --git a/pkg/controller/postgresql.go b/pkg/controller/postgresql.go index e551930bddf688599ffc66eadbf95bf1b897414c..dc082ffabc2fce58275461d31257181001a11077 100644 --- a/pkg/controller/postgresql.go +++ b/pkg/controller/postgresql.go @@ -14,12 +14,12 @@ import ( "k8s.io/apimachinery/pkg/types" "k8s.io/client-go/tools/cache" - acidv1 "github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do/v1" - "github.com/zalando-incubator/postgres-operator/pkg/cluster" - "github.com/zalando-incubator/postgres-operator/pkg/spec" - "github.com/zalando-incubator/postgres-operator/pkg/util" - "github.com/zalando-incubator/postgres-operator/pkg/util/k8sutil" - "github.com/zalando-incubator/postgres-operator/pkg/util/ringlog" + acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1" + "github.com/zalando/postgres-operator/pkg/cluster" + "github.com/zalando/postgres-operator/pkg/spec" + "github.com/zalando/postgres-operator/pkg/util" + "github.com/zalando/postgres-operator/pkg/util/k8sutil" + "github.com/zalando/postgres-operator/pkg/util/ringlog" ) func (c *Controller) clusterResync(stopCh <-chan struct{}, wg *sync.WaitGroup) { diff --git a/pkg/controller/postgresql_test.go b/pkg/controller/postgresql_test.go index c3a74be74cea9c65aeb818513a2681d6eb49b022..3d7785f92868626f92a7d4be1a76b700c46fabad 100644 --- a/pkg/controller/postgresql_test.go +++ b/pkg/controller/postgresql_test.go @@ -1,8 +1,8 @@ package controller import ( - acidv1 "github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do/v1" - "github.com/zalando-incubator/postgres-operator/pkg/spec" + acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1" + "github.com/zalando/postgres-operator/pkg/spec" "reflect" "testing" ) diff --git a/pkg/controller/types.go b/pkg/controller/types.go index c412eb66e3790151a3beb831d6ce9fd138af0b80..0d86abec8d03bb21237a1dd10016f70ac77252d9 100644 --- a/pkg/controller/types.go +++ b/pkg/controller/types.go @@ -4,7 +4,7 @@ import ( "k8s.io/apimachinery/pkg/types" "time" - acidv1 "github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do/v1" + acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1" ) // EventType contains type of the events for the TPRs and Pods received from Kubernetes diff --git a/pkg/controller/util.go b/pkg/controller/util.go index 525fb2d3088b42214956f52d07ad13bcca5cd83d..57633ae8230e18addcf1e09f4d362e8afeeb7e0a 100644 --- a/pkg/controller/util.go +++ b/pkg/controller/util.go @@ -8,11 +8,11 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/wait" - acidv1 "github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do/v1" - "github.com/zalando-incubator/postgres-operator/pkg/cluster" - "github.com/zalando-incubator/postgres-operator/pkg/spec" - "github.com/zalando-incubator/postgres-operator/pkg/util/config" - "github.com/zalando-incubator/postgres-operator/pkg/util/k8sutil" + acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1" + "github.com/zalando/postgres-operator/pkg/cluster" + "github.com/zalando/postgres-operator/pkg/spec" + "github.com/zalando/postgres-operator/pkg/util/config" + "github.com/zalando/postgres-operator/pkg/util/k8sutil" "gopkg.in/yaml.v2" ) diff --git a/pkg/controller/util_test.go b/pkg/controller/util_test.go index 58253633b1e36d1979332e3e7cf98befc9f9d675..cb782904c8b3ac63e5a72418963763de63927c8c 100644 --- a/pkg/controller/util_test.go +++ b/pkg/controller/util_test.go @@ -10,8 +10,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" v1core "k8s.io/client-go/kubernetes/typed/core/v1" - "github.com/zalando-incubator/postgres-operator/pkg/spec" - "github.com/zalando-incubator/postgres-operator/pkg/util/k8sutil" + "github.com/zalando/postgres-operator/pkg/spec" + "github.com/zalando/postgres-operator/pkg/util/k8sutil" ) const ( diff --git a/pkg/generated/clientset/versioned/clientset.go b/pkg/generated/clientset/versioned/clientset.go index 4bddb3eedc6da33d5a7610b2aface93f569ad17d..6969f794cc9390bf87547dee96c0176a69412785 100644 --- a/pkg/generated/clientset/versioned/clientset.go +++ b/pkg/generated/clientset/versioned/clientset.go @@ -25,7 +25,7 @@ SOFTWARE. package versioned import ( - acidv1 "github.com/zalando-incubator/postgres-operator/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1" + acidv1 "github.com/zalando/postgres-operator/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1" discovery "k8s.io/client-go/discovery" rest "k8s.io/client-go/rest" flowcontrol "k8s.io/client-go/util/flowcontrol" diff --git a/pkg/generated/clientset/versioned/fake/clientset_generated.go b/pkg/generated/clientset/versioned/fake/clientset_generated.go index defa99ce7287e4266d23aaad9df07365cf01974c..861059b116c48254e32a48e2a1fd022334966891 100644 --- a/pkg/generated/clientset/versioned/fake/clientset_generated.go +++ b/pkg/generated/clientset/versioned/fake/clientset_generated.go @@ -25,9 +25,9 @@ SOFTWARE. package fake import ( - clientset "github.com/zalando-incubator/postgres-operator/pkg/generated/clientset/versioned" - acidv1 "github.com/zalando-incubator/postgres-operator/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1" - fakeacidv1 "github.com/zalando-incubator/postgres-operator/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1/fake" + clientset "github.com/zalando/postgres-operator/pkg/generated/clientset/versioned" + acidv1 "github.com/zalando/postgres-operator/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1" + fakeacidv1 "github.com/zalando/postgres-operator/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1/fake" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/discovery" diff --git a/pkg/generated/clientset/versioned/fake/register.go b/pkg/generated/clientset/versioned/fake/register.go index a2c11fe3303f48be966f4ce4a71e0fc2c177972e..8e6179239817eb1069e16d7c442fc3f958cfa43a 100644 --- a/pkg/generated/clientset/versioned/fake/register.go +++ b/pkg/generated/clientset/versioned/fake/register.go @@ -25,7 +25,7 @@ SOFTWARE. package fake import ( - acidv1 "github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do/v1" + acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1" 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/generated/clientset/versioned/scheme/register.go b/pkg/generated/clientset/versioned/scheme/register.go index 8d1fea84f533f5cd8d1ff877a0818e315dac13d3..eec31f1c79265d2a1ccfa726676015fec7f9d333 100644 --- a/pkg/generated/clientset/versioned/scheme/register.go +++ b/pkg/generated/clientset/versioned/scheme/register.go @@ -25,7 +25,7 @@ SOFTWARE. package scheme import ( - acidv1 "github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do/v1" + acidv1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1" 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/generated/clientset/versioned/typed/acid.zalan.do/v1/acid.zalan.do_client.go b/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1/acid.zalan.do_client.go index 23623ad26f40a0330442f0981c1c8ff49b5aea39..cf324cc2d3a325dba6ea1b226e20a051c7c8721d 100644 --- a/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1/acid.zalan.do_client.go +++ b/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1/acid.zalan.do_client.go @@ -25,8 +25,8 @@ SOFTWARE. package v1 import ( - v1 "github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do/v1" - "github.com/zalando-incubator/postgres-operator/pkg/generated/clientset/versioned/scheme" + v1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1" + "github.com/zalando/postgres-operator/pkg/generated/clientset/versioned/scheme" serializer "k8s.io/apimachinery/pkg/runtime/serializer" rest "k8s.io/client-go/rest" ) diff --git a/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1/fake/fake_acid.zalan.do_client.go b/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1/fake/fake_acid.zalan.do_client.go index 310e1435eed74f7d7753a263e7c67b2bda7ae326..31f2ec817269b121a9f18672cc2b9fae05d9b34e 100644 --- a/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1/fake/fake_acid.zalan.do_client.go +++ b/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1/fake/fake_acid.zalan.do_client.go @@ -25,7 +25,7 @@ SOFTWARE. package fake import ( - v1 "github.com/zalando-incubator/postgres-operator/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1" + v1 "github.com/zalando/postgres-operator/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1" rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" ) diff --git a/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1/fake/fake_operatorconfiguration.go b/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1/fake/fake_operatorconfiguration.go index f3587f26704439008fb3af89a334fbc299970b23..8023d3b078852c5cfd54573c6cbb85ec05f0144e 100644 --- a/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1/fake/fake_operatorconfiguration.go +++ b/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1/fake/fake_operatorconfiguration.go @@ -25,7 +25,7 @@ SOFTWARE. package fake import ( - acidzalandov1 "github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do/v1" + acidzalandov1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" schema "k8s.io/apimachinery/pkg/runtime/schema" testing "k8s.io/client-go/testing" diff --git a/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1/fake/fake_postgresql.go b/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1/fake/fake_postgresql.go index 6cc46d47c815ce6273bb8fbe39467bc18bf931ea..d71c0f076d8fa503cdbe15d6b581c331d8f6dd6f 100644 --- a/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1/fake/fake_postgresql.go +++ b/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1/fake/fake_postgresql.go @@ -25,7 +25,7 @@ SOFTWARE. package fake import ( - acidzalandov1 "github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do/v1" + acidzalandov1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1" 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/generated/clientset/versioned/typed/acid.zalan.do/v1/operatorconfiguration.go b/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1/operatorconfiguration.go index 873ecf0b41d9920773218c103b941612d7ca71d6..43a915ca3f8285f04e0eb8008fc49d7a9a0b730d 100644 --- a/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1/operatorconfiguration.go +++ b/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1/operatorconfiguration.go @@ -25,8 +25,8 @@ SOFTWARE. package v1 import ( - acidzalandov1 "github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do/v1" - scheme "github.com/zalando-incubator/postgres-operator/pkg/generated/clientset/versioned/scheme" + acidzalandov1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1" + scheme "github.com/zalando/postgres-operator/pkg/generated/clientset/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" rest "k8s.io/client-go/rest" ) diff --git a/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1/postgresql.go b/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1/postgresql.go index 4a7acac795e6013343e146fb0f52dd340aacc867..9afad20f5dc20f2179c9e431b992fc6011123d26 100644 --- a/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1/postgresql.go +++ b/pkg/generated/clientset/versioned/typed/acid.zalan.do/v1/postgresql.go @@ -25,8 +25,8 @@ SOFTWARE. package v1 import ( - v1 "github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do/v1" - scheme "github.com/zalando-incubator/postgres-operator/pkg/generated/clientset/versioned/scheme" + v1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1" + scheme "github.com/zalando/postgres-operator/pkg/generated/clientset/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/generated/informers/externalversions/acid.zalan.do/interface.go b/pkg/generated/informers/externalversions/acid.zalan.do/interface.go index 4407c1cde743cfc6530346b68193aa5003e13346..edf03dce7bee9c0e2e10cf08ee863512a8a73b12 100644 --- a/pkg/generated/informers/externalversions/acid.zalan.do/interface.go +++ b/pkg/generated/informers/externalversions/acid.zalan.do/interface.go @@ -25,8 +25,8 @@ SOFTWARE. package acid import ( - v1 "github.com/zalando-incubator/postgres-operator/pkg/generated/informers/externalversions/acid.zalan.do/v1" - internalinterfaces "github.com/zalando-incubator/postgres-operator/pkg/generated/informers/externalversions/internalinterfaces" + v1 "github.com/zalando/postgres-operator/pkg/generated/informers/externalversions/acid.zalan.do/v1" + internalinterfaces "github.com/zalando/postgres-operator/pkg/generated/informers/externalversions/internalinterfaces" ) // Interface provides access to each of this group's versions. diff --git a/pkg/generated/informers/externalversions/acid.zalan.do/v1/interface.go b/pkg/generated/informers/externalversions/acid.zalan.do/v1/interface.go index e519b971667d80cdcebc3a8cc5430fd6aae4880e..77e7c9b3401fd60b1296a475aca85391eca2e780 100644 --- a/pkg/generated/informers/externalversions/acid.zalan.do/v1/interface.go +++ b/pkg/generated/informers/externalversions/acid.zalan.do/v1/interface.go @@ -25,7 +25,7 @@ SOFTWARE. package v1 import ( - internalinterfaces "github.com/zalando-incubator/postgres-operator/pkg/generated/informers/externalversions/internalinterfaces" + internalinterfaces "github.com/zalando/postgres-operator/pkg/generated/informers/externalversions/internalinterfaces" ) // Interface provides access to all the informers in this group version. diff --git a/pkg/generated/informers/externalversions/acid.zalan.do/v1/postgresql.go b/pkg/generated/informers/externalversions/acid.zalan.do/v1/postgresql.go index f44fccbc2e5acf806cd935c1742d3fa065872be6..16a055f505bae58ebb2b49ce5093f92e8d281b5d 100644 --- a/pkg/generated/informers/externalversions/acid.zalan.do/v1/postgresql.go +++ b/pkg/generated/informers/externalversions/acid.zalan.do/v1/postgresql.go @@ -27,10 +27,10 @@ package v1 import ( time "time" - acidzalandov1 "github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do/v1" - versioned "github.com/zalando-incubator/postgres-operator/pkg/generated/clientset/versioned" - internalinterfaces "github.com/zalando-incubator/postgres-operator/pkg/generated/informers/externalversions/internalinterfaces" - v1 "github.com/zalando-incubator/postgres-operator/pkg/generated/listers/acid.zalan.do/v1" + acidzalandov1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1" + versioned "github.com/zalando/postgres-operator/pkg/generated/clientset/versioned" + internalinterfaces "github.com/zalando/postgres-operator/pkg/generated/informers/externalversions/internalinterfaces" + v1 "github.com/zalando/postgres-operator/pkg/generated/listers/acid.zalan.do/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/generated/informers/externalversions/factory.go b/pkg/generated/informers/externalversions/factory.go index 30dd7b8d01d043ac768ec9bca7dbdea9a3284b1b..c36d22a291e86a16b1d30a994b90383ca312f65b 100644 --- a/pkg/generated/informers/externalversions/factory.go +++ b/pkg/generated/informers/externalversions/factory.go @@ -29,9 +29,9 @@ import ( sync "sync" time "time" - versioned "github.com/zalando-incubator/postgres-operator/pkg/generated/clientset/versioned" - acidzalando "github.com/zalando-incubator/postgres-operator/pkg/generated/informers/externalversions/acid.zalan.do" - internalinterfaces "github.com/zalando-incubator/postgres-operator/pkg/generated/informers/externalversions/internalinterfaces" + versioned "github.com/zalando/postgres-operator/pkg/generated/clientset/versioned" + acidzalando "github.com/zalando/postgres-operator/pkg/generated/informers/externalversions/acid.zalan.do" + internalinterfaces "github.com/zalando/postgres-operator/pkg/generated/informers/externalversions/internalinterfaces" 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/generated/informers/externalversions/generic.go b/pkg/generated/informers/externalversions/generic.go index 3ee0f89b6786c538b7644e9372abf7dc36fa2afb..3af7bb7ecad36be3077cb00a8f02e90ed351fb28 100644 --- a/pkg/generated/informers/externalversions/generic.go +++ b/pkg/generated/informers/externalversions/generic.go @@ -27,7 +27,7 @@ package externalversions import ( "fmt" - v1 "github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do/v1" + v1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1" schema "k8s.io/apimachinery/pkg/runtime/schema" cache "k8s.io/client-go/tools/cache" ) diff --git a/pkg/generated/informers/externalversions/internalinterfaces/factory_interfaces.go b/pkg/generated/informers/externalversions/internalinterfaces/factory_interfaces.go index 37857d2bc777f35e67f68b16f50cb99cc975ae2a..bdd892f35391225efe856c8c383048c17e2e9769 100644 --- a/pkg/generated/informers/externalversions/internalinterfaces/factory_interfaces.go +++ b/pkg/generated/informers/externalversions/internalinterfaces/factory_interfaces.go @@ -27,7 +27,7 @@ package internalinterfaces import ( time "time" - versioned "github.com/zalando-incubator/postgres-operator/pkg/generated/clientset/versioned" + versioned "github.com/zalando/postgres-operator/pkg/generated/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/generated/listers/acid.zalan.do/v1/postgresql.go b/pkg/generated/listers/acid.zalan.do/v1/postgresql.go index a9028987ba2dcb0d9873e4ab4710b7fd37f85158..da41e135859dc9b906c35114b14ea1cfae8d5ee4 100644 --- a/pkg/generated/listers/acid.zalan.do/v1/postgresql.go +++ b/pkg/generated/listers/acid.zalan.do/v1/postgresql.go @@ -25,7 +25,7 @@ SOFTWARE. package v1 import ( - v1 "github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do/v1" + v1 "github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/pkg/util/config/config.go b/pkg/util/config/config.go index a82f4c17d7f8427a0e026a285249a6bb673603a8..54b04d3f7bdfb954a6a09f9047dc48a6991baecf 100644 --- a/pkg/util/config/config.go +++ b/pkg/util/config/config.go @@ -7,7 +7,7 @@ import ( "fmt" - "github.com/zalando-incubator/postgres-operator/pkg/spec" + "github.com/zalando/postgres-operator/pkg/spec" ) // CRD describes CustomResourceDefinition specific configuration parameters diff --git a/pkg/util/k8sutil/k8sutil.go b/pkg/util/k8sutil/k8sutil.go index 9ab5cb876f5a935d61379f2d9d1721327e19e4e9..6f5b15085aacde246d6d3973d84b9f73efec4c08 100644 --- a/pkg/util/k8sutil/k8sutil.go +++ b/pkg/util/k8sutil/k8sutil.go @@ -2,7 +2,7 @@ package k8sutil import ( "fmt" - "github.com/zalando-incubator/postgres-operator/pkg/util/constants" + "github.com/zalando/postgres-operator/pkg/util/constants" "k8s.io/api/core/v1" policybeta1 "k8s.io/api/policy/v1beta1" apiextclient "k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset" @@ -17,7 +17,7 @@ import ( "k8s.io/client-go/tools/clientcmd" "reflect" - acidv1client "github.com/zalando-incubator/postgres-operator/pkg/generated/clientset/versioned" + acidv1client "github.com/zalando/postgres-operator/pkg/generated/clientset/versioned" ) // KubernetesClient describes getters for Kubernetes objects diff --git a/pkg/util/users/users.go b/pkg/util/users/users.go index b436595ef866f35ea395837e30859a9ff6571fff..112f89b43d738c5d3608024208181dc0cf851c3f 100644 --- a/pkg/util/users/users.go +++ b/pkg/util/users/users.go @@ -7,8 +7,8 @@ import ( "reflect" - "github.com/zalando-incubator/postgres-operator/pkg/spec" - "github.com/zalando-incubator/postgres-operator/pkg/util" + "github.com/zalando/postgres-operator/pkg/spec" + "github.com/zalando/postgres-operator/pkg/util" ) const ( diff --git a/pkg/util/util.go b/pkg/util/util.go index 99e670af950cabac7e0b8d6454b703cd1bdd622c..60d8159a9b4bc57e81f576c83ed10f4e9bbe8e41 100644 --- a/pkg/util/util.go +++ b/pkg/util/util.go @@ -13,7 +13,7 @@ import ( resource "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/zalando-incubator/postgres-operator/pkg/spec" + "github.com/zalando/postgres-operator/pkg/spec" ) const ( diff --git a/pkg/util/util_test.go b/pkg/util/util_test.go index 3a02149b4a25b0d27b3aca49bb436511cadd98d8..a34e57e23338c430cff695d54b241de08829ad22 100644 --- a/pkg/util/util_test.go +++ b/pkg/util/util_test.go @@ -8,7 +8,7 @@ import ( "regexp" - "github.com/zalando-incubator/postgres-operator/pkg/spec" + "github.com/zalando/postgres-operator/pkg/spec" ) var pgUsers = []struct { diff --git a/pkg/util/volumes/ebs.go b/pkg/util/volumes/ebs.go index 00801fa9c9c43a45244ae6c66d972f5a91d4f026..666436a06aa54e1ee340b5378f255ceefbe79c06 100644 --- a/pkg/util/volumes/ebs.go +++ b/pkg/util/volumes/ebs.go @@ -9,8 +9,8 @@ import ( "github.com/aws/aws-sdk-go/service/ec2" "k8s.io/api/core/v1" - "github.com/zalando-incubator/postgres-operator/pkg/util/constants" - "github.com/zalando-incubator/postgres-operator/pkg/util/retryutil" + "github.com/zalando/postgres-operator/pkg/util/constants" + "github.com/zalando/postgres-operator/pkg/util/retryutil" ) // EBSVolumeResizer implements volume resizing interface for AWS EBS volumes.