update postgres-operator to 1.7.1

This commit is contained in:
Christian Kotzbauer 2021-12-14 08:51:13 +01:00
parent 128a37b290
commit eb2d980aaa
5 changed files with 27 additions and 22 deletions

View File

@ -1,8 +1,8 @@
apiVersion: v2 apiVersion: v2
name: postgres-operator name: postgres-operator
description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes
version: 1.7.0 version: 1.7.1
appVersion: 1.7.0 appVersion: 1.7.1
home: https://github.com/zalando/postgres-operator home: https://github.com/zalando/postgres-operator
sources: sources:
- https://github.com/zalando/postgres-operator - https://github.com/zalando/postgres-operator

View File

@ -38,7 +38,7 @@ The following table lists the configurable parameters of the Postgres-operator c
| ------------------------ | ----------------------- | -------------- | | ------------------------ | ----------------------- | -------------- |
| `image.registry` | | `"registry.opensource.zalan.do"` | | `image.registry` | | `"registry.opensource.zalan.do"` |
| `image.repository` | | `"acid/postgres-operator"` | | `image.repository` | | `"acid/postgres-operator"` |
| `image.tag` | | `"v1.7.0"` | | `image.tag` | | `"v1.7.1"` |
| `image.pullPolicy` | | `"IfNotPresent"` | | `image.pullPolicy` | | `"IfNotPresent"` |
| `podAnnotations` | | `{}` | | `podAnnotations` | | `{}` |
| `podLabels` | | `{}` | | `podLabels` | | `{}` |
@ -49,7 +49,7 @@ The following table lists the configurable parameters of the Postgres-operator c
| `configGeneral.enable_shm_volume` | | `true` | | `configGeneral.enable_shm_volume` | | `true` |
| `configGeneral.enable_spilo_wal_path_compat` | | `false` | | `configGeneral.enable_spilo_wal_path_compat` | | `false` |
| `configGeneral.etcd_host` | | `""` | | `configGeneral.etcd_host` | | `""` |
| `configGeneral.docker_image` | | `"registry.opensource.zalan.do/acid/spilo-13:2.1-p1"` | | `configGeneral.docker_image` | | `"registry.opensource.zalan.do/acid/spilo-14:2.1-p3"` |
| `configGeneral.min_instances` | | `-1` | | `configGeneral.min_instances` | | `-1` |
| `configGeneral.max_instances` | | `-1` | | `configGeneral.max_instances` | | `-1` |
| `configGeneral.repair_period` | | `"5m"` | | `configGeneral.repair_period` | | `"5m"` |
@ -58,8 +58,8 @@ The following table lists the configurable parameters of the Postgres-operator c
| `configUsers.replication_username` | | `"standby"` | | `configUsers.replication_username` | | `"standby"` |
| `configUsers.super_username` | | `"postgres"` | | `configUsers.super_username` | | `"postgres"` |
| `configMajorVersionUpgrade.major_version_upgrade_mode` | | `"off"` | | `configMajorVersionUpgrade.major_version_upgrade_mode` | | `"off"` |
| `configMajorVersionUpgrade.minimal_major_version` | | `"9.5"` | | `configMajorVersionUpgrade.minimal_major_version` | | `"9.6"` |
| `configMajorVersionUpgrade.target_major_version` | | `"13"` | | `configMajorVersionUpgrade.target_major_version` | | `"14"` |
| `configKubernetes.cluster_domain` | | `"cluster.local"` | | `configKubernetes.cluster_domain` | | `"cluster.local"` |
| `configKubernetes.cluster_labels.application` | | `"spilo"` | | `configKubernetes.cluster_labels.application` | | `"spilo"` |
| `configKubernetes.cluster_name_label` | | `"cluster-name"` | | `configKubernetes.cluster_name_label` | | `"cluster-name"` |
@ -103,7 +103,7 @@ The following table lists the configurable parameters of the Postgres-operator c
| `configLoggingRestApi.ring_log_lines` | | `100` | | `configLoggingRestApi.ring_log_lines` | | `100` |
| `configAwsOrGcp.aws_region` | | `"eu-central-1"` | | `configAwsOrGcp.aws_region` | | `"eu-central-1"` |
| `configAwsOrGcp.enable_ebs_gp3_migration` | | `false` | | `configAwsOrGcp.enable_ebs_gp3_migration` | | `false` |
| `configLogicalBackup.logical_backup_docker_image` | | `"registry.opensource.zalan.do/acid/logical-backup:v1.7.0"` | | `configLogicalBackup.logical_backup_docker_image` | | `"registry.opensource.zalan.do/acid/logical-backup:v1.7.1"` |
| `configLogicalBackup.logical_backup_job_prefix` | | `"logical-backup-"` | | `configLogicalBackup.logical_backup_job_prefix` | | `"logical-backup-"` |
| `configLogicalBackup.logical_backup_provider` | | `"s3"` | | `configLogicalBackup.logical_backup_provider` | | `"s3"` |
| `configLogicalBackup.logical_backup_s3_access_key_id` | | `""` | | `configLogicalBackup.logical_backup_s3_access_key_id` | | `""` |
@ -127,7 +127,7 @@ The following table lists the configurable parameters of the Postgres-operator c
| `configTeamsApi.team_api_role_configuration.log_statement` | | `"all"` | | `configTeamsApi.team_api_role_configuration.log_statement` | | `"all"` |
| `configConnectionPooler.connection_pooler_schema` | | `"pooler"` | | `configConnectionPooler.connection_pooler_schema` | | `"pooler"` |
| `configConnectionPooler.connection_pooler_user` | | `"pooler"` | | `configConnectionPooler.connection_pooler_user` | | `"pooler"` |
| `configConnectionPooler.connection_pooler_image` | | `"registry.opensource.zalan.do/acid/pgbouncer:master-18"` | | `configConnectionPooler.connection_pooler_image` | | `"registry.opensource.zalan.do/acid/pgbouncer:master-19"` |
| `configConnectionPooler.connection_pooler_max_db_connections` | | `60` | | `configConnectionPooler.connection_pooler_max_db_connections` | | `60` |
| `configConnectionPooler.connection_pooler_mode` | | `"transaction"` | | `configConnectionPooler.connection_pooler_mode` | | `"transaction"` |
| `configConnectionPooler.connection_pooler_number_of_instances` | | `2` | | `configConnectionPooler.connection_pooler_number_of_instances` | | `2` |

View File

@ -65,7 +65,7 @@ spec:
properties: properties:
docker_image: docker_image:
type: string type: string
default: "registry.opensource.zalan.do/acid/spilo-13:2.1-p1" default: "registry.opensource.zalan.do/acid/spilo-14:2.1-p3"
enable_crd_validation: enable_crd_validation:
type: boolean type: boolean
default: true default: true
@ -135,10 +135,10 @@ spec:
default: "off" default: "off"
minimal_major_version: minimal_major_version:
type: string type: string
default: "9.5" default: "9.6"
target_major_version: target_major_version:
type: string type: string
default: "13" default: "14"
kubernetes: kubernetes:
type: object type: object
properties: properties:
@ -402,7 +402,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.0" default: "registry.opensource.zalan.do/acid/logical-backup:v1.7.1"
logical_backup_google_application_credentials: logical_backup_google_application_credentials:
type: string type: string
logical_backup_job_prefix: logical_backup_job_prefix:
@ -537,7 +537,7 @@ spec:
default: "pooler" default: "pooler"
connection_pooler_image: connection_pooler_image:
type: string type: string
default: "registry.opensource.zalan.do/acid/pgbouncer:master-18" default: "registry.opensource.zalan.do/acid/pgbouncer:master-19"
connection_pooler_max_db_connections: connection_pooler_max_db_connections:
type: integer type: integer
default: 60 default: 60

View File

@ -362,14 +362,13 @@ spec:
version: version:
type: string type: string
enum: enum:
- "9.3"
- "9.4"
- "9.5" - "9.5"
- "9.6" - "9.6"
- "10" - "10"
- "11" - "11"
- "12" - "12"
- "13" - "13"
- "14"
parameters: parameters:
type: object type: object
additionalProperties: additionalProperties:

View File

@ -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.0 tag: v1.7.1
pullPolicy: "IfNotPresent" pullPolicy: "IfNotPresent"
# Optionally specify an array of imagePullSecrets. # Optionally specify an array of imagePullSecrets.
@ -26,14 +26,14 @@ configGeneral:
enable_pgversion_env_var: true enable_pgversion_env_var: true
# start any new database pod without limitations on shm memory # start any new database pod without limitations on shm memory
enable_shm_volume: true enable_shm_volume: true
# enables backwards compatible path between Spilo 12 and Spilo 13 images # enables backwards compatible path between Spilo 12 and Spilo 13+ images
enable_spilo_wal_path_compat: false enable_spilo_wal_path_compat: false
# etcd connection string for Patroni. Empty uses K8s-native DCS. # etcd connection string for Patroni. Empty uses K8s-native DCS.
etcd_host: "" etcd_host: ""
# 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-13:2.1-p1 docker_image: registry.opensource.zalan.do/acid/spilo-14:2.1-p3
# 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
@ -63,9 +63,9 @@ configMajorVersionUpgrade:
# "off": no upgrade, "manual": manifest triggers action, "full": minimal version violation triggers too # "off": no upgrade, "manual": manifest triggers action, "full": minimal version violation triggers too
major_version_upgrade_mode: "off" major_version_upgrade_mode: "off"
# minimal Postgres major version that will not automatically be upgraded # minimal Postgres major version that will not automatically be upgraded
minimal_major_version: "9.5" minimal_major_version: "9.6"
# target Postgres major version when upgrading clusters automatically # target Postgres major version when upgrading clusters automatically
target_major_version: "13" target_major_version: "14"
configKubernetes: configKubernetes:
# list of additional capabilities for postgres container # list of additional capabilities for postgres container
@ -164,6 +164,12 @@ configKubernetes:
spilo_allow_privilege_escalation: true spilo_allow_privilege_escalation: true
# storage resize strategy, available options are: ebs, pvc, off # storage resize strategy, available options are: ebs, pvc, off
storage_resize_mode: pvc storage_resize_mode: pvc
# pod toleration assigned to instances of every Postgres cluster
# toleration:
# key: db-only
# operator: Exists
# effect: NoSchedule
# operator watches for postgres objects in the given namespace # operator watches for postgres objects in the given namespace
watched_namespace: "*" # listen to all namespaces watched_namespace: "*" # listen to all namespaces
@ -270,7 +276,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.0" logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup:v1.7.1"
# 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: ""
@ -335,7 +341,7 @@ configConnectionPooler:
# db user for pooler to use # db user for pooler to use
connection_pooler_user: "pooler" connection_pooler_user: "pooler"
# docker image # docker image
connection_pooler_image: "registry.opensource.zalan.do/acid/pgbouncer:master-18" connection_pooler_image: "registry.opensource.zalan.do/acid/pgbouncer:master-19"
# max db connections the pooler should hold # max db connections the pooler should hold
connection_pooler_max_db_connections: 60 connection_pooler_max_db_connections: 60
# default pooling mode # default pooling mode