You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: charts/cloudnative-pg/templates/crds/crds.yaml
+175Lines changed: 175 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -143,6 +143,9 @@ spec:
143
143
required:
144
144
- cluster
145
145
type: object
146
+
x-kubernetes-validations:
147
+
- message: BackupSpec is immutable once set
148
+
rule: oldSelf == self
146
149
status:
147
150
description: |-
148
151
Most recently observed status of the backup. This data may not be up to
@@ -4537,6 +4540,67 @@ spec:
4537
4540
This should only be used for debugging and troubleshooting.
4538
4541
Defaults to false.
4539
4542
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
4540
4604
ldap:
4541
4605
description: Options to specify LDAP configuration
4542
4606
properties:
@@ -4775,6 +4839,30 @@ spec:
4775
4839
More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
4776
4840
format: int32
4777
4841
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
4778
4866
periodSeconds:
4779
4867
description: |-
4780
4868
How often (in seconds) to perform the probe.
@@ -5346,6 +5434,15 @@ spec:
5346
5434
This can only be set at creation time. By default set to `_cnpg_`.
5347
5435
pattern: ^[0-9a-z_]*$
5348
5436
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
5349
5446
type: object
5350
5447
synchronizeReplicas:
5351
5448
description: Configures the synchronization of the user defined
@@ -7376,6 +7473,84 @@ spec:
7376
7473
---
7377
7474
apiVersion: apiextensions.k8s.io/v1
7378
7475
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
0 commit comments