瀏覽代碼

[bitnami/cloudnative-pg] :zap: :arrow_up: Update dependency references (#35765)

* [bitnami/cloudnative-pg] Release 1.0.12 updating components versions

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* Update CRDs automatically

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* [bitnami/cloudnative-pg] Release 1.0.12 updating components versions

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* Update CRDs automatically

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* [bitnami/cloudnative-pg] Release 1.0.12 updating components versions

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* Update CRDs automatically

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* [bitnami/cloudnative-pg] Release 1.0.12 updating components versions

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* Update CRDs automatically

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* [bitnami/cloudnative-pg] Release 1.0.12 updating components versions

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* Update CRDs automatically

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* [bitnami/cloudnative-pg] Release 1.0.12 updating components versions

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* Update CRDs automatically

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* [bitnami/cloudnative-pg] Release 1.0.12 updating components versions

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* Update CRDs automatically

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* Add FailoverQuorum CRDs and role permissions

Signed-off-by: Miguel Ruiz <miguel.ruiz@broadcom.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

---------

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
Signed-off-by: Miguel Ruiz <miguel.ruiz@broadcom.com>
Co-authored-by: Miguel Ruiz <miguel.ruiz@broadcom.com>
Bitnami Bot 2 周之前
父節點
當前提交
8e28a24a5d

+ 6 - 2
bitnami/cloudnative-pg/CHANGELOG.md

@@ -1,8 +1,12 @@
 # Changelog
 
-## 1.0.11 (2025-08-07)
+## 1.0.12 (2025-08-28)
 
-* [bitnami/cloudnative-pg] :zap: :arrow_up: Update dependency references ([#35664](https://github.com/bitnami/charts/pull/35664))
+* [bitnami/cloudnative-pg] :zap: :arrow_up: Update dependency references ([#35765](https://github.com/bitnami/charts/pull/35765))
+
+## <small>1.0.11 (2025-08-07)</small>
+
+* [bitnami/cloudnative-pg] :zap: :arrow_up: Update dependency references (#35664) ([98bb1e0](https://github.com/bitnami/charts/commit/98bb1e0bee60e843f71a3925a1b11d8f076a8715)), closes [#35664](https://github.com/bitnami/charts/issues/35664)
 
 ## <small>1.0.10 (2025-08-07)</small>
 

+ 3 - 3
bitnami/cloudnative-pg/Chart.lock

@@ -1,6 +1,6 @@
 dependencies:
 - name: common
   repository: oci://registry-1.docker.io/bitnamicharts
-  version: 2.31.3
-digest: sha256:f9c314553215490ea1b94c70082cb152d6ff5916ce185b4e00f5287f81545b4c
-generated: "2025-08-07T19:09:41.863028834Z"
+  version: 2.31.4
+digest: sha256:fc442e77200e1914dd46fe26490dcf62f44caa51db673c2f8e67d5319cd4c163
+generated: "2025-08-26T12:58:50.466166075Z"

+ 6 - 6
bitnami/cloudnative-pg/Chart.yaml

@@ -5,17 +5,17 @@ annotations:
   category: Infrastructure
   images: |
     - name: cloudnative-pg
-      image: docker.io/bitnami/cloudnative-pg:1.26.1-debian-12-r1
+      image: docker.io/bitnami/cloudnative-pg:1.27.0-debian-12-r1
     - name: plugin-barman-cloud
-      image: docker.io/bitnami/plugin-barman-cloud:0.5.0-debian-12-r3
+      image: docker.io/bitnami/plugin-barman-cloud:0.6.0-debian-12-r0
     - name: plugin-barman-cloud-sidecar
-      image: docker.io/bitnami/plugin-barman-cloud-sidecar:0.5.0-debian-12-r22
+      image: docker.io/bitnami/plugin-barman-cloud-sidecar:0.6.0-debian-12-r0
     - name: postgresql
-      image: docker.io/bitnami/postgresql:17.5.0-debian-12-r20
+      image: docker.io/bitnami/postgresql:17.6.0-debian-12-r4
   licenses: Apache-2.0
   tanzuCategory: service
 apiVersion: v2
-appVersion: 1.26.1
+appVersion: 1.27.0
 dependencies:
 - name: common
   repository: oci://registry-1.docker.io/bitnamicharts
@@ -36,4 +36,4 @@ maintainers:
 name: cloudnative-pg
 sources:
 - https://github.com/bitnami/charts/tree/main/bitnami/cloudnative-pg
-version: 1.0.11
+version: 1.0.12

+ 6 - 2
bitnami/cloudnative-pg/crds/barmancloud.cnpg.io_objectstores.yaml

@@ -1,5 +1,5 @@
 # Source: https://raw.githubusercontent.com/cloudnative-pg/plugin-barman-cloud/refs/tags/v{version}/config/crd/bases/barmancloud.cnpg.io_objectstores.yaml
-# Version: 0.5.0
+# Version: 0.6.0
 # VersionOf: plugin-barman-cloud
 ---
 apiVersion: apiextensions.k8s.io/v1
@@ -612,7 +612,11 @@ spec:
                         restored.
                       format: date-time
                       type: string
-                    lastSuccussfulBackupTime:
+                    lastFailedBackupTime:
+                      description: The last failed backup time
+                      format: date-time
+                      type: string
+                    lastSuccessfulBackupTime:
                       description: The last successful backup time
                       format: date-time
                       type: string

+ 4 - 1
bitnami/cloudnative-pg/crds/postgresql.cnpg.io_backups.yaml

@@ -1,5 +1,5 @@
 # Source: https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/refs/tags/v{version}/config/crd/bases/postgresql.cnpg.io_backups.yaml
-# Version: 1.26.1
+# Version: 1.27.0
 ---
 apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition
@@ -144,6 +144,9 @@ spec:
             required:
             - cluster
             type: object
+            x-kubernetes-validations:
+            - message: BackupSpec is immutable once set
+              rule: oldSelf == self
           status:
             description: |-
               Most recently observed status of the backup. This data may not be up to

+ 1 - 1
bitnami/cloudnative-pg/crds/postgresql.cnpg.io_clusterimagecatalogs.yaml

@@ -1,5 +1,5 @@
 # Source: https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/refs/tags/v{version}/config/crd/bases/postgresql.cnpg.io_clusterimagecatalogs.yaml
-# Version: 1.26.1
+# Version: 1.27.0
 ---
 apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition

+ 95 - 1
bitnami/cloudnative-pg/crds/postgresql.cnpg.io_clusters.yaml

@@ -1,5 +1,5 @@
 # Source: https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/refs/tags/v{version}/config/crd/bases/postgresql.cnpg.io_clusters.yaml
-# Version: 1.26.1
+# Version: 1.27.0
 ---
 apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition
@@ -4013,6 +4013,67 @@ spec:
                       This should only be used for debugging and troubleshooting.
                       Defaults to false.
                     type: boolean
+                  extensions:
+                    description: The configuration of the extensions to be added
+                    items:
+                      description: |-
+                        ExtensionConfiguration is the configuration used to add
+                        PostgreSQL extensions to the Cluster.
+                      properties:
+                        dynamic_library_path:
+                          description: |-
+                            The list of directories inside the image which should be added to dynamic_library_path.
+                            If not defined, defaults to "/lib".
+                          items:
+                            type: string
+                          type: array
+                        extension_control_path:
+                          description: |-
+                            The list of directories inside the image which should be added to extension_control_path.
+                            If not defined, defaults to "/share".
+                          items:
+                            type: string
+                          type: array
+                        image:
+                          description: The image containing the extension, required
+                          properties:
+                            pullPolicy:
+                              description: |-
+                                Policy for pulling OCI objects. Possible values are:
+                                Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.
+                                Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.
+                                IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.
+                                Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
+                              type: string
+                            reference:
+                              description: |-
+                                Required: Image or artifact reference to be used.
+                                Behaves in the same way as pod.spec.containers[*].image.
+                                Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets.
+                                More info: https://kubernetes.io/docs/concepts/containers/images
+                                This field is optional to allow higher level config management to default or override
+                                container images in workload controllers like Deployments and StatefulSets.
+                              type: string
+                          type: object
+                          x-kubernetes-validations:
+                          - message: An image reference is required
+                            rule: has(self.reference)
+                        ld_library_path:
+                          description: The list of directories inside the image which
+                            should be added to ld_library_path.
+                          items:
+                            type: string
+                          type: array
+                        name:
+                          description: The name of the extension, required
+                          minLength: 1
+                          pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
+                          type: string
+                      required:
+                      - image
+                      - name
+                      type: object
+                    type: array
                   ldap:
                     description: Options to specify LDAP configuration
                     properties:
@@ -4251,6 +4312,30 @@ spec:
                           More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
                         format: int32
                         type: integer
+                      isolationCheck:
+                        description: |-
+                          Configure the feature that extends the liveness probe for a primary
+                          instance. In addition to the basic checks, this verifies whether the
+                          primary is isolated from the Kubernetes API server and from its
+                          replicas, ensuring that it can be safely shut down if network
+                          partition or API unavailability is detected. Enabled by default.
+                        properties:
+                          connectionTimeout:
+                            default: 1000
+                            description: Timeout in milliseconds for connections during
+                              the primary isolation check
+                            type: integer
+                          enabled:
+                            default: true
+                            description: Whether primary isolation checking is enabled
+                              for the liveness probe
+                            type: boolean
+                          requestTimeout:
+                            default: 1000
+                            description: Timeout in milliseconds for requests during
+                              the primary isolation check
+                            type: integer
+                        type: object
                       periodSeconds:
                         description: |-
                           How often (in seconds) to perform the probe.
@@ -4822,6 +4907,15 @@ spec:
                           This can only be set at creation time. By default set to `_cnpg_`.
                         pattern: ^[0-9a-z_]*$
                         type: string
+                      synchronizeLogicalDecoding:
+                        description: |-
+                          When enabled, the operator automatically manages synchronization of logical
+                          decoding (replication) slots across high-availability clusters.
+
+                          Requires one of the following conditions:
+                          - PostgreSQL version 17 or later
+                          - PostgreSQL version < 17 with pg_failover_slots extension enabled
+                        type: boolean
                     type: object
                   synchronizeReplicas:
                     description: Configures the synchronization of the user defined

+ 1 - 1
bitnami/cloudnative-pg/crds/postgresql.cnpg.io_databases.yaml

@@ -1,5 +1,5 @@
 # Source: https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/refs/tags/v{version}/config/crd/bases/postgresql.cnpg.io_databases.yaml
-# Version: 1.26.1
+# Version: 1.27.0
 ---
 apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition

+ 79 - 0
bitnami/cloudnative-pg/crds/postgresql.cnpg.io_failoverquorums.yaml

@@ -0,0 +1,79 @@
+# Source: https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/refs/tags/v{version}/config/crd/bases/postgresql.cnpg.io_failoverquorums.yaml
+# Version: 1.27.0
+---
+apiVersion: apiextensions.k8s.io/v1
+kind: CustomResourceDefinition
+metadata:
+  annotations:
+    controller-gen.kubebuilder.io/version: v0.18.0
+  name: failoverquorums.postgresql.cnpg.io
+spec:
+  group: postgresql.cnpg.io
+  names:
+    kind: FailoverQuorum
+    listKind: FailoverQuorumList
+    plural: failoverquorums
+    singular: failoverquorum
+  scope: Namespaced
+  versions:
+  - additionalPrinterColumns:
+    - jsonPath: .metadata.creationTimestamp
+      name: Age
+      type: date
+    name: v1
+    schema:
+      openAPIV3Schema:
+        description: |-
+          FailoverQuorum contains the information about the current failover
+          quorum status of a PG cluster. It is updated by the instance manager
+          of the primary node and reset to zero by the operator to trigger
+          an update.
+        properties:
+          apiVersion:
+            description: |-
+              APIVersion defines the versioned schema of this representation of an object.
+              Servers should convert recognized schemas to the latest internal value, and
+              may reject unrecognized values.
+              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
+            type: string
+          kind:
+            description: |-
+              Kind is a string value representing the REST resource this object represents.
+              Servers may infer this from the endpoint the client submits requests to.
+              Cannot be updated.
+              In CamelCase.
+              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
+            type: string
+          metadata:
+            type: object
+          status:
+            description: Most recently observed status of the failover quorum.
+            properties:
+              method:
+                description: Contains the latest reported Method value.
+                type: string
+              primary:
+                description: |-
+                  Primary is the name of the primary instance that updated
+                  this object the latest time.
+                type: string
+              standbyNames:
+                description: |-
+                  StandbyNames is the list of potentially synchronous
+                  instance names.
+                items:
+                  type: string
+                type: array
+              standbyNumber:
+                description: |-
+                  StandbyNumber is the number of synchronous standbys that transactions
+                  need to wait for replies from.
+                type: integer
+            type: object
+        required:
+        - metadata
+        type: object
+    served: true
+    storage: true
+    subresources:
+      status: {}

+ 1 - 1
bitnami/cloudnative-pg/crds/postgresql.cnpg.io_imagecatalogs.yaml

@@ -1,5 +1,5 @@
 # Source: https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/refs/tags/v{version}/config/crd/bases/postgresql.cnpg.io_imagecatalogs.yaml
-# Version: 1.26.1
+# Version: 1.27.0
 ---
 apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition

+ 1 - 1
bitnami/cloudnative-pg/crds/postgresql.cnpg.io_poolers.yaml

@@ -1,5 +1,5 @@
 # Source: https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/refs/tags/v{version}/config/crd/bases/postgresql.cnpg.io_poolers.yaml
-# Version: 1.26.1
+# Version: 1.27.0
 ---
 apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition

+ 1 - 1
bitnami/cloudnative-pg/crds/postgresql.cnpg.io_publications.yaml

@@ -1,5 +1,5 @@
 # Source: https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/refs/tags/v{version}/config/crd/bases/postgresql.cnpg.io_publications.yaml
-# Version: 1.26.1
+# Version: 1.27.0
 ---
 apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition

+ 1 - 1
bitnami/cloudnative-pg/crds/postgresql.cnpg.io_scheduledbackups.yaml

@@ -1,5 +1,5 @@
 # Source: https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/refs/tags/v{version}/config/crd/bases/postgresql.cnpg.io_scheduledbackups.yaml
-# Version: 1.26.1
+# Version: 1.27.0
 ---
 apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition

+ 1 - 1
bitnami/cloudnative-pg/crds/postgresql.cnpg.io_subscriptions.yaml

@@ -1,5 +1,5 @@
 # Source: https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/refs/tags/v{version}/config/crd/bases/postgresql.cnpg.io_subscriptions.yaml
-# Version: 1.26.1
+# Version: 1.27.0
 ---
 apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition

+ 11 - 0
bitnami/cloudnative-pg/templates/operator/clusterroles.yaml

@@ -203,12 +203,23 @@ rules:
       - postgresql.cnpg.io
     resources:
       - clusters/status
+      - failoverquorums/status
       - poolers/status
     verbs:
       - get
       - patch
       - update
       - watch
+  - apiGroups:
+      - postgresql.cnpg.io
+    resources:
+      - failoverquorums
+    verbs:
+      - create
+      - delete
+      - get
+      - list
+      - watch
   - apiGroups:
       - rbac.authorization.k8s.io
     resources:

+ 11 - 0
bitnami/cloudnative-pg/templates/operator/role.yaml

@@ -182,12 +182,23 @@ rules:
       - postgresql.cnpg.io
     resources:
       - clusters/status
+      - failoverquorums/status
       - poolers/status
     verbs:
       - get
       - patch
       - update
       - watch
+  - apiGroups:
+      - postgresql.cnpg.io
+    resources:
+      - failoverquorums
+    verbs:
+      - create
+      - delete
+      - get
+      - list
+      - watch
   - apiGroups:
       - rbac.authorization.k8s.io
     resources:

+ 4 - 4
bitnami/cloudnative-pg/values.yaml

@@ -79,7 +79,7 @@ operator:
   image:
     registry: docker.io
     repository: bitnami/cloudnative-pg
-    tag: 1.26.1-debian-12-r1
+    tag: 1.27.0-debian-12-r1
     digest: ""
     ## Specify a imagePullPolicy
     ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
@@ -106,7 +106,7 @@ operator:
   postgresqlImage:
     registry: docker.io
     repository: bitnami/postgresql
-    tag: 17.5.0-debian-12-r20
+    tag: 17.6.0-debian-12-r4
     digest: ""
   ## @param operator.replicaCount Number of cloudnative-pg Operator replicas to deploy
   ##
@@ -710,7 +710,7 @@ pluginBarmanCloud:
   image:
     registry: docker.io
     repository: bitnami/plugin-barman-cloud
-    tag: 0.5.0-debian-12-r3
+    tag: 0.6.0-debian-12-r0
     digest: ""
     ## Specify a imagePullPolicy
     ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
@@ -737,7 +737,7 @@ pluginBarmanCloud:
   sidecarImage:
     registry: docker.io
     repository: bitnami/plugin-barman-cloud-sidecar
-    tag: 0.5.0-debian-12-r22
+    tag: 0.6.0-debian-12-r0
     digest: ""
   ## @param pluginBarmanCloud.replicaCount Number of plugin-barman-cloud replicas to deploy
   ##