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: website/docs/cloudnative-pg.v1.md
+50-2Lines changed: 50 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -445,6 +445,7 @@ _Appears in:_
445
445
| --- | --- | --- | --- | --- |
446
446
|`image`_string_| The image reference | True |||
447
447
|`major`_integer_| The PostgreSQL major version of the image. Must be unique within the catalog. | True || Minimum: 10 <br /> |
448
+
|`extensions`_[ExtensionConfiguration](#extensionconfiguration) array_| The configuration of the extensions to be added ||||
448
449
449
450
450
451
#### CertificatesConfiguration
@@ -576,6 +577,7 @@ _Appears in:_
576
577
|`minSyncReplicas`_integer_| Minimum number of instances required in synchronous replication with the<br />primary. Undefined or 0 allow writes to complete when no standby is<br />available. || 0 | Minimum: 0 <br /> |
577
578
|`maxSyncReplicas`_integer_| The target value for the synchronous replication quorum, that can be<br />decreased if the number of ready standbys is lower than this.<br />Undefined or 0 disable synchronous replication. || 0 | Minimum: 0 <br /> |
578
579
|`postgresql`_[PostgresConfiguration](#postgresconfiguration)_| Configuration of the PostgreSQL server ||||
580
+
|`podSelectorRefs`_[PodSelectorRef](#podselectorref) array_| PodSelectorRefs defines named pod label selectors that can be referenced<br />in pg_hba rules using the $\{podselector:NAME\} syntax in the address field.<br />The operator resolves matching pod IPs and the instance manager expands<br />pg_hba lines accordingly. Only pods in the Cluster's own namespace are considered. ||||
|`imagePullSecrets`_[LocalObjectReference](https://pkg.go.dev/github.com/cloudnative-pg/machinery/pkg/api#LocalObjectReference) array_| The list of pull secrets to be used to pull the images ||||
586
588
|`storage`_[StorageConfiguration](#storageconfiguration)_| Configuration of the storage of the instances ||||
587
589
|`serviceAccountTemplate`_[ServiceAccountTemplate](#serviceaccounttemplate)_| Configure the generation of the service account ||||
590
+
|`serviceAccountName`_string_| Name of an existing ServiceAccount in the same namespace to use for the cluster.<br />When specified, the operator will not create a new ServiceAccount<br />but will use the provided one. This is useful for sharing a single<br />ServiceAccount across multiple clusters (e.g., for cloud IAM configurations).<br />If not specified, a ServiceAccount will be created with the cluster name.<br />Mutually exclusive with ServiceAccountTemplate. ||| MaxLength: 253 <br />Pattern: `^[a-z0-9]([-a-z0-9]*[a-z0-9])?$` <br /> |
588
591
|`walStorage`_[StorageConfiguration](#storageconfiguration)_| Configuration of the storage for PostgreSQL WAL (Write-Ahead Log) ||||
589
592
|`ephemeralVolumeSource`_[EphemeralVolumeSource](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#ephemeralvolumesource-v1-core)_| EphemeralVolumeSource allows the user to configure the source of ephemeral volumes. ||||
590
593
|`startDelay`_integer_| The time in seconds that is allowed for a PostgreSQL instance to<br />successfully start up (default 3600).<br />The startup probe failure threshold is derived from this value using the formula:<br />ceiling(startDelay / 10). || 3600 ||
@@ -639,6 +642,7 @@ _Appears in:_
639
642
|`instancesReportedState`_object (keys:[PodName](#podname), values:[InstanceReportedState](#instancereportedstate))_| The reported state of the instances during the last reconciliation loop ||||
640
643
|`managedRolesStatus`_[ManagedRoles](#managedroles)_| ManagedRolesStatus reports the state of the managed roles in the cluster ||||
641
644
|`tablespacesStatus`_[TablespaceState](#tablespacestate) array_| TablespacesStatus reports the state of the declarative tablespaces in the cluster ||||
645
+
|`podSelectorRefs`_[PodSelectorRefStatus](#podselectorrefstatus) array_| PodSelectorRefs contains the resolved pod IPs for each named selector<br />defined in spec.podSelectorRefs. ||||
642
646
|`timelineID`_integer_| The timeline of the Postgres cluster ||||
|`name`_string_| The name of the extension, required | True || MinLength: 1 <br />Pattern: `^[a-z0-9]([-a-z0-9_]*[a-z0-9])?$` <br /> |
988
-
|`image`_[ImageVolumeSource](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#imagevolumesource-v1-core)_| The image containing the extension, required | True|||
994
+
|`image`_[ImageVolumeSource](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#imagevolumesource-v1-core)_| The image containing the extension. ||||
989
995
|`extension_control_path`_string array_| The list of directories inside the image which should be added to extension_control_path.<br />If not defined, defaults to "/share". ||||
990
996
|`dynamic_library_path`_string array_| The list of directories inside the image which should be added to dynamic_library_path.<br />If not defined, defaults to "/lib". ||||
991
997
|`ld_library_path`_string array_| The list of directories inside the image which should be added to ld_library_path. ||||
998
+
|`bin_path`_string array_| A list of directories within the image to be appended to the<br />PostgreSQL process's `PATH` environment variable. ||||
992
999
993
1000
994
1001
#### ExtensionSpec
@@ -1177,6 +1184,7 @@ _Appears in:_
1177
1184
| --- | --- | --- | --- | --- |
1178
1185
|`image`_string_| Image is the image name | True |||
1179
1186
|`majorVersion`_integer_| MajorVersion is the major version of the image | True |||
1187
+
|`extensions`_[ExtensionConfiguration](#extensionconfiguration) array_| Extensions contains the container image extensions available for the current Image ||||
1180
1188
1181
1189
1182
1190
#### Import
@@ -1732,6 +1740,45 @@ _Appears in:_
1732
1740
1733
1741
1734
1742
1743
+
#### PodSelectorRef
1744
+
1745
+
1746
+
1747
+
PodSelectorRef defines a named pod label selector for use in pg_hba rules.
1748
+
Pods matching the selector in the Cluster's namespace will have their IPs
1749
+
resolved and made available for pg_hba address expansion via the
|`name`_string_| Name is the identifier used to reference this selector in pg_hba rules<br />via the $\{podselector:NAME\} syntax in the address field. | True || MinLength: 1 <br />Pattern: `^[a-z]([a-z0-9_-]*[a-z0-9])?$` <br /> |
1761
+
|`selector`_[LabelSelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#labelselector-v1-meta)_| Selector is a label selector that identifies the pods whose IPs<br />should be resolved. Only pods in the Cluster's namespace are considered. | True |||
1762
+
1763
+
1764
+
#### PodSelectorRefStatus
1765
+
1766
+
1767
+
1768
+
PodSelectorRefStatus contains the resolved pod IPs for a named selector.
|`name`_string_| Name corresponds to the name in the spec's PodSelectorRef. | True |||
1779
+
|`ips`_string array_| IPs is the list of pod IPs matching the selector.<br />Each IP is a single address (no CIDR notation). ||||
1780
+
1781
+
1735
1782
#### PodStatus
1736
1783
1737
1784
_Underlying type:__string_
@@ -1890,6 +1937,7 @@ _Appears in:_
1890
1937
|`deploymentStrategy`_[DeploymentStrategy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#deploymentstrategy-v1-apps)_| The deployment strategy to use for pgbouncer to replace existing pods with new ones ||||
1891
1938
|`monitoring`_[PoolerMonitoringConfiguration](#poolermonitoringconfiguration)_| The configuration of the monitoring infrastructure of this pooler.<br />Deprecated: This feature will be removed in an upcoming release. If<br />you need this functionality, you can create a PodMonitor manually. ||||
1892
1939
|`serviceTemplate`_[ServiceTemplateSpec](#servicetemplatespec)_| Template for the Service to be created ||||
1940
+
|`serviceAccountName`_string_| Name of an existing ServiceAccount in the same namespace to use for the pooler.<br />When specified, the operator will not create a new ServiceAccount<br />but will use the provided one. This is useful for sharing a single<br />ServiceAccount across multiple poolers (e.g., for cloud IAM configurations).<br />If not specified, a ServiceAccount will be created with the pooler name. ||| MaxLength: 253 <br />Pattern: `^[a-z0-9]([-a-z0-9]*[a-z0-9])?$` <br /> |
|`synchronous`_[SynchronousReplicaConfiguration](#synchronousreplicaconfiguration)_| Configuration of the PostgreSQL synchronous replication feature ||||
1946
-
|`pg_hba`_string array_| PostgreSQL Host Based Authentication rules (lines to be appended<br />to the pg_hba.conf file) ||||
1994
+
|`pg_hba`_string array_| PostgreSQL Host Based Authentication rules (lines to be appended<br />to the pg_hba.conf file).<br />Use the $\{podselector:NAME\} syntax to reference a pod selector;<br />the rule will be expanded for each Pod IP matching that selector.||||
1947
1995
|`pg_ident`_string array_| PostgreSQL User Name Maps rules (lines to be appended<br />to the pg_ident.conf file) ||||
1948
1996
|`syncReplicaElectionConstraint`_[SyncReplicaElectionConstraints](#syncreplicaelectionconstraints)_| Requirements to be met by sync replicas. This will affect how the "synchronous_standby_names" parameter will be<br />set up. ||||
1949
1997
|`shared_preload_libraries`_string array_| Lists of shared preload libraries to add to the default ones ||||
0 commit comments