Skip to content

Commit cde88d3

Browse files
authored
bump to v1.8.0 (#1852)
* bump to v1.8.0 * fix helm instructions for ui * update UI version package.json * update ui chart
1 parent cde448d commit cde88d3

28 files changed

+112
-102
lines changed

.github/ISSUE_TEMPLATE/postgres-operator-issue-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ assignees: ''
99

1010
Please, answer some short questions which should help us to understand your problem / question better?
1111

12-
- **Which image of the operator are you using?** e.g. registry.opensource.zalan.do/acid/postgres-operator:v1.7.1
12+
- **Which image of the operator are you using?** e.g. registry.opensource.zalan.do/acid/postgres-operator:v1.8.0
1313
- **Where do you run it - cloud or metal? Kubernetes or OpenShift?** [AWS K8s | GCP ... | Bare Metal K8s]
1414
- **Are you running Postgres Operator in production?** [yes | no]
1515
- **Type of issue?** [Bug report, question, feature request, etc.]

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ pipelines with no access to Kubernetes API directly, promoting infrastructure as
1717
* Live volume resize without pod restarts (AWS EBS, PVC)
1818
* Database connection pooling with PGBouncer
1919
* Support fast in place major version upgrade to PG13. Supports global upgrade of all clusters.
20-
* Restore and cloning Postgres clusters (incl. major version upgrade)
21-
* Additionally logical backups to S3 bucket can be configured
22-
* Standby cluster from S3 WAL archive
20+
* Restore and cloning Postgres clusters on AWS, GCS and Azure
21+
* Additionally logical backups to S3 or GCS bucket can be configured
22+
* Standby cluster from S3 or GCS WAL archive
2323
* Configurable for non-cloud environments
2424
* Basic credential and user management on K8s, eases application deployments
2525
* Support for custom TLS certificates
2626
* UI to create and edit Postgres cluster manifests
27-
* Works well on Amazon AWS, Google Cloud, OpenShift and locally on Kind
2827
* Support for AWS EBS gp2 to gp3 migration, supporting iops and throughput configuration
28+
* Compatible with OpenShift
2929

3030
### PostgreSQL features
3131

@@ -61,7 +61,7 @@ We introduce the major version into the backup path to smoothen the [major versi
6161
The new operator configuration can set a compatibility flag *enable_spilo_wal_path_compat* to make Spilo look for wal segments in the current path but also old format paths.
6262
This comes at potential performance costs and should be disabled after a few days.
6363

64-
The newest Spilo image is: `registry.opensource.zalan.do/acid/spilo-14:2.1-p4`
64+
The newest Spilo image is: `registry.opensource.zalan.do/acid/spilo-14:2.1-p5`
6565

6666
The last Spilo 12 image is: `registry.opensource.zalan.do/acid/spilo-12:1.6-p5`
6767

charts/postgres-operator-ui/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v1
22
name: postgres-operator-ui
3-
version: 1.7.1
4-
appVersion: 1.7.1
3+
version: 1.8.0
4+
appVersion: 1.8.0
55
home: https://github.com/zalando/postgres-operator
66
description: Postgres Operator UI provides a graphical interface for a convenient database-as-a-service user experience
77
keywords:

charts/postgres-operator-ui/index.yaml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,32 @@
11
apiVersion: v1
22
entries:
33
postgres-operator-ui:
4+
- apiVersion: v1
5+
appVersion: 1.8.0
6+
created: "2022-04-20T15:39:16.094386569+02:00"
7+
description: Postgres Operator UI provides a graphical interface for a convenient
8+
database-as-a-service user experience
9+
digest: d4a7b40c23fd167841cc28342afdbd5ecc809181913a5c31061c83139187f148
10+
home: https://github.com/zalando/postgres-operator
11+
keywords:
12+
- postgres
13+
- operator
14+
- ui
15+
- cloud-native
16+
- patroni
17+
- spilo
18+
maintainers:
19+
- email: opensource@zalando.de
20+
name: Zalando
21+
name: postgres-operator-ui
22+
sources:
23+
- https://github.com/zalando/postgres-operator
24+
urls:
25+
- postgres-operator-ui-1.8.0.tgz
26+
version: 1.8.0
427
- apiVersion: v1
528
appVersion: 1.7.1
6-
created: "2021-11-03T11:44:00.75040818+01:00"
29+
created: "2022-04-20T15:39:16.093853803+02:00"
730
description: Postgres Operator UI provides a graphical interface for a convenient
831
database-as-a-service user experience
932
digest: 97aed1a1d37cd5f8441eea9522f38e56cc829786ad2134c437a5e6a15c995869
@@ -26,7 +49,7 @@ entries:
2649
version: 1.7.1
2750
- apiVersion: v1
2851
appVersion: 1.7.0
29-
created: "2021-11-03T11:44:00.748544296+01:00"
52+
created: "2022-04-20T15:39:16.093334397+02:00"
3053
description: Postgres Operator UI provides a graphical interface for a convenient
3154
database-as-a-service user experience
3255
digest: 37fba1968347daad393dbd1c6ee6e5b6a24d1095f972c0102197531c62dcada8
@@ -49,7 +72,7 @@ entries:
4972
version: 1.7.0
5073
- apiVersion: v1
5174
appVersion: 1.6.3
52-
created: "2021-11-03T11:44:00.745261041+01:00"
75+
created: "2022-04-20T15:39:16.092419178+02:00"
5376
description: Postgres Operator UI provides a graphical interface for a convenient
5477
database-as-a-service user experience
5578
digest: 08b810aa632dcc719e4785ef184e391267f7c460caa99677f2d00719075aac78
@@ -72,7 +95,7 @@ entries:
7295
version: 1.6.3
7396
- apiVersion: v1
7497
appVersion: 1.6.2
75-
created: "2021-11-03T11:44:00.743617168+01:00"
98+
created: "2022-04-20T15:39:16.091945123+02:00"
7699
description: Postgres Operator UI provides a graphical interface for a convenient
77100
database-as-a-service user experience
78101
digest: 14d1559bb0bd1e1e828f2daaaa6f6ac9ffc268d79824592c3589b55dd39241f6
@@ -95,7 +118,7 @@ entries:
95118
version: 1.6.2
96119
- apiVersion: v1
97120
appVersion: 1.6.1
98-
created: "2021-11-03T11:44:00.741913772+01:00"
121+
created: "2022-04-20T15:39:16.0914401+02:00"
99122
description: Postgres Operator UI provides a graphical interface for a convenient
100123
database-as-a-service user experience
101124
digest: 3d321352f2f1e7bb7450aa8876e3d818aa9f9da9bd4250507386f0490f2c1969
@@ -118,7 +141,7 @@ entries:
118141
version: 1.6.1
119142
- apiVersion: v1
120143
appVersion: 1.6.0
121-
created: "2021-11-03T11:44:00.740290409+01:00"
144+
created: "2022-04-20T15:39:16.090887513+02:00"
122145
description: Postgres Operator UI provides a graphical interface for a convenient
123146
database-as-a-service user experience
124147
digest: 1e0aa1e7db3c1daa96927ffbf6fdbcdb434562f961833cb5241ddbe132220ee4
@@ -139,27 +162,4 @@ entries:
139162
urls:
140163
- postgres-operator-ui-1.6.0.tgz
141164
version: 1.6.0
142-
- apiVersion: v1
143-
appVersion: 1.5.0
144-
created: "2021-11-03T11:44:00.738607341+01:00"
145-
description: Postgres Operator UI provides a graphical interface for a convenient
146-
database-as-a-service user experience
147-
digest: c91ea39e6d51d57f4048fb1b6ec53b40823f2690eb88e4e4f1a036367b9fdd61
148-
home: https://github.com/zalando/postgres-operator
149-
keywords:
150-
- postgres
151-
- operator
152-
- ui
153-
- cloud-native
154-
- patroni
155-
- spilo
156-
maintainers:
157-
- email: opensource@zalando.de
158-
name: Zalando
159-
name: postgres-operator-ui
160-
sources:
161-
- https://github.com/zalando/postgres-operator
162-
urls:
163-
- postgres-operator-ui-1.5.0.tgz
164-
version: 1.5.0
165-
generated: "2021-11-03T11:44:00.736383918+01:00"
165+
generated: "2022-04-20T15:39:16.0877032+02:00"
Binary file not shown.
Binary file not shown.

charts/postgres-operator-ui/templates/deployment.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ spec:
7070
"replica_load_balancer_visible": true,
7171
"resources_visible": true,
7272
"users_visible": true,
73+
"cost_ebs": 0.0952,
74+
"cost_iops": 0.006,
75+
"cost_throughput": 0.0476,
76+
"cost_core": 0.0575,
77+
"cost_memory": 0.014375,
7378
"postgresql_versions": [
7479
"14",
7580
"13",

charts/postgres-operator-ui/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ replicaCount: 1
88
image:
99
registry: registry.opensource.zalan.do
1010
repository: acid/postgres-operator-ui
11-
tag: v1.7.1
11+
tag: v1.8.0
1212
pullPolicy: "IfNotPresent"
1313

1414
# Optionally specify an array of imagePullSecrets.

charts/postgres-operator/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v1
22
name: postgres-operator
3-
version: 1.7.1
4-
appVersion: 1.7.1
3+
version: 1.8.0
4+
appVersion: 1.8.0
55
home: https://github.com/zalando/postgres-operator
66
description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes
77
keywords:

charts/postgres-operator/crds/operatorconfigurations.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ spec:
6868
type: string
6969
docker_image:
7070
type: string
71-
default: "registry.opensource.zalan.do/acid/spilo-14:2.1-p4"
71+
default: "registry.opensource.zalan.do/acid/spilo-14:2.1-p5"
7272
enable_crd_registration:
7373
type: boolean
7474
default: true
@@ -450,7 +450,7 @@ spec:
450450
properties:
451451
logical_backup_docker_image:
452452
type: string
453-
default: "registry.opensource.zalan.do/acid/logical-backup:v1.7.1"
453+
default: "registry.opensource.zalan.do/acid/logical-backup:v1.8.0"
454454
logical_backup_google_application_credentials:
455455
type: string
456456
logical_backup_job_prefix:

charts/postgres-operator/index.yaml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,31 @@
11
apiVersion: v1
22
entries:
33
postgres-operator:
4+
- apiVersion: v1
5+
appVersion: 1.8.0
6+
created: "2022-04-14T15:02:07.818613578+02:00"
7+
description: Postgres Operator creates and manages PostgreSQL clusters running
8+
in Kubernetes
9+
digest: 3ae232cf009e09aa2ad11c171484cd2f1b72e63c59735e58fbe2b6eb842f4c86
10+
home: https://github.com/zalando/postgres-operator
11+
keywords:
12+
- postgres
13+
- operator
14+
- cloud-native
15+
- patroni
16+
- spilo
17+
maintainers:
18+
- email: opensource@zalando.de
19+
name: Zalando
20+
name: postgres-operator
21+
sources:
22+
- https://github.com/zalando/postgres-operator
23+
urls:
24+
- postgres-operator-1.8.0.tgz
25+
version: 1.8.0
426
- apiVersion: v1
527
appVersion: 1.7.1
6-
created: "2021-11-03T11:43:09.121092027+01:00"
28+
created: "2022-04-14T15:02:07.817076674+02:00"
729
description: Postgres Operator creates and manages PostgreSQL clusters running
830
in Kubernetes
931
digest: 7262563bec0b058e669ae6bcff0226e33fa9ece9c41ac46a53274046afe7700c
@@ -25,7 +47,7 @@ entries:
2547
version: 1.7.1
2648
- apiVersion: v1
2749
appVersion: 1.7.0
28-
created: "2021-11-03T11:43:09.119630978+01:00"
50+
created: "2022-04-14T15:02:07.815161671+02:00"
2951
description: Postgres Operator creates and manages PostgreSQL clusters running
3052
in Kubernetes
3153
digest: c3e99fb94305f81484b8b1af18eefb78681f3b5d057d5ad10565e4afb7c65ffe
@@ -47,7 +69,7 @@ entries:
4769
version: 1.7.0
4870
- apiVersion: v1
4971
appVersion: 1.6.3
50-
created: "2021-11-03T11:43:09.118146221+01:00"
72+
created: "2022-04-14T15:02:07.813087244+02:00"
5173
description: Postgres Operator creates and manages PostgreSQL clusters running
5274
in Kubernetes
5375
digest: ea08f991bf23c9ad114bca98ebcbe3e2fa15beab163061399394905eaee89b35
@@ -69,7 +91,7 @@ entries:
6991
version: 1.6.3
7092
- apiVersion: v1
7193
appVersion: 1.6.2
72-
created: "2021-11-03T11:43:09.115637274+01:00"
94+
created: "2022-04-14T15:02:07.8114121+02:00"
7395
description: Postgres Operator creates and manages PostgreSQL clusters running
7496
in Kubernetes
7597
digest: d886f8a0879ca07d1e5246ee7bc55710e1c872f3977280fe495db6fc2057a7f4
@@ -91,7 +113,7 @@ entries:
91113
version: 1.6.2
92114
- apiVersion: v1
93115
appVersion: 1.6.1
94-
created: "2021-11-03T11:43:09.114107417+01:00"
116+
created: "2022-04-14T15:02:07.809829808+02:00"
95117
description: Postgres Operator creates and manages PostgreSQL clusters running
96118
in Kubernetes
97119
digest: 4ba5972cd486dcaa2d11c5613a6f97f6b7b831822e610fe9e10a57ea1db23556
@@ -113,7 +135,7 @@ entries:
113135
version: 1.6.1
114136
- apiVersion: v1
115137
appVersion: 1.6.0
116-
created: "2021-11-03T11:43:09.112550808+01:00"
138+
created: "2022-04-14T15:02:07.808307624+02:00"
117139
description: Postgres Operator creates and manages PostgreSQL clusters running
118140
in Kubernetes
119141
digest: f52149718ea364f46b4b9eec9a65f6253ad182bb78df541d14cd5277b9c8a8c3
@@ -133,26 +155,4 @@ entries:
133155
urls:
134156
- postgres-operator-1.6.0.tgz
135157
version: 1.6.0
136-
- apiVersion: v1
137-
appVersion: 1.5.0
138-
created: "2021-11-03T11:43:09.110907395+01:00"
139-
description: Postgres Operator creates and manages PostgreSQL clusters running
140-
in Kubernetes
141-
digest: 198351d5db52e65cdf383d6f3e1745d91ac1e2a01121f8476f8b1be728b09531
142-
home: https://github.com/zalando/postgres-operator
143-
keywords:
144-
- postgres
145-
- operator
146-
- cloud-native
147-
- patroni
148-
- spilo
149-
maintainers:
150-
- email: opensource@zalando.de
151-
name: Zalando
152-
name: postgres-operator
153-
sources:
154-
- https://github.com/zalando/postgres-operator
155-
urls:
156-
- postgres-operator-1.5.0.tgz
157-
version: 1.5.0
158-
generated: "2021-11-03T11:43:09.109237601+01:00"
158+
generated: "2022-04-14T15:02:07.806370532+02:00"
Binary file not shown.
Binary file not shown.

charts/postgres-operator/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
image:
22
registry: registry.opensource.zalan.do
33
repository: acid/postgres-operator
4-
tag: v1.7.1
4+
tag: v1.8.0
55
pullPolicy: "IfNotPresent"
66

77
# Optionally specify an array of imagePullSecrets.
@@ -38,7 +38,7 @@ configGeneral:
3838
# Select if setup uses endpoints (default), or configmaps to manage leader (DCS=k8s)
3939
# kubernetes_use_configmaps: false
4040
# Spilo docker image
41-
docker_image: registry.opensource.zalan.do/acid/spilo-14:2.1-p4
41+
docker_image: registry.opensource.zalan.do/acid/spilo-14:2.1-p5
4242
# min number of instances in Postgres cluster. -1 = no limit
4343
min_instances: -1
4444
# max number of instances in Postgres cluster. -1 = no limit
@@ -313,7 +313,7 @@ configAwsOrGcp:
313313
# configure K8s cron job managed by the operator
314314
configLogicalBackup:
315315
# image for pods of the logical backup job (example runs pg_dumpall)
316-
logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup:v1.7.1"
316+
logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup:v1.8.0"
317317
# path of google cloud service account json file
318318
# logical_backup_google_application_credentials: ""
319319

docs/administrator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1286,7 +1286,7 @@ make docker
12861286
12871287
# build in image in minikube docker env
12881288
eval $(minikube docker-env)
1289-
docker build -t registry.opensource.zalan.do/acid/postgres-operator-ui:v1.7.1 .
1289+
docker build -t registry.opensource.zalan.do/acid/postgres-operator-ui:v1.8.0 .
12901290
12911291
# apply UI manifests next to a running Postgres Operator
12921292
kubectl apply -f manifests/

docs/quickstart.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -85,19 +85,24 @@ oc create -f manifests/operator-service-account-rbac-openshift.yaml
8585

8686
### Helm chart
8787

88-
Alternatively, the operator can be installed by using the provided [Helm](https://helm.sh/)
89-
chart which saves you the manual steps. Clone this repo and change directory to
90-
the repo root. With Helm v3 installed you should be able to run:
88+
Alternatively, the operator can be installed by using the provided
89+
[Helm](https://helm.sh/) chart which saves you the manual steps. The charts
90+
for both the Postgres Operator and its UI are hosted via the `gh-pages` branch.
91+
They only work only with Helm v3. Helm v2 support was dropped with v1.8.0.
9192

9293
```bash
93-
helm install postgres-operator ./charts/postgres-operator
94-
```
94+
# add repo for postgres-operator
95+
helm repo add postgres-operator-charts https://opensource.zalando.com/postgres-operator/charts/postgres-operator
96+
97+
# install the postgres-operator
98+
helm install postgres-operator postgres-operator-charts/postgres-operator
9599

96-
The chart works with both Helm 2 and Helm 3. The `crd-install` hook from v2 will
97-
be skipped with warning when using v3. Documentation for installing applications
98-
with Helm 2 can be found in the [v2 docs](https://v2.helm.sh/docs/).
100+
# add repo for postgres-operator-ui
101+
helm repo add postgres-operator-ui-charts https://opensource.zalando.com/postgres-operator/charts/postgres-operator-ui
99102

100-
The chart is also hosted at: https://opensource.zalando.com/postgres-operator/charts/postgres-operator/
103+
# install the postgres-operator-ui
104+
helm install postgres-operator-ui postgres-operator-ui-charts/postgres-operator-ui
105+
```
101106

102107
## Check if Postgres Operator is running
103108

docs/reference/operator_parameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ grouped under the `logical_backup` key.
679679
runs `pg_dumpall` on a replica if possible and uploads compressed results to
680680
an S3 bucket under the key `/spilo/pg_cluster_name/cluster_k8s_uuid/logical_backups`.
681681
The default image is the same image built with the Zalando-internal CI
682-
pipeline. Default: "registry.opensource.zalan.do/acid/logical-backup:v1.7.1"
682+
pipeline. Default: "registry.opensource.zalan.do/acid/logical-backup:v1.8.0"
683683

684684
* **logical_backup_google_application_credentials**
685685
Specifies the path of the google cloud service account json file. Default is empty.

0 commit comments

Comments
 (0)