bump to v1.8.0
This commit is contained in:
parent
eecd13169c
commit
31e623e910
|
|
@ -9,7 +9,7 @@ assignees: ''
|
||||||
|
|
||||||
Please, answer some short questions which should help us to understand your problem / question better?
|
Please, answer some short questions which should help us to understand your problem / question better?
|
||||||
|
|
||||||
- **Which image of the operator are you using?** e.g. registry.opensource.zalan.do/acid/postgres-operator:v1.7.1
|
- **Which image of the operator are you using?** e.g. registry.opensource.zalan.do/acid/postgres-operator:v1.8.0
|
||||||
- **Where do you run it - cloud or metal? Kubernetes or OpenShift?** [AWS K8s | GCP ... | Bare Metal K8s]
|
- **Where do you run it - cloud or metal? Kubernetes or OpenShift?** [AWS K8s | GCP ... | Bare Metal K8s]
|
||||||
- **Are you running Postgres Operator in production?** [yes | no]
|
- **Are you running Postgres Operator in production?** [yes | no]
|
||||||
- **Type of issue?** [Bug report, question, feature request, etc.]
|
- **Type of issue?** [Bug report, question, feature request, etc.]
|
||||||
|
|
|
||||||
10
README.md
10
README.md
|
|
@ -17,15 +17,15 @@ pipelines with no access to Kubernetes API directly, promoting infrastructure as
|
||||||
* Live volume resize without pod restarts (AWS EBS, PVC)
|
* Live volume resize without pod restarts (AWS EBS, PVC)
|
||||||
* Database connection pooling with PGBouncer
|
* Database connection pooling with PGBouncer
|
||||||
* Support fast in place major version upgrade to PG13. Supports global upgrade of all clusters.
|
* Support fast in place major version upgrade to PG13. Supports global upgrade of all clusters.
|
||||||
* Restore and cloning Postgres clusters (incl. major version upgrade)
|
* Restore and cloning Postgres clusters on AWS, GCS and Azure
|
||||||
* Additionally logical backups to S3 bucket can be configured
|
* Additionally logical backups to S3 or GCS bucket can be configured
|
||||||
* Standby cluster from S3 WAL archive
|
* Standby cluster from S3 or GCS WAL archive
|
||||||
* Configurable for non-cloud environments
|
* Configurable for non-cloud environments
|
||||||
* Basic credential and user management on K8s, eases application deployments
|
* Basic credential and user management on K8s, eases application deployments
|
||||||
* Support for custom TLS certificates
|
* Support for custom TLS certificates
|
||||||
* UI to create and edit Postgres cluster manifests
|
* UI to create and edit Postgres cluster manifests
|
||||||
* Works well on Amazon AWS, Google Cloud, OpenShift and locally on Kind
|
|
||||||
* Support for AWS EBS gp2 to gp3 migration, supporting iops and throughput configuration
|
* Support for AWS EBS gp2 to gp3 migration, supporting iops and throughput configuration
|
||||||
|
* Compatible with OpenShift
|
||||||
|
|
||||||
### PostgreSQL features
|
### PostgreSQL features
|
||||||
|
|
||||||
|
|
@ -61,7 +61,7 @@ We introduce the major version into the backup path to smoothen the [major versi
|
||||||
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.
|
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.
|
||||||
This comes at potential performance costs and should be disabled after a few days.
|
This comes at potential performance costs and should be disabled after a few days.
|
||||||
|
|
||||||
The newest Spilo image is: `registry.opensource.zalan.do/acid/spilo-14:2.1-p4`
|
The newest Spilo image is: `registry.opensource.zalan.do/acid/spilo-14:2.1-p5`
|
||||||
|
|
||||||
The last Spilo 12 image is: `registry.opensource.zalan.do/acid/spilo-12:1.6-p5`
|
The last Spilo 12 image is: `registry.opensource.zalan.do/acid/spilo-12:1.6-p5`
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
name: postgres-operator-ui
|
name: postgres-operator-ui
|
||||||
version: 1.7.1
|
version: 1.8.0
|
||||||
appVersion: 1.7.1
|
appVersion: 1.8.0
|
||||||
home: https://github.com/zalando/postgres-operator
|
home: https://github.com/zalando/postgres-operator
|
||||||
description: Postgres Operator UI provides a graphical interface for a convenient database-as-a-service user experience
|
description: Postgres Operator UI provides a graphical interface for a convenient database-as-a-service user experience
|
||||||
keywords:
|
keywords:
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,32 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
entries:
|
entries:
|
||||||
postgres-operator-ui:
|
postgres-operator-ui:
|
||||||
|
- apiVersion: v1
|
||||||
|
appVersion: 1.8.0
|
||||||
|
created: "2022-04-14T15:02:41.631562048+02:00"
|
||||||
|
description: Postgres Operator UI provides a graphical interface for a convenient
|
||||||
|
database-as-a-service user experience
|
||||||
|
digest: 2b606496de40535f5b9cc242a9fe500b5f31b8aa6ae4947dc6ddd16f0ebb6736
|
||||||
|
home: https://github.com/zalando/postgres-operator
|
||||||
|
keywords:
|
||||||
|
- postgres
|
||||||
|
- operator
|
||||||
|
- ui
|
||||||
|
- cloud-native
|
||||||
|
- patroni
|
||||||
|
- spilo
|
||||||
|
maintainers:
|
||||||
|
- email: opensource@zalando.de
|
||||||
|
name: Zalando
|
||||||
|
name: postgres-operator-ui
|
||||||
|
sources:
|
||||||
|
- https://github.com/zalando/postgres-operator
|
||||||
|
urls:
|
||||||
|
- postgres-operator-ui-1.8.0.tgz
|
||||||
|
version: 1.8.0
|
||||||
- apiVersion: v1
|
- apiVersion: v1
|
||||||
appVersion: 1.7.1
|
appVersion: 1.7.1
|
||||||
created: "2021-11-03T11:44:00.75040818+01:00"
|
created: "2022-04-14T15:02:41.63099634+02:00"
|
||||||
description: Postgres Operator UI provides a graphical interface for a convenient
|
description: Postgres Operator UI provides a graphical interface for a convenient
|
||||||
database-as-a-service user experience
|
database-as-a-service user experience
|
||||||
digest: 97aed1a1d37cd5f8441eea9522f38e56cc829786ad2134c437a5e6a15c995869
|
digest: 97aed1a1d37cd5f8441eea9522f38e56cc829786ad2134c437a5e6a15c995869
|
||||||
|
|
@ -26,7 +49,7 @@ entries:
|
||||||
version: 1.7.1
|
version: 1.7.1
|
||||||
- apiVersion: v1
|
- apiVersion: v1
|
||||||
appVersion: 1.7.0
|
appVersion: 1.7.0
|
||||||
created: "2021-11-03T11:44:00.748544296+01:00"
|
created: "2022-04-14T15:02:41.630465104+02:00"
|
||||||
description: Postgres Operator UI provides a graphical interface for a convenient
|
description: Postgres Operator UI provides a graphical interface for a convenient
|
||||||
database-as-a-service user experience
|
database-as-a-service user experience
|
||||||
digest: 37fba1968347daad393dbd1c6ee6e5b6a24d1095f972c0102197531c62dcada8
|
digest: 37fba1968347daad393dbd1c6ee6e5b6a24d1095f972c0102197531c62dcada8
|
||||||
|
|
@ -49,7 +72,7 @@ entries:
|
||||||
version: 1.7.0
|
version: 1.7.0
|
||||||
- apiVersion: v1
|
- apiVersion: v1
|
||||||
appVersion: 1.6.3
|
appVersion: 1.6.3
|
||||||
created: "2021-11-03T11:44:00.745261041+01:00"
|
created: "2022-04-14T15:02:41.629551419+02:00"
|
||||||
description: Postgres Operator UI provides a graphical interface for a convenient
|
description: Postgres Operator UI provides a graphical interface for a convenient
|
||||||
database-as-a-service user experience
|
database-as-a-service user experience
|
||||||
digest: 08b810aa632dcc719e4785ef184e391267f7c460caa99677f2d00719075aac78
|
digest: 08b810aa632dcc719e4785ef184e391267f7c460caa99677f2d00719075aac78
|
||||||
|
|
@ -72,7 +95,7 @@ entries:
|
||||||
version: 1.6.3
|
version: 1.6.3
|
||||||
- apiVersion: v1
|
- apiVersion: v1
|
||||||
appVersion: 1.6.2
|
appVersion: 1.6.2
|
||||||
created: "2021-11-03T11:44:00.743617168+01:00"
|
created: "2022-04-14T15:02:41.629063946+02:00"
|
||||||
description: Postgres Operator UI provides a graphical interface for a convenient
|
description: Postgres Operator UI provides a graphical interface for a convenient
|
||||||
database-as-a-service user experience
|
database-as-a-service user experience
|
||||||
digest: 14d1559bb0bd1e1e828f2daaaa6f6ac9ffc268d79824592c3589b55dd39241f6
|
digest: 14d1559bb0bd1e1e828f2daaaa6f6ac9ffc268d79824592c3589b55dd39241f6
|
||||||
|
|
@ -95,7 +118,7 @@ entries:
|
||||||
version: 1.6.2
|
version: 1.6.2
|
||||||
- apiVersion: v1
|
- apiVersion: v1
|
||||||
appVersion: 1.6.1
|
appVersion: 1.6.1
|
||||||
created: "2021-11-03T11:44:00.741913772+01:00"
|
created: "2022-04-14T15:02:41.628560061+02:00"
|
||||||
description: Postgres Operator UI provides a graphical interface for a convenient
|
description: Postgres Operator UI provides a graphical interface for a convenient
|
||||||
database-as-a-service user experience
|
database-as-a-service user experience
|
||||||
digest: 3d321352f2f1e7bb7450aa8876e3d818aa9f9da9bd4250507386f0490f2c1969
|
digest: 3d321352f2f1e7bb7450aa8876e3d818aa9f9da9bd4250507386f0490f2c1969
|
||||||
|
|
@ -118,7 +141,7 @@ entries:
|
||||||
version: 1.6.1
|
version: 1.6.1
|
||||||
- apiVersion: v1
|
- apiVersion: v1
|
||||||
appVersion: 1.6.0
|
appVersion: 1.6.0
|
||||||
created: "2021-11-03T11:44:00.740290409+01:00"
|
created: "2022-04-14T15:02:41.628053183+02:00"
|
||||||
description: Postgres Operator UI provides a graphical interface for a convenient
|
description: Postgres Operator UI provides a graphical interface for a convenient
|
||||||
database-as-a-service user experience
|
database-as-a-service user experience
|
||||||
digest: 1e0aa1e7db3c1daa96927ffbf6fdbcdb434562f961833cb5241ddbe132220ee4
|
digest: 1e0aa1e7db3c1daa96927ffbf6fdbcdb434562f961833cb5241ddbe132220ee4
|
||||||
|
|
@ -139,27 +162,4 @@ entries:
|
||||||
urls:
|
urls:
|
||||||
- postgres-operator-ui-1.6.0.tgz
|
- postgres-operator-ui-1.6.0.tgz
|
||||||
version: 1.6.0
|
version: 1.6.0
|
||||||
- apiVersion: v1
|
generated: "2022-04-14T15:02:41.627369658+02:00"
|
||||||
appVersion: 1.5.0
|
|
||||||
created: "2021-11-03T11:44:00.738607341+01:00"
|
|
||||||
description: Postgres Operator UI provides a graphical interface for a convenient
|
|
||||||
database-as-a-service user experience
|
|
||||||
digest: c91ea39e6d51d57f4048fb1b6ec53b40823f2690eb88e4e4f1a036367b9fdd61
|
|
||||||
home: https://github.com/zalando/postgres-operator
|
|
||||||
keywords:
|
|
||||||
- postgres
|
|
||||||
- operator
|
|
||||||
- ui
|
|
||||||
- cloud-native
|
|
||||||
- patroni
|
|
||||||
- spilo
|
|
||||||
maintainers:
|
|
||||||
- email: opensource@zalando.de
|
|
||||||
name: Zalando
|
|
||||||
name: postgres-operator-ui
|
|
||||||
sources:
|
|
||||||
- https://github.com/zalando/postgres-operator
|
|
||||||
urls:
|
|
||||||
- postgres-operator-ui-1.5.0.tgz
|
|
||||||
version: 1.5.0
|
|
||||||
generated: "2021-11-03T11:44:00.736383918+01:00"
|
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -8,7 +8,7 @@ replicaCount: 1
|
||||||
image:
|
image:
|
||||||
registry: registry.opensource.zalan.do
|
registry: registry.opensource.zalan.do
|
||||||
repository: acid/postgres-operator-ui
|
repository: acid/postgres-operator-ui
|
||||||
tag: v1.7.1
|
tag: v1.8.0
|
||||||
pullPolicy: "IfNotPresent"
|
pullPolicy: "IfNotPresent"
|
||||||
|
|
||||||
# Optionally specify an array of imagePullSecrets.
|
# Optionally specify an array of imagePullSecrets.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
name: postgres-operator
|
name: postgres-operator
|
||||||
version: 1.7.1
|
version: 1.8.0
|
||||||
appVersion: 1.7.1
|
appVersion: 1.8.0
|
||||||
home: https://github.com/zalando/postgres-operator
|
home: https://github.com/zalando/postgres-operator
|
||||||
description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes
|
description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes
|
||||||
keywords:
|
keywords:
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
docker_image:
|
docker_image:
|
||||||
type: string
|
type: string
|
||||||
default: "registry.opensource.zalan.do/acid/spilo-14:2.1-p4"
|
default: "registry.opensource.zalan.do/acid/spilo-14:2.1-p5"
|
||||||
enable_crd_registration:
|
enable_crd_registration:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
|
|
@ -450,7 +450,7 @@ spec:
|
||||||
properties:
|
properties:
|
||||||
logical_backup_docker_image:
|
logical_backup_docker_image:
|
||||||
type: string
|
type: string
|
||||||
default: "registry.opensource.zalan.do/acid/logical-backup:v1.7.1"
|
default: "registry.opensource.zalan.do/acid/logical-backup:v1.8.0"
|
||||||
logical_backup_google_application_credentials:
|
logical_backup_google_application_credentials:
|
||||||
type: string
|
type: string
|
||||||
logical_backup_job_prefix:
|
logical_backup_job_prefix:
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,31 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
entries:
|
entries:
|
||||||
postgres-operator:
|
postgres-operator:
|
||||||
|
- apiVersion: v1
|
||||||
|
appVersion: 1.8.0
|
||||||
|
created: "2022-04-14T15:02:07.818613578+02:00"
|
||||||
|
description: Postgres Operator creates and manages PostgreSQL clusters running
|
||||||
|
in Kubernetes
|
||||||
|
digest: 3ae232cf009e09aa2ad11c171484cd2f1b72e63c59735e58fbe2b6eb842f4c86
|
||||||
|
home: https://github.com/zalando/postgres-operator
|
||||||
|
keywords:
|
||||||
|
- postgres
|
||||||
|
- operator
|
||||||
|
- cloud-native
|
||||||
|
- patroni
|
||||||
|
- spilo
|
||||||
|
maintainers:
|
||||||
|
- email: opensource@zalando.de
|
||||||
|
name: Zalando
|
||||||
|
name: postgres-operator
|
||||||
|
sources:
|
||||||
|
- https://github.com/zalando/postgres-operator
|
||||||
|
urls:
|
||||||
|
- postgres-operator-1.8.0.tgz
|
||||||
|
version: 1.8.0
|
||||||
- apiVersion: v1
|
- apiVersion: v1
|
||||||
appVersion: 1.7.1
|
appVersion: 1.7.1
|
||||||
created: "2021-11-03T11:43:09.121092027+01:00"
|
created: "2022-04-14T15:02:07.817076674+02:00"
|
||||||
description: Postgres Operator creates and manages PostgreSQL clusters running
|
description: Postgres Operator creates and manages PostgreSQL clusters running
|
||||||
in Kubernetes
|
in Kubernetes
|
||||||
digest: 7262563bec0b058e669ae6bcff0226e33fa9ece9c41ac46a53274046afe7700c
|
digest: 7262563bec0b058e669ae6bcff0226e33fa9ece9c41ac46a53274046afe7700c
|
||||||
|
|
@ -25,7 +47,7 @@ entries:
|
||||||
version: 1.7.1
|
version: 1.7.1
|
||||||
- apiVersion: v1
|
- apiVersion: v1
|
||||||
appVersion: 1.7.0
|
appVersion: 1.7.0
|
||||||
created: "2021-11-03T11:43:09.119630978+01:00"
|
created: "2022-04-14T15:02:07.815161671+02:00"
|
||||||
description: Postgres Operator creates and manages PostgreSQL clusters running
|
description: Postgres Operator creates and manages PostgreSQL clusters running
|
||||||
in Kubernetes
|
in Kubernetes
|
||||||
digest: c3e99fb94305f81484b8b1af18eefb78681f3b5d057d5ad10565e4afb7c65ffe
|
digest: c3e99fb94305f81484b8b1af18eefb78681f3b5d057d5ad10565e4afb7c65ffe
|
||||||
|
|
@ -47,7 +69,7 @@ entries:
|
||||||
version: 1.7.0
|
version: 1.7.0
|
||||||
- apiVersion: v1
|
- apiVersion: v1
|
||||||
appVersion: 1.6.3
|
appVersion: 1.6.3
|
||||||
created: "2021-11-03T11:43:09.118146221+01:00"
|
created: "2022-04-14T15:02:07.813087244+02:00"
|
||||||
description: Postgres Operator creates and manages PostgreSQL clusters running
|
description: Postgres Operator creates and manages PostgreSQL clusters running
|
||||||
in Kubernetes
|
in Kubernetes
|
||||||
digest: ea08f991bf23c9ad114bca98ebcbe3e2fa15beab163061399394905eaee89b35
|
digest: ea08f991bf23c9ad114bca98ebcbe3e2fa15beab163061399394905eaee89b35
|
||||||
|
|
@ -69,7 +91,7 @@ entries:
|
||||||
version: 1.6.3
|
version: 1.6.3
|
||||||
- apiVersion: v1
|
- apiVersion: v1
|
||||||
appVersion: 1.6.2
|
appVersion: 1.6.2
|
||||||
created: "2021-11-03T11:43:09.115637274+01:00"
|
created: "2022-04-14T15:02:07.8114121+02:00"
|
||||||
description: Postgres Operator creates and manages PostgreSQL clusters running
|
description: Postgres Operator creates and manages PostgreSQL clusters running
|
||||||
in Kubernetes
|
in Kubernetes
|
||||||
digest: d886f8a0879ca07d1e5246ee7bc55710e1c872f3977280fe495db6fc2057a7f4
|
digest: d886f8a0879ca07d1e5246ee7bc55710e1c872f3977280fe495db6fc2057a7f4
|
||||||
|
|
@ -91,7 +113,7 @@ entries:
|
||||||
version: 1.6.2
|
version: 1.6.2
|
||||||
- apiVersion: v1
|
- apiVersion: v1
|
||||||
appVersion: 1.6.1
|
appVersion: 1.6.1
|
||||||
created: "2021-11-03T11:43:09.114107417+01:00"
|
created: "2022-04-14T15:02:07.809829808+02:00"
|
||||||
description: Postgres Operator creates and manages PostgreSQL clusters running
|
description: Postgres Operator creates and manages PostgreSQL clusters running
|
||||||
in Kubernetes
|
in Kubernetes
|
||||||
digest: 4ba5972cd486dcaa2d11c5613a6f97f6b7b831822e610fe9e10a57ea1db23556
|
digest: 4ba5972cd486dcaa2d11c5613a6f97f6b7b831822e610fe9e10a57ea1db23556
|
||||||
|
|
@ -113,7 +135,7 @@ entries:
|
||||||
version: 1.6.1
|
version: 1.6.1
|
||||||
- apiVersion: v1
|
- apiVersion: v1
|
||||||
appVersion: 1.6.0
|
appVersion: 1.6.0
|
||||||
created: "2021-11-03T11:43:09.112550808+01:00"
|
created: "2022-04-14T15:02:07.808307624+02:00"
|
||||||
description: Postgres Operator creates and manages PostgreSQL clusters running
|
description: Postgres Operator creates and manages PostgreSQL clusters running
|
||||||
in Kubernetes
|
in Kubernetes
|
||||||
digest: f52149718ea364f46b4b9eec9a65f6253ad182bb78df541d14cd5277b9c8a8c3
|
digest: f52149718ea364f46b4b9eec9a65f6253ad182bb78df541d14cd5277b9c8a8c3
|
||||||
|
|
@ -133,26 +155,4 @@ entries:
|
||||||
urls:
|
urls:
|
||||||
- postgres-operator-1.6.0.tgz
|
- postgres-operator-1.6.0.tgz
|
||||||
version: 1.6.0
|
version: 1.6.0
|
||||||
- apiVersion: v1
|
generated: "2022-04-14T15:02:07.806370532+02:00"
|
||||||
appVersion: 1.5.0
|
|
||||||
created: "2021-11-03T11:43:09.110907395+01:00"
|
|
||||||
description: Postgres Operator creates and manages PostgreSQL clusters running
|
|
||||||
in Kubernetes
|
|
||||||
digest: 198351d5db52e65cdf383d6f3e1745d91ac1e2a01121f8476f8b1be728b09531
|
|
||||||
home: https://github.com/zalando/postgres-operator
|
|
||||||
keywords:
|
|
||||||
- postgres
|
|
||||||
- operator
|
|
||||||
- cloud-native
|
|
||||||
- patroni
|
|
||||||
- spilo
|
|
||||||
maintainers:
|
|
||||||
- email: opensource@zalando.de
|
|
||||||
name: Zalando
|
|
||||||
name: postgres-operator
|
|
||||||
sources:
|
|
||||||
- https://github.com/zalando/postgres-operator
|
|
||||||
urls:
|
|
||||||
- postgres-operator-1.5.0.tgz
|
|
||||||
version: 1.5.0
|
|
||||||
generated: "2021-11-03T11:43:09.109237601+01:00"
|
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -1,7 +1,7 @@
|
||||||
image:
|
image:
|
||||||
registry: registry.opensource.zalan.do
|
registry: registry.opensource.zalan.do
|
||||||
repository: acid/postgres-operator
|
repository: acid/postgres-operator
|
||||||
tag: v1.7.1
|
tag: v1.8.0
|
||||||
pullPolicy: "IfNotPresent"
|
pullPolicy: "IfNotPresent"
|
||||||
|
|
||||||
# Optionally specify an array of imagePullSecrets.
|
# Optionally specify an array of imagePullSecrets.
|
||||||
|
|
@ -38,7 +38,7 @@ configGeneral:
|
||||||
# Select if setup uses endpoints (default), or configmaps to manage leader (DCS=k8s)
|
# Select if setup uses endpoints (default), or configmaps to manage leader (DCS=k8s)
|
||||||
# kubernetes_use_configmaps: false
|
# kubernetes_use_configmaps: false
|
||||||
# Spilo docker image
|
# Spilo docker image
|
||||||
docker_image: registry.opensource.zalan.do/acid/spilo-14:2.1-p4
|
docker_image: registry.opensource.zalan.do/acid/spilo-14:2.1-p5
|
||||||
# min number of instances in Postgres cluster. -1 = no limit
|
# min number of instances in Postgres cluster. -1 = no limit
|
||||||
min_instances: -1
|
min_instances: -1
|
||||||
# max number of instances in Postgres cluster. -1 = no limit
|
# max number of instances in Postgres cluster. -1 = no limit
|
||||||
|
|
@ -313,7 +313,7 @@ configAwsOrGcp:
|
||||||
# configure K8s cron job managed by the operator
|
# configure K8s cron job managed by the operator
|
||||||
configLogicalBackup:
|
configLogicalBackup:
|
||||||
# image for pods of the logical backup job (example runs pg_dumpall)
|
# image for pods of the logical backup job (example runs pg_dumpall)
|
||||||
logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup:v1.7.1"
|
logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup:v1.8.0"
|
||||||
# path of google cloud service account json file
|
# path of google cloud service account json file
|
||||||
# logical_backup_google_application_credentials: ""
|
# logical_backup_google_application_credentials: ""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1286,7 +1286,7 @@ make docker
|
||||||
|
|
||||||
# build in image in minikube docker env
|
# build in image in minikube docker env
|
||||||
eval $(minikube docker-env)
|
eval $(minikube docker-env)
|
||||||
docker build -t registry.opensource.zalan.do/acid/postgres-operator-ui:v1.7.1 .
|
docker build -t registry.opensource.zalan.do/acid/postgres-operator-ui:v1.8.0 .
|
||||||
|
|
||||||
# apply UI manifests next to a running Postgres Operator
|
# apply UI manifests next to a running Postgres Operator
|
||||||
kubectl apply -f manifests/
|
kubectl apply -f manifests/
|
||||||
|
|
|
||||||
|
|
@ -85,20 +85,25 @@ oc create -f manifests/operator-service-account-rbac-openshift.yaml
|
||||||
|
|
||||||
### Helm chart
|
### Helm chart
|
||||||
|
|
||||||
Alternatively, the operator can be installed by using the provided [Helm](https://helm.sh/)
|
Alternatively, the operator can be installed by using the provided
|
||||||
chart which saves you the manual steps. Clone this repo and change directory to
|
[Helm](https://helm.sh/) chart which saves you the manual steps. The charts
|
||||||
the repo root. With Helm v3 installed you should be able to run:
|
for both the Postgres Operator and its UI are hosted via the `gh-pages` branch.
|
||||||
|
They only work only with Helm v3. Helm v2 support was dropped with v1.8.0.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
helm install postgres-operator ./charts/postgres-operator
|
# add repo for postgres-operator
|
||||||
|
helm repo add postgres-operator-charts https://opensource.zalando.com/postgres-operator/charts/postgres-operator
|
||||||
|
|
||||||
|
# install the postgres-operator
|
||||||
|
helm install postgres-operator postgres-operator-charts/postgres-operator
|
||||||
|
|
||||||
|
# add repo for postgres-operator-ui
|
||||||
|
helm repo add postgres-operator-ui-charts https://opensource.zalando.com/postgres-operator/charts/postgres-operator-ui
|
||||||
|
|
||||||
|
# install the postgres-operator-ui
|
||||||
|
helm install postgres-operator-ui postgres-operator-ui-charts/postgres-ui-operator
|
||||||
```
|
```
|
||||||
|
|
||||||
The chart works with both Helm 2 and Helm 3. The `crd-install` hook from v2 will
|
|
||||||
be skipped with warning when using v3. Documentation for installing applications
|
|
||||||
with Helm 2 can be found in the [v2 docs](https://v2.helm.sh/docs/).
|
|
||||||
|
|
||||||
The chart is also hosted at: https://opensource.zalando.com/postgres-operator/charts/postgres-operator/
|
|
||||||
|
|
||||||
## Check if Postgres Operator is running
|
## Check if Postgres Operator is running
|
||||||
|
|
||||||
Starting the operator may take a few seconds. Check if the operator pod is
|
Starting the operator may take a few seconds. Check if the operator pod is
|
||||||
|
|
|
||||||
|
|
@ -679,7 +679,7 @@ grouped under the `logical_backup` key.
|
||||||
runs `pg_dumpall` on a replica if possible and uploads compressed results to
|
runs `pg_dumpall` on a replica if possible and uploads compressed results to
|
||||||
an S3 bucket under the key `/spilo/pg_cluster_name/cluster_k8s_uuid/logical_backups`.
|
an S3 bucket under the key `/spilo/pg_cluster_name/cluster_k8s_uuid/logical_backups`.
|
||||||
The default image is the same image built with the Zalando-internal CI
|
The default image is the same image built with the Zalando-internal CI
|
||||||
pipeline. Default: "registry.opensource.zalan.do/acid/logical-backup:v1.7.1"
|
pipeline. Default: "registry.opensource.zalan.do/acid/logical-backup:v1.8.0"
|
||||||
|
|
||||||
* **logical_backup_google_application_credentials**
|
* **logical_backup_google_application_credentials**
|
||||||
Specifies the path of the google cloud service account json file. Default is empty.
|
Specifies the path of the google cloud service account json file. Default is empty.
|
||||||
|
|
|
||||||
2
go.mod
2
go.mod
|
|
@ -7,6 +7,7 @@ require (
|
||||||
github.com/golang/mock v1.6.0
|
github.com/golang/mock v1.6.0
|
||||||
github.com/lib/pq v1.10.4
|
github.com/lib/pq v1.10.4
|
||||||
github.com/motomux/pretty v0.0.0-20161209205251-b2aad2c9a95d
|
github.com/motomux/pretty v0.0.0-20161209205251-b2aad2c9a95d
|
||||||
|
github.com/pkg/errors v0.9.1
|
||||||
github.com/r3labs/diff v1.1.0
|
github.com/r3labs/diff v1.1.0
|
||||||
github.com/sirupsen/logrus v1.8.1
|
github.com/sirupsen/logrus v1.8.1
|
||||||
github.com/stretchr/testify v1.7.0
|
github.com/stretchr/testify v1.7.0
|
||||||
|
|
@ -44,7 +45,6 @@ require (
|
||||||
github.com/moby/spdystream v0.2.0 // indirect
|
github.com/moby/spdystream v0.2.0 // indirect
|
||||||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
||||||
github.com/modern-go/reflect2 v1.0.1 // indirect
|
github.com/modern-go/reflect2 v1.0.1 // indirect
|
||||||
github.com/pkg/errors v0.9.1 // indirect
|
|
||||||
github.com/pmezard/go-difflib v1.0.0 // indirect
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
||||||
github.com/spf13/pflag v1.0.5 // indirect
|
github.com/spf13/pflag v1.0.5 // indirect
|
||||||
golang.org/x/mod v0.5.1 // indirect
|
golang.org/x/mod v0.5.1 // indirect
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ go 1.17
|
||||||
require (
|
require (
|
||||||
github.com/spf13/cobra v1.2.1
|
github.com/spf13/cobra v1.2.1
|
||||||
github.com/spf13/viper v1.9.0
|
github.com/spf13/viper v1.9.0
|
||||||
github.com/zalando/postgres-operator v1.7.1
|
github.com/zalando/postgres-operator v1.8.0
|
||||||
k8s.io/api v0.22.4
|
k8s.io/api v0.22.4
|
||||||
k8s.io/apiextensions-apiserver v0.22.4
|
k8s.io/apiextensions-apiserver v0.22.4
|
||||||
k8s.io/apimachinery v0.22.4
|
k8s.io/apimachinery v0.22.4
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ metadata:
|
||||||
# "delete-date": "2020-08-31" # can only be deleted on that day if "delete-date "key is configured
|
# "delete-date": "2020-08-31" # can only be deleted on that day if "delete-date "key is configured
|
||||||
# "delete-clustername": "acid-test-cluster" # can only be deleted when name matches if "delete-clustername" key is configured
|
# "delete-clustername": "acid-test-cluster" # can only be deleted when name matches if "delete-clustername" key is configured
|
||||||
spec:
|
spec:
|
||||||
dockerImage: registry.opensource.zalan.do/acid/spilo-14:2.1-p4
|
dockerImage: registry.opensource.zalan.do/acid/spilo-14:2.1-p5
|
||||||
teamId: "acid"
|
teamId: "acid"
|
||||||
numberOfInstances: 2
|
numberOfInstances: 2
|
||||||
users: # Application/Robot users
|
users: # Application/Robot users
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ data:
|
||||||
# default_memory_request: 100Mi
|
# default_memory_request: 100Mi
|
||||||
# delete_annotation_date_key: delete-date
|
# delete_annotation_date_key: delete-date
|
||||||
# delete_annotation_name_key: delete-clustername
|
# delete_annotation_name_key: delete-clustername
|
||||||
docker_image: registry.opensource.zalan.do/acid/spilo-14:2.1-p4
|
docker_image: registry.opensource.zalan.do/acid/spilo-14:2.1-p5
|
||||||
# downscaler_annotations: "deployment-time,downscaler/*"
|
# downscaler_annotations: "deployment-time,downscaler/*"
|
||||||
# enable_admin_role_for_users: "true"
|
# enable_admin_role_for_users: "true"
|
||||||
# enable_crd_registration: "true"
|
# enable_crd_registration: "true"
|
||||||
|
|
@ -71,7 +71,7 @@ data:
|
||||||
# kube_iam_role: ""
|
# kube_iam_role: ""
|
||||||
# kubernetes_use_configmaps: "false"
|
# kubernetes_use_configmaps: "false"
|
||||||
# log_s3_bucket: ""
|
# log_s3_bucket: ""
|
||||||
logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup:v1.7.1"
|
logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup:v1.8.0"
|
||||||
# logical_backup_google_application_credentials: ""
|
# logical_backup_google_application_credentials: ""
|
||||||
logical_backup_job_prefix: "logical-backup-"
|
logical_backup_job_prefix: "logical-backup-"
|
||||||
logical_backup_provider: "s3"
|
logical_backup_provider: "s3"
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
docker_image:
|
docker_image:
|
||||||
type: string
|
type: string
|
||||||
default: "registry.opensource.zalan.do/acid/spilo-14:2.1-p4"
|
default: "registry.opensource.zalan.do/acid/spilo-14:2.1-p5"
|
||||||
enable_crd_registration:
|
enable_crd_registration:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
|
|
@ -448,7 +448,7 @@ spec:
|
||||||
properties:
|
properties:
|
||||||
logical_backup_docker_image:
|
logical_backup_docker_image:
|
||||||
type: string
|
type: string
|
||||||
default: "registry.opensource.zalan.do/acid/logical-backup:v1.7.1"
|
default: "registry.opensource.zalan.do/acid/logical-backup:v1.8.0"
|
||||||
logical_backup_google_application_credentials:
|
logical_backup_google_application_credentials:
|
||||||
type: string
|
type: string
|
||||||
logical_backup_job_prefix:
|
logical_backup_job_prefix:
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ spec:
|
||||||
serviceAccountName: postgres-operator
|
serviceAccountName: postgres-operator
|
||||||
containers:
|
containers:
|
||||||
- name: postgres-operator
|
- name: postgres-operator
|
||||||
image: registry.opensource.zalan.do/acid/postgres-operator:v1.7.1
|
image: registry.opensource.zalan.do/acid/postgres-operator:v1.8.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ kind: OperatorConfiguration
|
||||||
metadata:
|
metadata:
|
||||||
name: postgresql-operator-default-configuration
|
name: postgresql-operator-default-configuration
|
||||||
configuration:
|
configuration:
|
||||||
docker_image: registry.opensource.zalan.do/acid/spilo-14:2.1-p4
|
docker_image: registry.opensource.zalan.do/acid/spilo-14:2.1-p5
|
||||||
# enable_crd_registration: true
|
# enable_crd_registration: true
|
||||||
# crd_categories:
|
# crd_categories:
|
||||||
# - all
|
# - all
|
||||||
|
|
@ -144,7 +144,7 @@ configuration:
|
||||||
# wal_gs_bucket: ""
|
# wal_gs_bucket: ""
|
||||||
# wal_s3_bucket: ""
|
# wal_s3_bucket: ""
|
||||||
logical_backup:
|
logical_backup:
|
||||||
logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup:v1.7.1"
|
logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup:v1.8.0"
|
||||||
# logical_backup_google_application_credentials: ""
|
# logical_backup_google_application_credentials: ""
|
||||||
logical_backup_job_prefix: "logical-backup-"
|
logical_backup_job_prefix: "logical-backup-"
|
||||||
logical_backup_provider: "s3"
|
logical_backup_provider: "s3"
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ func (c *Controller) importConfigurationFromCRD(fromCRD *acidv1.OperatorConfigur
|
||||||
result.EnableSpiloWalPathCompat = fromCRD.EnableSpiloWalPathCompat
|
result.EnableSpiloWalPathCompat = fromCRD.EnableSpiloWalPathCompat
|
||||||
result.EtcdHost = fromCRD.EtcdHost
|
result.EtcdHost = fromCRD.EtcdHost
|
||||||
result.KubernetesUseConfigMaps = fromCRD.KubernetesUseConfigMaps
|
result.KubernetesUseConfigMaps = fromCRD.KubernetesUseConfigMaps
|
||||||
result.DockerImage = util.Coalesce(fromCRD.DockerImage, "registry.opensource.zalan.do/acid/spilo-14:2.1-p4")
|
result.DockerImage = util.Coalesce(fromCRD.DockerImage, "registry.opensource.zalan.do/acid/spilo-14:2.1-p5")
|
||||||
result.Workers = util.CoalesceUInt32(fromCRD.Workers, 8)
|
result.Workers = util.CoalesceUInt32(fromCRD.Workers, 8)
|
||||||
result.MinInstances = fromCRD.MinInstances
|
result.MinInstances = fromCRD.MinInstances
|
||||||
result.MaxInstances = fromCRD.MaxInstances
|
result.MaxInstances = fromCRD.MaxInstances
|
||||||
|
|
@ -165,7 +165,7 @@ func (c *Controller) importConfigurationFromCRD(fromCRD *acidv1.OperatorConfigur
|
||||||
|
|
||||||
// logical backup config
|
// logical backup config
|
||||||
result.LogicalBackupSchedule = util.Coalesce(fromCRD.LogicalBackup.Schedule, "30 00 * * *")
|
result.LogicalBackupSchedule = util.Coalesce(fromCRD.LogicalBackup.Schedule, "30 00 * * *")
|
||||||
result.LogicalBackupDockerImage = util.Coalesce(fromCRD.LogicalBackup.DockerImage, "registry.opensource.zalan.do/acid/logical-backup:v1.7.1")
|
result.LogicalBackupDockerImage = util.Coalesce(fromCRD.LogicalBackup.DockerImage, "registry.opensource.zalan.do/acid/logical-backup:v1.8.0")
|
||||||
result.LogicalBackupProvider = util.Coalesce(fromCRD.LogicalBackup.BackupProvider, "s3")
|
result.LogicalBackupProvider = util.Coalesce(fromCRD.LogicalBackup.BackupProvider, "s3")
|
||||||
result.LogicalBackupS3Bucket = fromCRD.LogicalBackup.S3Bucket
|
result.LogicalBackupS3Bucket = fromCRD.LogicalBackup.S3Bucket
|
||||||
result.LogicalBackupS3Region = fromCRD.LogicalBackup.S3Region
|
result.LogicalBackupS3Region = fromCRD.LogicalBackup.S3Region
|
||||||
|
|
|
||||||
|
|
@ -122,7 +122,7 @@ type Scalyr struct {
|
||||||
// LogicalBackup defines configuration for logical backup
|
// LogicalBackup defines configuration for logical backup
|
||||||
type LogicalBackup struct {
|
type LogicalBackup struct {
|
||||||
LogicalBackupSchedule string `name:"logical_backup_schedule" default:"30 00 * * *"`
|
LogicalBackupSchedule string `name:"logical_backup_schedule" default:"30 00 * * *"`
|
||||||
LogicalBackupDockerImage string `name:"logical_backup_docker_image" default:"registry.opensource.zalan.do/acid/logical-backup:v1.7.1"`
|
LogicalBackupDockerImage string `name:"logical_backup_docker_image" default:"registry.opensource.zalan.do/acid/logical-backup:v1.8.0"`
|
||||||
LogicalBackupProvider string `name:"logical_backup_provider" default:"s3"`
|
LogicalBackupProvider string `name:"logical_backup_provider" default:"s3"`
|
||||||
LogicalBackupS3Bucket string `name:"logical_backup_s3_bucket" default:""`
|
LogicalBackupS3Bucket string `name:"logical_backup_s3_bucket" default:""`
|
||||||
LogicalBackupS3Region string `name:"logical_backup_s3_region" default:""`
|
LogicalBackupS3Region string `name:"logical_backup_s3_region" default:""`
|
||||||
|
|
@ -161,7 +161,7 @@ type Config struct {
|
||||||
WatchedNamespace string `name:"watched_namespace"` // special values: "*" means 'watch all namespaces', the empty string "" means 'watch a namespace where operator is deployed to'
|
WatchedNamespace string `name:"watched_namespace"` // special values: "*" means 'watch all namespaces', the empty string "" means 'watch a namespace where operator is deployed to'
|
||||||
KubernetesUseConfigMaps bool `name:"kubernetes_use_configmaps" default:"false"`
|
KubernetesUseConfigMaps bool `name:"kubernetes_use_configmaps" default:"false"`
|
||||||
EtcdHost string `name:"etcd_host" default:""` // special values: the empty string "" means Patroni will use K8s as a DCS
|
EtcdHost string `name:"etcd_host" default:""` // special values: the empty string "" means Patroni will use K8s as a DCS
|
||||||
DockerImage string `name:"docker_image" default:"registry.opensource.zalan.do/acid/spilo-14:2.1-p4"`
|
DockerImage string `name:"docker_image" default:"registry.opensource.zalan.do/acid/spilo-14:2.1-p5"`
|
||||||
SidecarImages map[string]string `name:"sidecar_docker_images"` // deprecated in favour of SidecarContainers
|
SidecarImages map[string]string `name:"sidecar_docker_images"` // deprecated in favour of SidecarContainers
|
||||||
SidecarContainers []v1.Container `name:"sidecars"`
|
SidecarContainers []v1.Container `name:"sidecars"`
|
||||||
PodServiceAccountName string `name:"pod_service_account_name" default:"postgres-pod"`
|
PodServiceAccountName string `name:"pod_service_account_name" default:"postgres-pod"`
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ spec:
|
||||||
serviceAccountName: postgres-operator-ui
|
serviceAccountName: postgres-operator-ui
|
||||||
containers:
|
containers:
|
||||||
- name: "service"
|
- name: "service"
|
||||||
image: registry.opensource.zalan.do/acid/postgres-operator-ui:v1.7.1
|
image: registry.opensource.zalan.do/acid/postgres-operator-ui:v1.8.0
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8081
|
- containerPort: 8081
|
||||||
protocol: "TCP"
|
protocol: "TCP"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue