Skip to content

Commit 0dcefbe

Browse files
Release cloudnative-pg-v0.26.0 (#645)
Signed-off-by: Jonathan Gonzalez V. <[email protected]> Co-authored-by: Jonathan Gonzalez V. <[email protected]>
1 parent 8ba8bee commit 0dcefbe

File tree

5 files changed

+191
-3
lines changed

5 files changed

+191
-3
lines changed

charts/cloudnative-pg/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ name: cloudnative-pg
1818
description: CloudNativePG Operator Helm Chart
1919
icon: https://raw.githubusercontent.com/cloudnative-pg/artwork/main/cloudnativepg-logo.svg
2020
type: application
21-
version: "0.25.0"
21+
version: "0.26.0"
2222
# This is the version number of the application being deployed. This version number should be
2323
# incremented each time you make changes to the application. Versions are not expected to
2424
# follow Semantic Versioning, they should reflect the version the application is using.
2525
# It is recommended to use it with quotes.
26-
appVersion: "1.26.1"
26+
appVersion: "1.27.0"
2727
sources:
2828
- https://github.com/cloudnative-pg/charts
2929
keywords:

charts/cloudnative-pg/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# cloudnative-pg
22

3-
![Version: 0.25.0](https://img.shields.io/badge/Version-0.25.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.26.1](https://img.shields.io/badge/AppVersion-1.26.1-informational?style=flat-square)
3+
![Version: 0.26.0](https://img.shields.io/badge/Version-0.26.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.27.0](https://img.shields.io/badge/AppVersion-1.27.0-informational?style=flat-square)
44

55
CloudNativePG Operator Helm Chart
66

charts/cloudnative-pg/templates/_helpers.tpl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,16 @@ namespace scope or clusterwide
209209
- patch
210210
- update
211211
- watch
212+
- apiGroups:
213+
- postgresql.cnpg.io
214+
resources:
215+
- failoverquorums
216+
verbs:
217+
- create
218+
- delete
219+
- get
220+
- list
221+
- watch
212222
- apiGroups:
213223
- postgresql.cnpg.io
214224
resources:
@@ -241,6 +251,7 @@ namespace scope or clusterwide
241251
resources:
242252
- clusters/status
243253
- poolers/status
254+
- failoverquorums/status
244255
verbs:
245256
- get
246257
- patch

charts/cloudnative-pg/templates/crds/crds.yaml

Lines changed: 175 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ spec:
143143
required:
144144
- cluster
145145
type: object
146+
x-kubernetes-validations:
147+
- message: BackupSpec is immutable once set
148+
rule: oldSelf == self
146149
status:
147150
description: |-
148151
Most recently observed status of the backup. This data may not be up to
@@ -4537,6 +4540,67 @@ spec:
45374540
This should only be used for debugging and troubleshooting.
45384541
Defaults to false.
45394542
type: boolean
4543+
extensions:
4544+
description: The configuration of the extensions to be added
4545+
items:
4546+
description: |-
4547+
ExtensionConfiguration is the configuration used to add
4548+
PostgreSQL extensions to the Cluster.
4549+
properties:
4550+
dynamic_library_path:
4551+
description: |-
4552+
The list of directories inside the image which should be added to dynamic_library_path.
4553+
If not defined, defaults to "/lib".
4554+
items:
4555+
type: string
4556+
type: array
4557+
extension_control_path:
4558+
description: |-
4559+
The list of directories inside the image which should be added to extension_control_path.
4560+
If not defined, defaults to "/share".
4561+
items:
4562+
type: string
4563+
type: array
4564+
image:
4565+
description: The image containing the extension, required
4566+
properties:
4567+
pullPolicy:
4568+
description: |-
4569+
Policy for pulling OCI objects. Possible values are:
4570+
Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.
4571+
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.
4572+
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.
4573+
Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
4574+
type: string
4575+
reference:
4576+
description: |-
4577+
Required: Image or artifact reference to be used.
4578+
Behaves in the same way as pod.spec.containers[*].image.
4579+
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.
4580+
More info: https://kubernetes.io/docs/concepts/containers/images
4581+
This field is optional to allow higher level config management to default or override
4582+
container images in workload controllers like Deployments and StatefulSets.
4583+
type: string
4584+
type: object
4585+
x-kubernetes-validations:
4586+
- message: An image reference is required
4587+
rule: has(self.reference)
4588+
ld_library_path:
4589+
description: The list of directories inside the image which
4590+
should be added to ld_library_path.
4591+
items:
4592+
type: string
4593+
type: array
4594+
name:
4595+
description: The name of the extension, required
4596+
minLength: 1
4597+
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
4598+
type: string
4599+
required:
4600+
- image
4601+
- name
4602+
type: object
4603+
type: array
45404604
ldap:
45414605
description: Options to specify LDAP configuration
45424606
properties:
@@ -4775,6 +4839,30 @@ spec:
47754839
More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
47764840
format: int32
47774841
type: integer
4842+
isolationCheck:
4843+
description: |-
4844+
Configure the feature that extends the liveness probe for a primary
4845+
instance. In addition to the basic checks, this verifies whether the
4846+
primary is isolated from the Kubernetes API server and from its
4847+
replicas, ensuring that it can be safely shut down if network
4848+
partition or API unavailability is detected. Enabled by default.
4849+
properties:
4850+
connectionTimeout:
4851+
default: 1000
4852+
description: Timeout in milliseconds for connections during
4853+
the primary isolation check
4854+
type: integer
4855+
enabled:
4856+
default: true
4857+
description: Whether primary isolation checking is enabled
4858+
for the liveness probe
4859+
type: boolean
4860+
requestTimeout:
4861+
default: 1000
4862+
description: Timeout in milliseconds for requests during
4863+
the primary isolation check
4864+
type: integer
4865+
type: object
47784866
periodSeconds:
47794867
description: |-
47804868
How often (in seconds) to perform the probe.
@@ -5346,6 +5434,15 @@ spec:
53465434
This can only be set at creation time. By default set to `_cnpg_`.
53475435
pattern: ^[0-9a-z_]*$
53485436
type: string
5437+
synchronizeLogicalDecoding:
5438+
description: |-
5439+
When enabled, the operator automatically manages synchronization of logical
5440+
decoding (replication) slots across high-availability clusters.
5441+
5442+
Requires one of the following conditions:
5443+
- PostgreSQL version 17 or later
5444+
- PostgreSQL version < 17 with pg_failover_slots extension enabled
5445+
type: boolean
53495446
type: object
53505447
synchronizeReplicas:
53515448
description: Configures the synchronization of the user defined
@@ -7376,6 +7473,84 @@ spec:
73767473
---
73777474
apiVersion: apiextensions.k8s.io/v1
73787475
kind: CustomResourceDefinition
7476+
metadata:
7477+
annotations:
7478+
controller-gen.kubebuilder.io/version: v0.18.0
7479+
helm.sh/resource-policy: keep
7480+
name: failoverquorums.postgresql.cnpg.io
7481+
spec:
7482+
group: postgresql.cnpg.io
7483+
names:
7484+
kind: FailoverQuorum
7485+
listKind: FailoverQuorumList
7486+
plural: failoverquorums
7487+
singular: failoverquorum
7488+
scope: Namespaced
7489+
versions:
7490+
- additionalPrinterColumns:
7491+
- jsonPath: .metadata.creationTimestamp
7492+
name: Age
7493+
type: date
7494+
name: v1
7495+
schema:
7496+
openAPIV3Schema:
7497+
description: |-
7498+
FailoverQuorum contains the information about the current failover
7499+
quorum status of a PG cluster. It is updated by the instance manager
7500+
of the primary node and reset to zero by the operator to trigger
7501+
an update.
7502+
properties:
7503+
apiVersion:
7504+
description: |-
7505+
APIVersion defines the versioned schema of this representation of an object.
7506+
Servers should convert recognized schemas to the latest internal value, and
7507+
may reject unrecognized values.
7508+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
7509+
type: string
7510+
kind:
7511+
description: |-
7512+
Kind is a string value representing the REST resource this object represents.
7513+
Servers may infer this from the endpoint the client submits requests to.
7514+
Cannot be updated.
7515+
In CamelCase.
7516+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
7517+
type: string
7518+
metadata:
7519+
type: object
7520+
status:
7521+
description: Most recently observed status of the failover quorum.
7522+
properties:
7523+
method:
7524+
description: Contains the latest reported Method value.
7525+
type: string
7526+
primary:
7527+
description: |-
7528+
Primary is the name of the primary instance that updated
7529+
this object the latest time.
7530+
type: string
7531+
standbyNames:
7532+
description: |-
7533+
StandbyNames is the list of potentially synchronous
7534+
instance names.
7535+
items:
7536+
type: string
7537+
type: array
7538+
standbyNumber:
7539+
description: |-
7540+
StandbyNumber is the number of synchronous standbys that transactions
7541+
need to wait for replies from.
7542+
type: integer
7543+
type: object
7544+
required:
7545+
- metadata
7546+
type: object
7547+
served: true
7548+
storage: true
7549+
subresources:
7550+
status: {}
7551+
---
7552+
apiVersion: apiextensions.k8s.io/v1
7553+
kind: CustomResourceDefinition
73797554
metadata:
73807555
annotations:
73817556
controller-gen.kubebuilder.io/version: v0.18.0

charts/cloudnative-pg/templates/rbac.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ rules:
129129
- backups
130130
- clusters
131131
- databases
132+
- failoverquorums
132133
- poolers
133134
- publications
134135
- scheduledbackups
@@ -157,6 +158,7 @@ rules:
157158
- backups
158159
- clusters
159160
- databases
161+
- failoverquorums
160162
- poolers
161163
- publications
162164
- scheduledbackups

0 commit comments

Comments
 (0)