From f8aa77397dba702a1a561588a27cfa6e14577770 Mon Sep 17 00:00:00 2001 From: ace Date: Sat, 10 Jun 2023 06:21:30 +0300 Subject: [PATCH] postgres-operator: bump to v1.10.0, helm chart v1.10.0 --- postgres-operator/Chart.yaml | 4 +-- .../crds/operatorconfigurations.yaml | 8 ++--- postgres-operator/index.yaml | 36 +++++++++++++++---- postgres-operator/templates/configmap.yaml | 1 + .../templates/operatorconfiguration.yaml | 2 ++ postgres-operator/values.yaml | 10 +++--- 6 files changed, 43 insertions(+), 18 deletions(-) diff --git a/postgres-operator/Chart.yaml b/postgres-operator/Chart.yaml index 7ab3e39..bf80e80 100644 --- a/postgres-operator/Chart.yaml +++ b/postgres-operator/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: postgres-operator -version: 1.9.0 -appVersion: 1.9.0 +version: 1.10.0 +appVersion: 1.10.0 home: https://github.com/zalando/postgres-operator description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes keywords: diff --git a/postgres-operator/crds/operatorconfigurations.yaml b/postgres-operator/crds/operatorconfigurations.yaml index e01a5f9..46d135f 100644 --- a/postgres-operator/crds/operatorconfigurations.yaml +++ b/postgres-operator/crds/operatorconfigurations.yaml @@ -68,7 +68,7 @@ spec: type: string docker_image: type: string - default: "ghcr.io/zalando/spilo-15:2.1-p9" + default: "ghcr.io/zalando/spilo-15:3.0-p1" enable_crd_registration: type: boolean default: true @@ -489,7 +489,7 @@ spec: pattern: '^(\d+m|\d+(\.\d{1,3})?)$' logical_backup_docker_image: type: string - default: "registry.opensource.zalan.do/acid/logical-backup:v1.9.0" + default: "registry.opensource.zalan.do/acid/logical-backup:v1.10.0" logical_backup_google_application_credentials: type: string logical_backup_job_prefix: @@ -637,7 +637,7 @@ spec: default: "pooler" connection_pooler_image: type: string - default: "registry.opensource.zalan.do/acid/pgbouncer:master-26" + default: "registry.opensource.zalan.do/acid/pgbouncer:master-27" connection_pooler_max_db_connections: type: integer default: 60 @@ -670,7 +670,7 @@ spec: patroni: type: object properties: - failsafe_mode: + enable_patroni_failsafe_mode: type: boolean default: false status: diff --git a/postgres-operator/index.yaml b/postgres-operator/index.yaml index c42fc35..ccb9e00 100644 --- a/postgres-operator/index.yaml +++ b/postgres-operator/index.yaml @@ -1,9 +1,31 @@ apiVersion: v1 entries: postgres-operator: + - apiVersion: v2 + appVersion: 1.10.0 + created: "2023-04-20T15:17:33.816556775+02:00" + description: Postgres Operator creates and manages PostgreSQL clusters running + in Kubernetes + digest: 60fc5c8059dfed175d14e1034b40997d9c59d33ec8ea158c0597f7228ab04b51 + 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.10.0.tgz + version: 1.10.0 - apiVersion: v2 appVersion: 1.9.0 - created: "2023-01-17T15:33:03.869287885+01:00" + created: "2023-04-20T15:17:33.826385642+02:00" description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes digest: 64df90c898ca591eb3a330328173ffaadfbf9ddd474d8c42ed143edc9e3f4276 @@ -25,7 +47,7 @@ entries: version: 1.9.0 - apiVersion: v2 appVersion: 1.8.2 - created: "2023-01-17T15:33:03.86746187+01:00" + created: "2023-04-20T15:17:33.824908306+02:00" description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes digest: f77ffad2e98b72a621e5527015cf607935d3ed688f10ba4b626435acb9631b5b @@ -47,7 +69,7 @@ entries: version: 1.8.2 - apiVersion: v2 appVersion: 1.8.1 - created: "2023-01-17T15:33:03.865880826+01:00" + created: "2023-04-20T15:17:33.823470311+02:00" description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes digest: ee0c3bb6ba72fa4289ba3b1c6060e5b312dd023faba2a61b4cb7d9e5e2cc57a5 @@ -69,7 +91,7 @@ entries: version: 1.8.1 - apiVersion: v1 appVersion: 1.8.0 - created: "2023-01-17T15:33:03.8643608+01:00" + created: "2023-04-20T15:17:33.822014945+02:00" description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes digest: 3ae232cf009e09aa2ad11c171484cd2f1b72e63c59735e58fbe2b6eb842f4c86 @@ -91,7 +113,7 @@ entries: version: 1.8.0 - apiVersion: v1 appVersion: 1.7.1 - created: "2023-01-17T15:33:03.862914146+01:00" + created: "2023-04-20T15:17:33.819324505+02:00" description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes digest: 7262563bec0b058e669ae6bcff0226e33fa9ece9c41ac46a53274046afe7700c @@ -113,7 +135,7 @@ entries: version: 1.7.1 - apiVersion: v1 appVersion: 1.7.0 - created: "2023-01-17T15:33:03.861539439+01:00" + created: "2023-04-20T15:17:33.817929939+02:00" description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes digest: c3e99fb94305f81484b8b1af18eefb78681f3b5d057d5ad10565e4afb7c65ffe @@ -133,4 +155,4 @@ entries: urls: - postgres-operator-1.7.0.tgz version: 1.7.0 -generated: "2023-01-17T15:33:03.859917247+01:00" +generated: "2023-04-20T15:17:33.814720127+02:00" diff --git a/postgres-operator/templates/configmap.yaml b/postgres-operator/templates/configmap.yaml index 094652a..471f1ae 100644 --- a/postgres-operator/templates/configmap.yaml +++ b/postgres-operator/templates/configmap.yaml @@ -26,4 +26,5 @@ data: {{- include "flattenValuesForConfigMap" .Values.configLoggingRestApi | indent 2 }} {{- include "flattenValuesForConfigMap" .Values.configTeamsApi | indent 2 }} {{- include "flattenValuesForConfigMap" .Values.configConnectionPooler | indent 2 }} +{{- include "flattenValuesForConfigMap" .Values.configPatroni | indent 2 }} {{- end }} diff --git a/postgres-operator/templates/operatorconfiguration.yaml b/postgres-operator/templates/operatorconfiguration.yaml index ef4674d..6d3b0eb 100644 --- a/postgres-operator/templates/operatorconfiguration.yaml +++ b/postgres-operator/templates/operatorconfiguration.yaml @@ -40,4 +40,6 @@ configuration: {{ toYaml .Values.configLoggingRestApi | indent 4 }} connection_pooler: {{ toYaml .Values.configConnectionPooler | indent 4 }} + patroni: +{{ toYaml .Values.configPatroni | indent 4 }} {{- end }} diff --git a/postgres-operator/values.yaml b/postgres-operator/values.yaml index bca269b..3032cd6 100644 --- a/postgres-operator/values.yaml +++ b/postgres-operator/values.yaml @@ -1,7 +1,7 @@ image: registry: registry.opensource.zalan.do repository: acid/postgres-operator - tag: v1.9.0 + tag: v1.10.0 pullPolicy: "IfNotPresent" # Optionally specify an array of imagePullSecrets. @@ -38,7 +38,7 @@ configGeneral: # etcd connection string for Patroni. Empty uses K8s-native DCS. etcd_host: "" # Spilo docker image - docker_image: ghcr.io/zalando/spilo-15:2.1-p9 + docker_image: ghcr.io/zalando/spilo-15:3.0-p1 # key name for annotation to ignore globally configured instance limits # ignore_instance_limits_annotation_key: "" @@ -348,7 +348,7 @@ configLogicalBackup: # logical_backup_memory_request: "" # image for pods of the logical backup job (example runs pg_dumpall) - logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup:v1.8.0" + logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup:v1.10.0" # path of google cloud service account json file # logical_backup_google_application_credentials: "" @@ -416,7 +416,7 @@ configConnectionPooler: # db user for pooler to use connection_pooler_user: "pooler" # docker image - connection_pooler_image: "registry.opensource.zalan.do/acid/pgbouncer:master-26" + connection_pooler_image: "registry.opensource.zalan.do/acid/pgbouncer:master-27" # max db connections the pooler should hold connection_pooler_max_db_connections: 60 # default pooling mode @@ -431,7 +431,7 @@ configConnectionPooler: configPatroni: # enable Patroni DCS failsafe_mode feature - failsafe_mode: false + enable_patroni_failsafe_mode: false # Zalando's internal CDC stream feature enableStreams: false