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/versioned_docs/version-1.28/cloudnative-pg.v1.md
+22-2Lines changed: 22 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -427,6 +427,24 @@ _Appears in:_
427
427
|`secret`_[LocalObjectReference](https://pkg.go.dev/github.com/cloudnative-pg/machinery/pkg/api#LocalObjectReference)_| Name of the secret containing the initial credentials for the<br />owner of the user database. If empty a new secret will be<br />created from scratch ||||
428
428
429
429
430
+
#### CatalogComponentImage
431
+
432
+
433
+
434
+
CatalogComponentImage is a named image entry for a non-PostgreSQL component.
|`key`_string_| Key is the unique identifier for this image within the catalog. | True || MaxLength: 63 <br />Pattern: `^[a-z0-9]([-a-z0-9]*[a-z0-9])?$` <br /> |
445
+
|`image`_string_| Image is the container image reference. | True |||
446
+
447
+
430
448
#### CatalogImage
431
449
432
450
@@ -634,6 +652,7 @@ _Appears in:_
634
652
| --- | --- | --- | --- | --- |
635
653
|`instances`_integer_| The total number of PVC Groups detected in the cluster. It may differ from the number of existing instance pods. ||||
636
654
|`readyInstances`_integer_| The total number of ready instances in the cluster. It is equal to the number of ready instance pods. ||||
655
+
|`selector`_string_| Selector is the serialized form of the label selector that identifies<br />the pods managed by this cluster. Populated by the operator and exposed<br />through the scale sub-resource so an autoscaler (such as HPA or VPA)<br />can discover the managed instance pods. ||||
637
656
|`instancesStatus`_object (keys:[PodStatus](#podstatus), values:string array)_| InstancesStatus indicates in which status the instances are ||||
638
657
|`instancesReportedState`_object (keys:[PodName](#podname), values:[InstanceReportedState](#instancereportedstate))_| The reported state of the instances during the last reconciliation loop ||||
639
658
|`managedRolesStatus`_[ManagedRoles](#managedroles)_| ManagedRolesStatus reports the state of the managed roles in the cluster ||||
|`images`_[CatalogImage](#catalogimage) array_| List of CatalogImages available in the catalog | True || MaxItems: 8 <br />MinItems: 1 <br /> |
1202
+
|`componentImages`_[CatalogComponentImage](#catalogcomponentimage) array_| ComponentImages is a list of named images for components other than PostgreSQL<br />(e.g. pgbouncer). Keys must be unique within a catalog. ||| MaxItems: 32 <br /> |
|`byStatus`_object (keys:[RoleStatus](#rolestatus), values:string array)_| ByStatus gives the list of roles in each state ||||
1447
-
|`cannotReconcile`_object (keys:string, values:string array)_| CannotReconcile lists roles that cannot be reconciledin PostgreSQL,<br />with an explanation of the cause||||
1467
+
|`cannotReconcile`_object (keys:string, values:string array)_| CannotReconcile lists roles that cannot be reconciled, with an<br />explanation of the cause. Failures may originate in PostgreSQL<br />(e.g. dropping a role that owns objects) or in Kubernetes (e.g.<br />the referenced password Secret cannot be fetched).||||
1448
1468
|`passwordStatus`_object (keys:string, values:[PasswordState](#passwordstate))_| PasswordStatus gives the last transaction id and password secret version for each managed role ||||
1449
1469
1450
1470
@@ -2351,7 +2371,7 @@ _Appears in:_
2351
2371
|`name`_string_| Name of the role | True |||
2352
2372
|`comment`_string_| Description of the role ||||
2353
2373
|`ensure`_[EnsureOption](#ensureoption)_| Ensure the role is `present` or `absent` - defaults to "present" || present | Enum: [present absent] <br /> |
2354
-
|`passwordSecret`_[LocalObjectReference](https://pkg.go.dev/github.com/cloudnative-pg/machinery/pkg/api#LocalObjectReference)_| Secret containing the password of the role (if present)<br />If null, the password will be ignored unless DisablePassword is set ||||
2374
+
|`passwordSecret`_[LocalObjectReference](https://pkg.go.dev/github.com/cloudnative-pg/machinery/pkg/api#LocalObjectReference)_| Secret containing the password of the role (if present).<br />If null, the password will be ignored unless DisablePassword is set.<br />When set, the secret must follow the `kubernetes.io/basic-auth` format<br />and contain both a `username` and a `password` field.||||
2355
2375
|`connectionLimit`_integer_| If the role can log in, this specifies how many concurrent<br />connections the role can make. `-1` (the default) means no limit. || -1 ||
2356
2376
|`validUntil`_[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#time-v1-meta)_| Date and time after which the role's password is no longer valid.<br />When omitted, the password will never expire (default). ||||
2357
2377
|`inRoles`_string array_| List of one or more existing roles to which this role will be<br />immediately added as a new member. Default empty. ||||
0 commit comments