Merge branch 'master' into gh-pages
This commit is contained in:
		
						commit
						549c81ad3c
					
				| 
						 | 
				
			
			@ -9,7 +9,7 @@ assignees: ''
 | 
			
		|||
 | 
			
		||||
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.8.1
 | 
			
		||||
- **Which image of the operator are you using?** e.g. registry.opensource.zalan.do/acid/postgres-operator:v1.8.2
 | 
			
		||||
- **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]
 | 
			
		||||
- **Type of issue?** [Bug report, question, feature request, etc.]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -16,7 +16,7 @@ pipelines with no access to Kubernetes API directly, promoting infrastructure as
 | 
			
		|||
* Rolling updates on Postgres cluster changes, incl. quick minor version updates
 | 
			
		||||
* Live volume resize without pod restarts (AWS EBS, PVC)
 | 
			
		||||
* 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. Supports global upgrade of all clusters.
 | 
			
		||||
* Restore and cloning Postgres clusters on AWS, GCS and Azure
 | 
			
		||||
* Additionally logical backups to S3 or GCS bucket can be configured
 | 
			
		||||
* Standby cluster from S3 or GCS WAL archive
 | 
			
		||||
| 
						 | 
				
			
			@ -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.
 | 
			
		||||
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-p5`
 | 
			
		||||
The newest Spilo image is: `registry.opensource.zalan.do/acid/spilo-14:2.1-p6`
 | 
			
		||||
 | 
			
		||||
The last Spilo 12 image is: `registry.opensource.zalan.do/acid/spilo-12:1.6-p5`
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
apiVersion: v2
 | 
			
		||||
name: postgres-operator-ui
 | 
			
		||||
version: 1.8.1
 | 
			
		||||
appVersion: 1.8.1
 | 
			
		||||
version: 1.8.2
 | 
			
		||||
appVersion: 1.8.2
 | 
			
		||||
home: https://github.com/zalando/postgres-operator
 | 
			
		||||
description: Postgres Operator UI provides a graphical interface for a convenient database-as-a-service user experience
 | 
			
		||||
keywords:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,9 +1,32 @@
 | 
			
		|||
apiVersion: v1
 | 
			
		||||
entries:
 | 
			
		||||
  postgres-operator-ui:
 | 
			
		||||
  - apiVersion: v2
 | 
			
		||||
    appVersion: 1.8.2
 | 
			
		||||
    created: "2022-06-20T11:58:48.148537324+02:00"
 | 
			
		||||
    description: Postgres Operator UI provides a graphical interface for a convenient
 | 
			
		||||
      database-as-a-service user experience
 | 
			
		||||
    digest: fbfc90fa8fd007a08a7c02e0ec9108bb8282cbb42b8c976d88f2193d6edff30c
 | 
			
		||||
    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.2.tgz
 | 
			
		||||
    version: 1.8.2
 | 
			
		||||
  - apiVersion: v2
 | 
			
		||||
    appVersion: 1.8.1
 | 
			
		||||
    created: "2022-05-19T16:03:34.70846034+02:00"
 | 
			
		||||
    created: "2022-06-20T11:58:48.147974157+02:00"
 | 
			
		||||
    description: Postgres Operator UI provides a graphical interface for a convenient
 | 
			
		||||
      database-as-a-service user experience
 | 
			
		||||
    digest: d26342e385ea51a0fbfbe23477999863e9489664ae803ea5c56da8897db84d24
 | 
			
		||||
| 
						 | 
				
			
			@ -26,7 +49,7 @@ entries:
 | 
			
		|||
    version: 1.8.1
 | 
			
		||||
  - apiVersion: v1
 | 
			
		||||
    appVersion: 1.8.0
 | 
			
		||||
    created: "2022-05-19T16:03:34.707925712+02:00"
 | 
			
		||||
    created: "2022-06-20T11:58:48.147454782+02:00"
 | 
			
		||||
    description: Postgres Operator UI provides a graphical interface for a convenient
 | 
			
		||||
      database-as-a-service user experience
 | 
			
		||||
    digest: d4a7b40c23fd167841cc28342afdbd5ecc809181913a5c31061c83139187f148
 | 
			
		||||
| 
						 | 
				
			
			@ -49,7 +72,7 @@ entries:
 | 
			
		|||
    version: 1.8.0
 | 
			
		||||
  - apiVersion: v1
 | 
			
		||||
    appVersion: 1.7.1
 | 
			
		||||
    created: "2022-05-19T16:03:34.707388723+02:00"
 | 
			
		||||
    created: "2022-06-20T11:58:48.14693682+02:00"
 | 
			
		||||
    description: Postgres Operator UI provides a graphical interface for a convenient
 | 
			
		||||
      database-as-a-service user experience
 | 
			
		||||
    digest: 97aed1a1d37cd5f8441eea9522f38e56cc829786ad2134c437a5e6a15c995869
 | 
			
		||||
| 
						 | 
				
			
			@ -72,7 +95,7 @@ entries:
 | 
			
		|||
    version: 1.7.1
 | 
			
		||||
  - apiVersion: v1
 | 
			
		||||
    appVersion: 1.7.0
 | 
			
		||||
    created: "2022-05-19T16:03:34.706864701+02:00"
 | 
			
		||||
    created: "2022-06-20T11:58:48.146431264+02:00"
 | 
			
		||||
    description: Postgres Operator UI provides a graphical interface for a convenient
 | 
			
		||||
      database-as-a-service user experience
 | 
			
		||||
    digest: 37fba1968347daad393dbd1c6ee6e5b6a24d1095f972c0102197531c62dcada8
 | 
			
		||||
| 
						 | 
				
			
			@ -95,7 +118,7 @@ entries:
 | 
			
		|||
    version: 1.7.0
 | 
			
		||||
  - apiVersion: v1
 | 
			
		||||
    appVersion: 1.6.3
 | 
			
		||||
    created: "2022-05-19T16:03:34.705931681+02:00"
 | 
			
		||||
    created: "2022-06-20T11:58:48.14552248+02:00"
 | 
			
		||||
    description: Postgres Operator UI provides a graphical interface for a convenient
 | 
			
		||||
      database-as-a-service user experience
 | 
			
		||||
    digest: 08b810aa632dcc719e4785ef184e391267f7c460caa99677f2d00719075aac78
 | 
			
		||||
| 
						 | 
				
			
			@ -118,7 +141,7 @@ entries:
 | 
			
		|||
    version: 1.6.3
 | 
			
		||||
  - apiVersion: v1
 | 
			
		||||
    appVersion: 1.6.2
 | 
			
		||||
    created: "2022-05-19T16:03:34.705441492+02:00"
 | 
			
		||||
    created: "2022-06-20T11:58:48.145033254+02:00"
 | 
			
		||||
    description: Postgres Operator UI provides a graphical interface for a convenient
 | 
			
		||||
      database-as-a-service user experience
 | 
			
		||||
    digest: 14d1559bb0bd1e1e828f2daaaa6f6ac9ffc268d79824592c3589b55dd39241f6
 | 
			
		||||
| 
						 | 
				
			
			@ -141,7 +164,7 @@ entries:
 | 
			
		|||
    version: 1.6.2
 | 
			
		||||
  - apiVersion: v1
 | 
			
		||||
    appVersion: 1.6.1
 | 
			
		||||
    created: "2022-05-19T16:03:34.704908895+02:00"
 | 
			
		||||
    created: "2022-06-20T11:58:48.144518247+02:00"
 | 
			
		||||
    description: Postgres Operator UI provides a graphical interface for a convenient
 | 
			
		||||
      database-as-a-service user experience
 | 
			
		||||
    digest: 3d321352f2f1e7bb7450aa8876e3d818aa9f9da9bd4250507386f0490f2c1969
 | 
			
		||||
| 
						 | 
				
			
			@ -164,7 +187,7 @@ entries:
 | 
			
		|||
    version: 1.6.1
 | 
			
		||||
  - apiVersion: v1
 | 
			
		||||
    appVersion: 1.6.0
 | 
			
		||||
    created: "2022-05-19T16:03:34.704432119+02:00"
 | 
			
		||||
    created: "2022-06-20T11:58:48.143943237+02:00"
 | 
			
		||||
    description: Postgres Operator UI provides a graphical interface for a convenient
 | 
			
		||||
      database-as-a-service user experience
 | 
			
		||||
    digest: 1e0aa1e7db3c1daa96927ffbf6fdbcdb434562f961833cb5241ddbe132220ee4
 | 
			
		||||
| 
						 | 
				
			
			@ -185,4 +208,4 @@ entries:
 | 
			
		|||
    urls:
 | 
			
		||||
    - postgres-operator-ui-1.6.0.tgz
 | 
			
		||||
    version: 1.6.0
 | 
			
		||||
generated: "2022-05-19T16:03:34.70375145+02:00"
 | 
			
		||||
generated: "2022-06-20T11:58:48.143164875+02:00"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
										
											Binary file not shown.
										
									
								
							| 
						 | 
				
			
			@ -8,7 +8,7 @@ replicaCount: 1
 | 
			
		|||
image:
 | 
			
		||||
  registry: registry.opensource.zalan.do
 | 
			
		||||
  repository: acid/postgres-operator-ui
 | 
			
		||||
  tag: v1.8.1
 | 
			
		||||
  tag: v1.8.2
 | 
			
		||||
  pullPolicy: "IfNotPresent"
 | 
			
		||||
 | 
			
		||||
# Optionally specify an array of imagePullSecrets.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
apiVersion: v2
 | 
			
		||||
name: postgres-operator
 | 
			
		||||
version: 1.8.1
 | 
			
		||||
appVersion: 1.8.1
 | 
			
		||||
version: 1.8.2
 | 
			
		||||
appVersion: 1.8.2
 | 
			
		||||
home: https://github.com/zalando/postgres-operator
 | 
			
		||||
description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes
 | 
			
		||||
keywords:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -68,7 +68,7 @@ spec:
 | 
			
		|||
                  type: string
 | 
			
		||||
              docker_image:
 | 
			
		||||
                type: string
 | 
			
		||||
                default: "registry.opensource.zalan.do/acid/spilo-14:2.1-p5"
 | 
			
		||||
                default: "registry.opensource.zalan.do/acid/spilo-14:2.1-p6"
 | 
			
		||||
              enable_crd_registration:
 | 
			
		||||
                type: boolean
 | 
			
		||||
                default: true
 | 
			
		||||
| 
						 | 
				
			
			@ -450,7 +450,7 @@ spec:
 | 
			
		|||
                properties:
 | 
			
		||||
                  logical_backup_docker_image:
 | 
			
		||||
                    type: string
 | 
			
		||||
                    default: "registry.opensource.zalan.do/acid/logical-backup:v1.8.1"
 | 
			
		||||
                    default: "registry.opensource.zalan.do/acid/logical-backup:v1.8.2"
 | 
			
		||||
                  logical_backup_google_application_credentials:
 | 
			
		||||
                    type: string
 | 
			
		||||
                  logical_backup_job_prefix:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,9 +1,31 @@
 | 
			
		|||
apiVersion: v1
 | 
			
		||||
entries:
 | 
			
		||||
  postgres-operator:
 | 
			
		||||
  - apiVersion: v2
 | 
			
		||||
    appVersion: 1.8.2
 | 
			
		||||
    created: "2022-06-20T11:57:53.031245647+02:00"
 | 
			
		||||
    description: Postgres Operator creates and manages PostgreSQL clusters running
 | 
			
		||||
      in Kubernetes
 | 
			
		||||
    digest: f77ffad2e98b72a621e5527015cf607935d3ed688f10ba4b626435acb9631b5b
 | 
			
		||||
    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.2.tgz
 | 
			
		||||
    version: 1.8.2
 | 
			
		||||
  - apiVersion: v2
 | 
			
		||||
    appVersion: 1.8.1
 | 
			
		||||
    created: "2022-05-19T16:01:17.868770557+02:00"
 | 
			
		||||
    created: "2022-06-20T11:57:53.029722276+02:00"
 | 
			
		||||
    description: Postgres Operator creates and manages PostgreSQL clusters running
 | 
			
		||||
      in Kubernetes
 | 
			
		||||
    digest: ee0c3bb6ba72fa4289ba3b1c6060e5b312dd023faba2a61b4cb7d9e5e2cc57a5
 | 
			
		||||
| 
						 | 
				
			
			@ -25,7 +47,7 @@ entries:
 | 
			
		|||
    version: 1.8.1
 | 
			
		||||
  - apiVersion: v1
 | 
			
		||||
    appVersion: 1.8.0
 | 
			
		||||
    created: "2022-05-19T16:01:17.866519324+02:00"
 | 
			
		||||
    created: "2022-06-20T11:57:53.028188865+02:00"
 | 
			
		||||
    description: Postgres Operator creates and manages PostgreSQL clusters running
 | 
			
		||||
      in Kubernetes
 | 
			
		||||
    digest: 3ae232cf009e09aa2ad11c171484cd2f1b72e63c59735e58fbe2b6eb842f4c86
 | 
			
		||||
| 
						 | 
				
			
			@ -47,7 +69,7 @@ entries:
 | 
			
		|||
    version: 1.8.0
 | 
			
		||||
  - apiVersion: v1
 | 
			
		||||
    appVersion: 1.7.1
 | 
			
		||||
    created: "2022-05-19T16:01:17.863939923+02:00"
 | 
			
		||||
    created: "2022-06-20T11:57:53.026647776+02:00"
 | 
			
		||||
    description: Postgres Operator creates and manages PostgreSQL clusters running
 | 
			
		||||
      in Kubernetes
 | 
			
		||||
    digest: 7262563bec0b058e669ae6bcff0226e33fa9ece9c41ac46a53274046afe7700c
 | 
			
		||||
| 
						 | 
				
			
			@ -69,7 +91,7 @@ entries:
 | 
			
		|||
    version: 1.7.1
 | 
			
		||||
  - apiVersion: v1
 | 
			
		||||
    appVersion: 1.7.0
 | 
			
		||||
    created: "2022-05-19T16:01:17.861563817+02:00"
 | 
			
		||||
    created: "2022-06-20T11:57:53.02514275+02:00"
 | 
			
		||||
    description: Postgres Operator creates and manages PostgreSQL clusters running
 | 
			
		||||
      in Kubernetes
 | 
			
		||||
    digest: c3e99fb94305f81484b8b1af18eefb78681f3b5d057d5ad10565e4afb7c65ffe
 | 
			
		||||
| 
						 | 
				
			
			@ -91,7 +113,7 @@ entries:
 | 
			
		|||
    version: 1.7.0
 | 
			
		||||
  - apiVersion: v1
 | 
			
		||||
    appVersion: 1.6.3
 | 
			
		||||
    created: "2022-05-19T16:01:17.857400801+02:00"
 | 
			
		||||
    created: "2022-06-20T11:57:53.022692764+02:00"
 | 
			
		||||
    description: Postgres Operator creates and manages PostgreSQL clusters running
 | 
			
		||||
      in Kubernetes
 | 
			
		||||
    digest: ea08f991bf23c9ad114bca98ebcbe3e2fa15beab163061399394905eaee89b35
 | 
			
		||||
| 
						 | 
				
			
			@ -113,7 +135,7 @@ entries:
 | 
			
		|||
    version: 1.6.3
 | 
			
		||||
  - apiVersion: v1
 | 
			
		||||
    appVersion: 1.6.2
 | 
			
		||||
    created: "2022-05-19T16:01:17.853990686+02:00"
 | 
			
		||||
    created: "2022-06-20T11:57:53.021045272+02:00"
 | 
			
		||||
    description: Postgres Operator creates and manages PostgreSQL clusters running
 | 
			
		||||
      in Kubernetes
 | 
			
		||||
    digest: d886f8a0879ca07d1e5246ee7bc55710e1c872f3977280fe495db6fc2057a7f4
 | 
			
		||||
| 
						 | 
				
			
			@ -135,7 +157,7 @@ entries:
 | 
			
		|||
    version: 1.6.2
 | 
			
		||||
  - apiVersion: v1
 | 
			
		||||
    appVersion: 1.6.1
 | 
			
		||||
    created: "2022-05-19T16:01:17.851310112+02:00"
 | 
			
		||||
    created: "2022-06-20T11:57:53.019428631+02:00"
 | 
			
		||||
    description: Postgres Operator creates and manages PostgreSQL clusters running
 | 
			
		||||
      in Kubernetes
 | 
			
		||||
    digest: 4ba5972cd486dcaa2d11c5613a6f97f6b7b831822e610fe9e10a57ea1db23556
 | 
			
		||||
| 
						 | 
				
			
			@ -157,7 +179,7 @@ entries:
 | 
			
		|||
    version: 1.6.1
 | 
			
		||||
  - apiVersion: v1
 | 
			
		||||
    appVersion: 1.6.0
 | 
			
		||||
    created: "2022-05-19T16:01:17.848853103+02:00"
 | 
			
		||||
    created: "2022-06-20T11:57:53.017863057+02:00"
 | 
			
		||||
    description: Postgres Operator creates and manages PostgreSQL clusters running
 | 
			
		||||
      in Kubernetes
 | 
			
		||||
    digest: f52149718ea364f46b4b9eec9a65f6253ad182bb78df541d14cd5277b9c8a8c3
 | 
			
		||||
| 
						 | 
				
			
			@ -177,4 +199,4 @@ entries:
 | 
			
		|||
    urls:
 | 
			
		||||
    - postgres-operator-1.6.0.tgz
 | 
			
		||||
    version: 1.6.0
 | 
			
		||||
generated: "2022-05-19T16:01:17.843701398+02:00"
 | 
			
		||||
generated: "2022-06-20T11:57:53.016179465+02:00"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
										
											Binary file not shown.
										
									
								
							| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
image:
 | 
			
		||||
  registry: registry.opensource.zalan.do
 | 
			
		||||
  repository: acid/postgres-operator
 | 
			
		||||
  tag: v1.8.1
 | 
			
		||||
  tag: v1.8.2
 | 
			
		||||
  pullPolicy: "IfNotPresent"
 | 
			
		||||
 | 
			
		||||
  # Optionally specify an array of imagePullSecrets.
 | 
			
		||||
| 
						 | 
				
			
			@ -38,7 +38,7 @@ configGeneral:
 | 
			
		|||
  # Select if setup uses endpoints (default), or configmaps to manage leader (DCS=k8s)
 | 
			
		||||
  # kubernetes_use_configmaps: false
 | 
			
		||||
  # Spilo docker image
 | 
			
		||||
  docker_image: registry.opensource.zalan.do/acid/spilo-14:2.1-p5
 | 
			
		||||
  docker_image: registry.opensource.zalan.do/acid/spilo-14:2.1-p6
 | 
			
		||||
  # min number of instances in Postgres cluster. -1 = no limit
 | 
			
		||||
  min_instances: -1
 | 
			
		||||
  # max number of instances in Postgres cluster. -1 = no limit
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -268,7 +268,7 @@ configuration they are grouped under the `kubernetes` key.
 | 
			
		|||
  will be used. The default is empty.
 | 
			
		||||
 | 
			
		||||
* **pod_terminate_grace_period**
 | 
			
		||||
  Postgres pods are [terminated forcefully](https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods)
 | 
			
		||||
  Postgres pods are [terminated forcefully](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-termination)
 | 
			
		||||
  after this timeout. The default is `5m`.
 | 
			
		||||
 | 
			
		||||
* **custom_pod_annotations**
 | 
			
		||||
| 
						 | 
				
			
			@ -290,7 +290,7 @@ configuration they are grouped under the `kubernetes` key.
 | 
			
		|||
  An array of annotations that should be passed from Postgres CRD on to the
 | 
			
		||||
  statefulset and, if exists, to the connection pooler deployment as well.
 | 
			
		||||
  Regular expressions like `downscaler/*` etc. are also accepted. Can be used
 | 
			
		||||
  with [kube-downscaler](https://github.com/hjacobs/kube-downscaler).
 | 
			
		||||
  with [kube-downscaler](https://codeberg.org/hjacobs/kube-downscaler).
 | 
			
		||||
 | 
			
		||||
* **ignored_annotations**
 | 
			
		||||
  Some K8s tools inject and update annotations out of the Postgres Operator
 | 
			
		||||
| 
						 | 
				
			
			@ -408,10 +408,16 @@ configuration they are grouped under the `kubernetes` key.
 | 
			
		|||
 | 
			
		||||
* **pod_environment_configmap**
 | 
			
		||||
  namespaced name of the ConfigMap with environment variables to populate on
 | 
			
		||||
  every pod. Right now this ConfigMap is searched in the namespace of the
 | 
			
		||||
  Postgres cluster. All variables from that ConfigMap are injected to the pod's
 | 
			
		||||
  environment, on conflicts they are overridden by the environment variables
 | 
			
		||||
  generated by the operator. The default is empty.
 | 
			
		||||
  every pod. All variables from that ConfigMap are injected to the pod's
 | 
			
		||||
  environment if they not if conflict with the environment variables generated
 | 
			
		||||
  by the operator. The WAL location (bucket path) can be overridden, though.
 | 
			
		||||
  The default is empty.
 | 
			
		||||
  
 | 
			
		||||
* **pod_environment_secret**
 | 
			
		||||
  similar to pod_environment_configmap but referencing a secret with custom
 | 
			
		||||
  environment variables. Because the secret is not allowed to exist in a
 | 
			
		||||
  different namespace than a Postgres cluster you can only use it in a single
 | 
			
		||||
  namespace. The default is empty.
 | 
			
		||||
 | 
			
		||||
* **pod_priority_class_name**
 | 
			
		||||
  a name of the [priority class](https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass)
 | 
			
		||||
| 
						 | 
				
			
			@ -684,7 +690,7 @@ grouped under the `logical_backup` key.
 | 
			
		|||
  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`.
 | 
			
		||||
  The default image is the same image built with the Zalando-internal CI
 | 
			
		||||
  pipeline. Default: "registry.opensource.zalan.do/acid/logical-backup:v1.8.1"
 | 
			
		||||
  pipeline. Default: "registry.opensource.zalan.do/acid/logical-backup:v1.8.2"
 | 
			
		||||
 | 
			
		||||
* **logical_backup_google_application_credentials**
 | 
			
		||||
  Specifies the path of the google cloud service account json file. Default is empty.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -10,7 +10,7 @@ metadata:
 | 
			
		|||
#    "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
 | 
			
		||||
spec:
 | 
			
		||||
  dockerImage: registry.opensource.zalan.do/acid/spilo-14:2.1-p5
 | 
			
		||||
  dockerImage: registry.opensource.zalan.do/acid/spilo-14:2.1-p6
 | 
			
		||||
  teamId: "acid"
 | 
			
		||||
  numberOfInstances: 2
 | 
			
		||||
  users:  # Application/Robot users
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -34,7 +34,7 @@ data:
 | 
			
		|||
  # default_memory_request: 100Mi
 | 
			
		||||
  # delete_annotation_date_key: delete-date
 | 
			
		||||
  # delete_annotation_name_key: delete-clustername
 | 
			
		||||
  docker_image: registry.opensource.zalan.do/acid/spilo-14:2.1-p5
 | 
			
		||||
  docker_image: registry.opensource.zalan.do/acid/spilo-14:2.1-p6
 | 
			
		||||
  # downscaler_annotations: "deployment-time,downscaler/*"
 | 
			
		||||
  # enable_admin_role_for_users: "true"
 | 
			
		||||
  # enable_crd_registration: "true"
 | 
			
		||||
| 
						 | 
				
			
			@ -71,7 +71,7 @@ data:
 | 
			
		|||
  # kube_iam_role: ""
 | 
			
		||||
  # kubernetes_use_configmaps: "false"
 | 
			
		||||
  # log_s3_bucket: ""
 | 
			
		||||
  logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup:v1.8.1"
 | 
			
		||||
  logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup:v1.8.2"
 | 
			
		||||
  # logical_backup_google_application_credentials: ""
 | 
			
		||||
  logical_backup_job_prefix: "logical-backup-"
 | 
			
		||||
  logical_backup_provider: "s3"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -66,7 +66,7 @@ spec:
 | 
			
		|||
                  type: string
 | 
			
		||||
              docker_image:
 | 
			
		||||
                type: string
 | 
			
		||||
                default: "registry.opensource.zalan.do/acid/spilo-14:2.1-p5"
 | 
			
		||||
                default: "registry.opensource.zalan.do/acid/spilo-14:2.1-p6"
 | 
			
		||||
              enable_crd_registration:
 | 
			
		||||
                type: boolean
 | 
			
		||||
                default: true
 | 
			
		||||
| 
						 | 
				
			
			@ -448,7 +448,7 @@ spec:
 | 
			
		|||
                properties:
 | 
			
		||||
                  logical_backup_docker_image:
 | 
			
		||||
                    type: string
 | 
			
		||||
                    default: "registry.opensource.zalan.do/acid/logical-backup:v1.8.1"
 | 
			
		||||
                    default: "registry.opensource.zalan.do/acid/logical-backup:v1.8.2"
 | 
			
		||||
                  logical_backup_google_application_credentials:
 | 
			
		||||
                    type: string
 | 
			
		||||
                  logical_backup_job_prefix:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,7 +19,7 @@ spec:
 | 
			
		|||
      serviceAccountName: postgres-operator
 | 
			
		||||
      containers:
 | 
			
		||||
      - name: postgres-operator
 | 
			
		||||
        image: registry.opensource.zalan.do/acid/postgres-operator:v1.8.1
 | 
			
		||||
        image: registry.opensource.zalan.do/acid/postgres-operator:v1.8.2
 | 
			
		||||
        imagePullPolicy: IfNotPresent
 | 
			
		||||
        resources:
 | 
			
		||||
          requests:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,7 +3,7 @@ kind: OperatorConfiguration
 | 
			
		|||
metadata:
 | 
			
		||||
  name: postgresql-operator-default-configuration
 | 
			
		||||
configuration:
 | 
			
		||||
  docker_image: registry.opensource.zalan.do/acid/spilo-14:2.1-p5
 | 
			
		||||
  docker_image: registry.opensource.zalan.do/acid/spilo-14:2.1-p6
 | 
			
		||||
  # enable_crd_registration: true
 | 
			
		||||
  # crd_categories:
 | 
			
		||||
  # - all
 | 
			
		||||
| 
						 | 
				
			
			@ -144,7 +144,7 @@ configuration:
 | 
			
		|||
    # wal_gs_bucket: ""
 | 
			
		||||
    # wal_s3_bucket: ""
 | 
			
		||||
  logical_backup:
 | 
			
		||||
    logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup:v1.8.1"
 | 
			
		||||
    logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup:v1.8.2"
 | 
			
		||||
    # logical_backup_google_application_credentials: ""
 | 
			
		||||
    logical_backup_job_prefix: "logical-backup-"
 | 
			
		||||
    logical_backup_provider: "s3"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1867,22 +1867,15 @@ func (c *Cluster) generateCloneEnvironment(description *acidv1.CloneDescription)
 | 
			
		|||
		} else {
 | 
			
		||||
			c.logger.Debugf("use S3WalPath %s from the manifest", description.S3WalPath)
 | 
			
		||||
 | 
			
		||||
			envs := []v1.EnvVar{
 | 
			
		||||
				{
 | 
			
		||||
					Name:  "CLONE_WALE_S3_PREFIX",
 | 
			
		||||
					Value: description.S3WalPath,
 | 
			
		||||
				},
 | 
			
		||||
				{
 | 
			
		||||
					Name:  "CLONE_WAL_BUCKET_SCOPE_SUFFIX",
 | 
			
		||||
					Value: "",
 | 
			
		||||
				},
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			result = append(result, envs...)
 | 
			
		||||
			result = append(result, v1.EnvVar{
 | 
			
		||||
				Name:  "CLONE_WALE_S3_PREFIX",
 | 
			
		||||
				Value: description.S3WalPath,
 | 
			
		||||
			})
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		result = append(result, v1.EnvVar{Name: "CLONE_METHOD", Value: "CLONE_WITH_WALE"})
 | 
			
		||||
		result = append(result, v1.EnvVar{Name: "CLONE_TARGET_TIME", Value: description.EndTimestamp})
 | 
			
		||||
		result = append(result, v1.EnvVar{Name: "CLONE_WAL_BUCKET_SCOPE_PREFIX", Value: ""})
 | 
			
		||||
 | 
			
		||||
		if description.S3Endpoint != "" {
 | 
			
		||||
			result = append(result, v1.EnvVar{Name: "CLONE_AWS_ENDPOINT", Value: description.S3Endpoint})
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -550,8 +550,8 @@ func TestGenerateSpiloPodEnvVars(t *testing.T) {
 | 
			
		|||
			envVarValue:    "s3://another-bucket",
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			envIndex:       17,
 | 
			
		||||
			envVarConstant: "CLONE_WAL_BUCKET_SCOPE_SUFFIX",
 | 
			
		||||
			envIndex:       19,
 | 
			
		||||
			envVarConstant: "CLONE_WAL_BUCKET_SCOPE_PREFIX",
 | 
			
		||||
			envVarValue:    "",
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
| 
						 | 
				
			
			@ -572,14 +572,14 @@ func TestGenerateSpiloPodEnvVars(t *testing.T) {
 | 
			
		|||
			envVarValue:    fmt.Sprintf("/%s", dummyUUID),
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			envIndex:       20,
 | 
			
		||||
			envIndex:       21,
 | 
			
		||||
			envVarConstant: "clone_aws_endpoint",
 | 
			
		||||
			envVarValue:    "s3.eu-west-1.amazonaws.com",
 | 
			
		||||
		},
 | 
			
		||||
	}
 | 
			
		||||
	expectedCloneEnvSecret := []ExpectedValue{
 | 
			
		||||
		{
 | 
			
		||||
			envIndex:       20,
 | 
			
		||||
			envIndex:       21,
 | 
			
		||||
			envVarConstant: "clone_aws_access_key_id",
 | 
			
		||||
			envVarValueRef: &v1.EnvVarSource{
 | 
			
		||||
				SecretKeyRef: &v1.SecretKeySelector{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -38,7 +38,7 @@ func (c *Controller) importConfigurationFromCRD(fromCRD *acidv1.OperatorConfigur
 | 
			
		|||
	result.EnableSpiloWalPathCompat = fromCRD.EnableSpiloWalPathCompat
 | 
			
		||||
	result.EtcdHost = fromCRD.EtcdHost
 | 
			
		||||
	result.KubernetesUseConfigMaps = fromCRD.KubernetesUseConfigMaps
 | 
			
		||||
	result.DockerImage = util.Coalesce(fromCRD.DockerImage, "registry.opensource.zalan.do/acid/spilo-14:2.1-p5")
 | 
			
		||||
	result.DockerImage = util.Coalesce(fromCRD.DockerImage, "registry.opensource.zalan.do/acid/spilo-14:2.1-p6")
 | 
			
		||||
	result.Workers = util.CoalesceUInt32(fromCRD.Workers, 8)
 | 
			
		||||
	result.MinInstances = fromCRD.MinInstances
 | 
			
		||||
	result.MaxInstances = fromCRD.MaxInstances
 | 
			
		||||
| 
						 | 
				
			
			@ -165,7 +165,7 @@ func (c *Controller) importConfigurationFromCRD(fromCRD *acidv1.OperatorConfigur
 | 
			
		|||
 | 
			
		||||
	// logical backup config
 | 
			
		||||
	result.LogicalBackupSchedule = util.Coalesce(fromCRD.LogicalBackup.Schedule, "30 00 * * *")
 | 
			
		||||
	result.LogicalBackupDockerImage = util.Coalesce(fromCRD.LogicalBackup.DockerImage, "registry.opensource.zalan.do/acid/logical-backup:v1.8.1")
 | 
			
		||||
	result.LogicalBackupDockerImage = util.Coalesce(fromCRD.LogicalBackup.DockerImage, "registry.opensource.zalan.do/acid/logical-backup:v1.8.2")
 | 
			
		||||
	result.LogicalBackupProvider = util.Coalesce(fromCRD.LogicalBackup.BackupProvider, "s3")
 | 
			
		||||
	result.LogicalBackupS3Bucket = fromCRD.LogicalBackup.S3Bucket
 | 
			
		||||
	result.LogicalBackupS3Region = fromCRD.LogicalBackup.S3Region
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -122,7 +122,7 @@ type Scalyr struct {
 | 
			
		|||
// LogicalBackup defines configuration for logical backup
 | 
			
		||||
type LogicalBackup struct {
 | 
			
		||||
	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.8.1"`
 | 
			
		||||
	LogicalBackupDockerImage                  string `name:"logical_backup_docker_image" default:"registry.opensource.zalan.do/acid/logical-backup:v1.8.2"`
 | 
			
		||||
	LogicalBackupProvider                     string `name:"logical_backup_provider" default:"s3"`
 | 
			
		||||
	LogicalBackupS3Bucket                     string `name:"logical_backup_s3_bucket" 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'
 | 
			
		||||
	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
 | 
			
		||||
	DockerImage             string            `name:"docker_image" default:"registry.opensource.zalan.do/acid/spilo-14:2.1-p5"`
 | 
			
		||||
	DockerImage             string            `name:"docker_image" default:"registry.opensource.zalan.do/acid/spilo-14:2.1-p6"`
 | 
			
		||||
	SidecarImages           map[string]string `name:"sidecar_docker_images"` // deprecated in favour of SidecarContainers
 | 
			
		||||
	SidecarContainers       []v1.Container    `name:"sidecars"`
 | 
			
		||||
	PodServiceAccountName   string            `name:"pod_service_account_name" default:"postgres-pod"`
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -71,6 +71,7 @@ td {
 | 
			
		|||
  opacity: 1;
 | 
			
		||||
  font-size: 14px;
 | 
			
		||||
  font-weight: bold;
 | 
			
		||||
  z-index: 0;
 | 
			
		||||
}
 | 
			
		||||
.tooltip:after {
 | 
			
		||||
  content: '?';
 | 
			
		||||
| 
						 | 
				
			
			@ -97,7 +98,6 @@ td {
 | 
			
		|||
  border-radius: 6px;
 | 
			
		||||
  padding: 10px 10px;
 | 
			
		||||
  position: absolute;
 | 
			
		||||
  z-index: 1;
 | 
			
		||||
  bottom: 150%;
 | 
			
		||||
  left: 50%;
 | 
			
		||||
  margin-left: -120px;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue