From eb2d980aaaca15ab06999c8e0e26ff6925aee950 Mon Sep 17 00:00:00 2001 From: Christian Kotzbauer Date: Tue, 14 Dec 2021 08:51:13 +0100 Subject: [PATCH] update postgres-operator to 1.7.1 --- charts/postgres-operator/Chart.yaml | 4 ++-- charts/postgres-operator/README.md | 12 +++++------ .../crds/operatorconfigurations.yaml | 10 +++++----- .../postgres-operator/crds/postgresqls.yaml | 3 +-- charts/postgres-operator/values.yaml | 20 ++++++++++++------- 5 files changed, 27 insertions(+), 22 deletions(-) diff --git a/charts/postgres-operator/Chart.yaml b/charts/postgres-operator/Chart.yaml index c45c61e..22316f0 100644 --- a/charts/postgres-operator/Chart.yaml +++ b/charts/postgres-operator/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 name: postgres-operator description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes -version: 1.7.0 -appVersion: 1.7.0 +version: 1.7.1 +appVersion: 1.7.1 home: https://github.com/zalando/postgres-operator sources: - https://github.com/zalando/postgres-operator diff --git a/charts/postgres-operator/README.md b/charts/postgres-operator/README.md index ee4291b..7af74ea 100644 --- a/charts/postgres-operator/README.md +++ b/charts/postgres-operator/README.md @@ -38,7 +38,7 @@ The following table lists the configurable parameters of the Postgres-operator c | ------------------------ | ----------------------- | -------------- | | `image.registry` | | `"registry.opensource.zalan.do"` | | `image.repository` | | `"acid/postgres-operator"` | -| `image.tag` | | `"v1.7.0"` | +| `image.tag` | | `"v1.7.1"` | | `image.pullPolicy` | | `"IfNotPresent"` | | `podAnnotations` | | `{}` | | `podLabels` | | `{}` | @@ -49,7 +49,7 @@ The following table lists the configurable parameters of the Postgres-operator c | `configGeneral.enable_shm_volume` | | `true` | | `configGeneral.enable_spilo_wal_path_compat` | | `false` | | `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.max_instances` | | `-1` | | `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.super_username` | | `"postgres"` | | `configMajorVersionUpgrade.major_version_upgrade_mode` | | `"off"` | -| `configMajorVersionUpgrade.minimal_major_version` | | `"9.5"` | -| `configMajorVersionUpgrade.target_major_version` | | `"13"` | +| `configMajorVersionUpgrade.minimal_major_version` | | `"9.6"` | +| `configMajorVersionUpgrade.target_major_version` | | `"14"` | | `configKubernetes.cluster_domain` | | `"cluster.local"` | | `configKubernetes.cluster_labels.application` | | `"spilo"` | | `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` | | `configAwsOrGcp.aws_region` | | `"eu-central-1"` | | `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_provider` | | `"s3"` | | `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"` | | `configConnectionPooler.connection_pooler_schema` | | `"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_mode` | | `"transaction"` | | `configConnectionPooler.connection_pooler_number_of_instances` | | `2` | diff --git a/charts/postgres-operator/crds/operatorconfigurations.yaml b/charts/postgres-operator/crds/operatorconfigurations.yaml index c29ab30..90a632f 100644 --- a/charts/postgres-operator/crds/operatorconfigurations.yaml +++ b/charts/postgres-operator/crds/operatorconfigurations.yaml @@ -65,7 +65,7 @@ spec: properties: docker_image: 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: type: boolean default: true @@ -135,10 +135,10 @@ spec: default: "off" minimal_major_version: type: string - default: "9.5" + default: "9.6" target_major_version: type: string - default: "13" + default: "14" kubernetes: type: object properties: @@ -402,7 +402,7 @@ spec: properties: logical_backup_docker_image: 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: type: string logical_backup_job_prefix: @@ -537,7 +537,7 @@ spec: default: "pooler" connection_pooler_image: 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: type: integer default: 60 diff --git a/charts/postgres-operator/crds/postgresqls.yaml b/charts/postgres-operator/crds/postgresqls.yaml index 4f97a29..9ac4cfb 100644 --- a/charts/postgres-operator/crds/postgresqls.yaml +++ b/charts/postgres-operator/crds/postgresqls.yaml @@ -362,14 +362,13 @@ spec: version: type: string enum: - - "9.3" - - "9.4" - "9.5" - "9.6" - "10" - "11" - "12" - "13" + - "14" parameters: type: object additionalProperties: diff --git a/charts/postgres-operator/values.yaml b/charts/postgres-operator/values.yaml index 40f2580..9af19b5 100644 --- a/charts/postgres-operator/values.yaml +++ b/charts/postgres-operator/values.yaml @@ -1,7 +1,7 @@ image: registry: registry.opensource.zalan.do repository: acid/postgres-operator - tag: v1.7.0 + tag: v1.7.1 pullPolicy: "IfNotPresent" # Optionally specify an array of imagePullSecrets. @@ -26,14 +26,14 @@ configGeneral: enable_pgversion_env_var: true # start any new database pod without limitations on shm memory 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 # etcd connection string for Patroni. Empty uses K8s-native DCS. etcd_host: "" # 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-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_instances: -1 # 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 major_version_upgrade_mode: "off" # 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_major_version: "13" + target_major_version: "14" configKubernetes: # list of additional capabilities for postgres container @@ -164,6 +164,12 @@ configKubernetes: spilo_allow_privilege_escalation: true # storage resize strategy, available options are: ebs, pvc, off 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 watched_namespace: "*" # listen to all namespaces @@ -270,7 +276,7 @@ configAwsOrGcp: # configure K8s cron job managed by the operator configLogicalBackup: # 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 # logical_backup_google_application_credentials: "" @@ -335,7 +341,7 @@ configConnectionPooler: # db user for pooler to use connection_pooler_user: "pooler" # 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 connection_pooler_max_db_connections: 60 # default pooling mode