Skip to content

Commit 31e5681

Browse files
FxKusdudoladov
authored andcommitted
reflect change in github url (zalando#496)
Project was moved from the incubator to the Zalando main org, hence the rename
1 parent 26a7fdf commit 31e5681

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+182
-182
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Wanna contribute to the Postgres Operator? Yay - here is how!
55
## Reporting issues
66

77
If you have a question about patroni or have a problem using it, please read the`README` before filing an issue.
8-
Also double check with the current issues on our [Issues Tracker](https://github.com/zalando-incubator/postgres-operator/issues).
8+
Also double check with the current issues on our [Issues Tracker](https://github.com/zalando/postgres-operator/issues).
99

1010
## Contributing a pull request
1111

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Postgres Operator
22

3-
[![Build Status](https://travis-ci.org/zalando-incubator/postgres-operator.svg?branch=master)](https://travis-ci.org/zalando-incubator/postgres-operator)
4-
[![Coverage Status](https://coveralls.io/repos/github/zalando-incubator/postgres-operator/badge.svg)](https://coveralls.io/github/zalando-incubator/postgres-operator)
5-
[![Go Report Card](https://goreportcard.com/badge/github.com/zalando-incubator/postgres-operator)](https://goreportcard.com/report/github.com/zalando-incubator/postgres-operator)
6-
[![GoDoc](https://godoc.org/github.com/zalando-incubator/postgres-operator?status.svg)](https://godoc.org/github.com/zalando-incubator/postgres-operator)
7-
[![golangci](https://golangci.com/badges/github.com/zalando-incubator/postgres-operator.svg)](https://golangci.com/r/github.com/zalando-incubator/postgres-operator)
3+
[![Build Status](https://travis-ci.org/zalando/postgres-operator.svg?branch=master)](https://travis-ci.org/zalando/postgres-operator)
4+
[![Coverage Status](https://coveralls.io/repos/github/zalando/postgres-operator/badge.svg)](https://coveralls.io/github/zalando/postgres-operator)
5+
[![Go Report Card](https://goreportcard.com/badge/github.com/zalando/postgres-operator)](https://goreportcard.com/report/github.com/zalando/postgres-operator)
6+
[![GoDoc](https://godoc.org/github.com/zalando/postgres-operator?status.svg)](https://godoc.org/github.com/zalando/postgres-operator)
7+
[![golangci](https://golangci.com/badges/github.com/zalando/postgres-operator.svg)](https://golangci.com/r/github.com/zalando/postgres-operator)
88

99
<img src="docs/diagrams/logo.png" width="200">
1010

@@ -64,7 +64,7 @@ the rest of the document is a tutorial to get you up and running with the operat
6464
## Community
6565

6666
There are two places to get in touch with the community:
67-
1. The [GitHub issue tracker](https://github.com/zalando-incubator/postgres-operator/issues)
67+
1. The [GitHub issue tracker](https://github.com/zalando/postgres-operator/issues)
6868
2. The #postgres-operator slack channel under [Postgres Slack](https://postgres-slack.herokuapp.com)
6969

7070
## Quickstart
@@ -82,7 +82,7 @@ built-in Kubernetes support.
8282
### Local execution
8383

8484
```bash
85-
git clone https://github.com/zalando-incubator/postgres-operator.git
85+
git clone https://github.com/zalando/postgres-operator.git
8686
cd postgres-operator
8787

8888
minikube start

build-ci.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
set -e -x
33

4-
team_repo="$GOPATH/src/github.com/zalando-incubator/"
4+
team_repo="$GOPATH/src/github.com/zalando/"
55
project_dir="$team_repo/postgres-operator"
66

77
mkdir -p "$team_repo"

cmd/main.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import (
99
"syscall"
1010
"time"
1111

12-
"github.com/zalando-incubator/postgres-operator/pkg/controller"
13-
"github.com/zalando-incubator/postgres-operator/pkg/spec"
14-
"github.com/zalando-incubator/postgres-operator/pkg/util/k8sutil"
12+
"github.com/zalando/postgres-operator/pkg/controller"
13+
"github.com/zalando/postgres-operator/pkg/spec"
14+
"github.com/zalando/postgres-operator/pkg/util/k8sutil"
1515
)
1616

1717
var (

delivery.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pipeline:
44
type: script
55
env:
66
GOPATH: /root/go
7-
OPERATOR_TOP_DIR: /root/go/src/github.com/zalando-incubator
7+
OPERATOR_TOP_DIR: /root/go/src/github.com/zalando
88
commands:
99
- desc: 'Update'
1010
cmd: |

docs/developer.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,14 @@ would create a directory for the GOPATH (i.e. ~/go) and place the source code
9393
under the ~/go/src subdirectories.
9494

9595
Given the schema above, the postgres operator source code located at
96-
`github.com/zalando-incubator/postgres-operator` should be put at
97-
-`~/go/src/github.com/zalando-incubator/postgres-operator`.
96+
`github.com/zalando/postgres-operator` should be put at
97+
-`~/go/src/github.com/zalando/postgres-operator`.
9898

9999
```bash
100100
$ export GOPATH=~/go
101-
$ mkdir -p ${GOPATH}/src/github.com/zalando-incubator/
102-
$ cd ${GOPATH}/src/github.com/zalando-incubator/
103-
$ git clone https://github.com/zalando-incubator/postgres-operator.git
101+
$ mkdir -p ${GOPATH}/src/github.com/zalando/
102+
$ cd ${GOPATH}/src/github.com/zalando/
103+
$ git clone https://github.com/zalando/postgres-operator.git
104104
```
105105

106106
## Building the operator
@@ -157,7 +157,7 @@ The operator employs k8s-provided code generation to obtain deep copy methods an
157157
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)`
158158

159159
References for code generation are:
160-
* [Relevant pull request](https://github.com/zalando-incubator/postgres-operator/pull/369)
160+
* [Relevant pull request](https://github.com/zalando/postgres-operator/pull/369)
161161
See comments there for minor issues that can sometimes broke the generation process.
162162
* [Code generator source code](https://github.com/kubernetes/code-generator)
163163
* [Code Generation for CustomResources](https://blog.openshift.com/kubernetes-deep-dive-code-generation-customresources/) - intro post on the topic

docs/gsoc-2019/ideas.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
1. Please carefully read the official [Google Summer of Code Student Guide](https://google.github.io/gsocguides/student/)
77
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.
88
3. Select a project from the list of ideas below or propose your own.
9-
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.
9+
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.
1010
5. Submit proposal and the proof of enrollment before April 9 2019 18:00 UTC through the web site of the Program.
1111

1212
## Project ideas
@@ -34,7 +34,7 @@ It will be helpful to reject erroneous manifests before they reach the operator
3434
* **Recommended skills**: golang, JSON schema
3535
* **Difficulty**: medium
3636
* **Mentor(s)**: Sergey Dudoladov [@sdudoladov](https://github.com/sdudoladov)
37-
* **Issue**: [#388](https://github.com/zalando-incubator/postgres-operator/issues/388)
37+
* **Issue**: [#388](https://github.com/zalando/postgres-operator/issues/388)
3838

3939
### Design a solution for the local testing of the operator
4040

@@ -45,7 +45,7 @@ A promising option is the Kubernetes own [kind](https://github.com/kubernetes-si
4545
* **Recommended skills**: Docker, shell scripting, basic Kubernetes abstractions
4646
* **Difficulty**: medium to hard depending on the selected desing
4747
* **Mentor(s)**: Dmitry Dolgov [@erthalion](https://github.com/erthalion), Sergey Dudoladov [@sdudoladov](https://github.com/sdudoladov)
48-
* **Issue**: [#475](https://github.com/zalando-incubator/postgres-operator/issues/475)
48+
* **Issue**: [#475](https://github.com/zalando/postgres-operator/issues/475)
4949

5050
### Detach a Postgres cluster from the operator for maintenance
5151

@@ -54,11 +54,11 @@ A promising option is the Kubernetes own [kind](https://github.com/kubernetes-si
5454
* **Recommended skills**: golang, architecture of a Kubernetes operator
5555
* **Difficulty**: hard - requires significant modification of the operator's internals and careful consideration of the corner cases.
5656
* **Mentor(s)**: Dmitry Dolgov [@erthalion](https://github.com/erthalion), Sergey Dudoladov [@sdudoladov](https://github.com/sdudoladov)
57-
* **Issue**: [#421](https://github.com/zalando-incubator/postgres-operator/issues/421)
57+
* **Issue**: [#421](https://github.com/zalando/postgres-operator/issues/421)
5858

5959
### Propose your own idea
6060

6161
Feel free to come up with your own ideas. For inspiration,
62-
see [our bug tracker](https://github.com/zalando-incubator/postgres-operator/issues),
62+
see [our bug tracker](https://github.com/zalando/postgres-operator/issues),
6363
the [official `CustomResouceDefinition` docs](https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/)
6464
and [other operators](https://github.com/operator-framework/awesome-operators).

docs/index.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ manages PostgreSQL clusters on Kubernetes:
88
user submits a new manifest, the operator fetches that manifest and spawns a
99
new Postgres cluster along with all necessary entities such as Kubernetes
1010
StatefulSets and Postgres roles. See this
11-
[Postgres cluster manifest](https://github.com/zalando-incubator/postgres-operator/blob/master/manifests/complete-postgres-manifest.yaml)
11+
[Postgres cluster manifest](https://github.com/zalando/postgres-operator/blob/master/manifests/complete-postgres-manifest.yaml)
1212
for settings that a manifest may contain.
1313

14-
2. The operator also watches updates to [its own configuration](https://github.com/zalando-incubator/postgres-operator/blob/master/manifests/configmap.yaml)
14+
2. The operator also watches updates to [its own configuration](https://github.com/zalando/postgres-operator/blob/master/manifests/configmap.yaml)
1515
and alters running Postgres clusters if necessary. For instance, if a pod
1616
docker image is changed, the operator carries out the rolling update. That
1717
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
4747
manifests via our CI/CD infrastructure or rely on a slim user interface to
4848
create manifests.
4949

50-
Please, report any issues discovered to https://github.com/zalando-incubator/postgres-operator/issues.
50+
Please, report any issues discovered to https://github.com/zalando/postgres-operator/issues.
5151

5252
## Talks
5353

docs/quickstart.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ built-in Kubernetes support.
1313
## Local execution
1414

1515
```bash
16-
git clone https://github.com/zalando-incubator/postgres-operator.git
16+
git clone https://github.com/zalando/postgres-operator.git
1717
cd postgres-operator
1818

1919
minikube start

docs/reference/cluster_manifest.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Individual postgres clusters are described by the Kubernetes *cluster manifest*
33
that has the structure defined by the `postgres CRD` (custom resource
44
definition). The following section describes the structure of the manifest and
55
the purpose of individual keys. You can take a look at the examples of the
6-
[minimal](https://github.com/zalando-incubator/postgres-operator/blob/master/manifests/minimal-postgres-manifest.yaml)
6+
[minimal](https://github.com/zalando/postgres-operator/blob/master/manifests/minimal-postgres-manifest.yaml)
77
and the
8-
[complete](https://github.com/zalando-incubator/postgres-operator/blob/master/manifests/complete-postgres-manifest.yaml)
8+
[complete](https://github.com/zalando/postgres-operator/blob/master/manifests/complete-postgres-manifest.yaml)
99
cluster manifests.
1010

1111
When Kubernetes resources, such as memory, CPU or volumes, are configured,

docs/reference/operator_parameters.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ configuration.
88
maps. String values containing ':' should be enclosed in quotes. The
99
configuration is flat, parameter group names below are not reflected in the
1010
configuration structure. There is an
11-
[example](https://github.com/zalando-incubator/postgres-operator/blob/master/manifests/configmap.yaml)
11+
[example](https://github.com/zalando/postgres-operator/blob/master/manifests/configmap.yaml)
1212

1313
* CRD-based configuration. The configuration is stored in a custom YAML
1414
manifest. The manifest is an instance of the custom resource definition (CRD) called
1515
`OperatorConfiguration`. The operator registers this CRD
16-
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
16+
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
1717
`postgresql-operator-configuration` object in the operator's namespace.
1818

1919
The CRD-based configuration is a regular YAML
2020
document; non-scalar keys are simply represented in the usual YAML way.
2121
There are no default values built-in in the operator, each parameter that is
2222
not supplied in the configuration receives an empty value. In order to
2323
create your own configuration just copy the [default
24-
one](https://github.com/zalando-incubator/postgres-operator/blob/master/manifests/postgresql-operator-default-configuration.yaml)
24+
one](https://github.com/zalando/postgres-operator/blob/master/manifests/postgresql-operator-default-configuration.yaml)
2525
and change it.
2626

2727
To test the CRD-based configuration locally, use the following
@@ -245,7 +245,7 @@ CRD-based configuration.
245245
settings. The default is `1Gi`.
246246

247247
* **set_memory_request_to_limit**
248-
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`.
248+
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`.
249249

250250
* **enable_shm_volume**
251251
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
464464
Memory limit value for the Scalyr sidecar. The default is `1Gi`.
465465

466466

467-
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)
467+
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)

docs/user.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Create a manifest for a new PostgreSQL cluster
22

33
As an example you can take this
4-
[minimal example](https://github.com/zalando-incubator/postgres-operator/blob/master/manifests/minimal-postgres-manifest.yaml):
4+
[minimal example](https://github.com/zalando/postgres-operator/blob/master/manifests/minimal-postgres-manifest.yaml):
55

66
```yaml
77
apiVersion: "acid.zalan.do/v1"
@@ -68,7 +68,7 @@ In the next sections, we will cover those use cases in more details.
6868
## Manifest roles
6969

7070
Manifest roles are defined directly in the cluster manifest. See
71-
[minimal postgres manifest](https://github.com/zalando-incubator/postgres-operator/blob/master/manifests/minimal-postgres-manifest.yaml)
71+
[minimal postgres manifest](https://github.com/zalando/postgres-operator/blob/master/manifests/minimal-postgres-manifest.yaml)
7272
for an example of `zalando` role, defined with `superuser` and `createdb`
7373
flags.
7474

@@ -158,8 +158,8 @@ Since an infrastructure role is created uniformly on all clusters managed by
158158
the operator, it makes no sense to define it without the password. Such
159159
definitions will be ignored with a prior warning.
160160

161-
See [infrastructure roles secret](https://github.com/zalando-incubator/postgres-operator/blob/master/manifests/infrastructure-roles.yaml)
162-
and [infrastructure roles configmap](https://github.com/zalando-incubator/postgres-operator/blob/master/manifests/infrastructure-roles-configmap.yaml) for the examples.
161+
See [infrastructure roles secret](https://github.com/zalando/postgres-operator/blob/master/manifests/infrastructure-roles.yaml)
162+
and [infrastructure roles configmap](https://github.com/zalando/postgres-operator/blob/master/manifests/infrastructure-roles-configmap.yaml) for the examples.
163163

164164
## Use taints and tolerations for dedicated PostgreSQL nodes
165165

glide.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package: github.com/zalando-incubator/postgres-operator
1+
package: github.com/zalando/postgres-operator
22
import:
33
- package: github.com/sirupsen/logrus
44
version: ^1.0.1

hack/update-codegen.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ SCRIPT_ROOT=$(dirname ${BASH_SOURCE})/..
88
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)}
99

1010
vendor/k8s.io/code-generator/generate-groups.sh all \
11-
github.com/zalando-incubator/postgres-operator/pkg/generated github.com/zalando-incubator/postgres-operator/pkg/apis \
11+
github.com/zalando/postgres-operator/pkg/generated github.com/zalando/postgres-operator/pkg/apis \
1212
acid.zalan.do:v1 \
1313
--go-header-file ${SCRIPT_ROOT}/hack/custom-boilerplate.go.txt

mkdocs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
site_name: Postgres Operator
2-
repo_url: https://github.com/zalando-incubator/postgres-operator
2+
repo_url: https://github.com/zalando/postgres-operator
33
theme: readthedocs
44

55
pages:

pkg/apis/acid.zalan.do/v1/crds.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package v1
22

33
import (
4-
"github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do"
4+
"github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do"
55
apiextv1beta1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1"
66
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
77
)

pkg/apis/acid.zalan.do/v1/operator_configuration_type.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
package v1
22

33
import (
4-
"github.com/zalando-incubator/postgres-operator/pkg/util/config"
4+
"github.com/zalando/postgres-operator/pkg/util/config"
55

66
"time"
77

8-
"github.com/zalando-incubator/postgres-operator/pkg/spec"
8+
"github.com/zalando/postgres-operator/pkg/spec"
99
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1010
)
1111

pkg/apis/acid.zalan.do/v1/register.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"k8s.io/apimachinery/pkg/runtime"
66
"k8s.io/apimachinery/pkg/runtime/schema"
77

8-
"github.com/zalando-incubator/postgres-operator/pkg/apis/acid.zalan.do"
8+
"github.com/zalando/postgres-operator/pkg/apis/acid.zalan.do"
99
)
1010

1111
// APIVersion of the `postgresql` and `operator` CRDs

0 commit comments

Comments
 (0)