Skip to content

Commit 9b35333

Browse files
author
CloudNativePG Automated Updates
committed
chore: sync API
1 parent 1498f9f commit 9b35333

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pkg/api/v1/cluster_types.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -956,6 +956,10 @@ type ClusterStatus struct {
956956
// WAL file, and Time of latest checkpoint
957957
// +optional
958958
DemotionToken string `json:"demotionToken,omitempty"`
959+
960+
// SystemID is the latest detected PostgreSQL SystemID
961+
// +optional
962+
SystemID string `json:"systemID,omitempty"`
959963
}
960964

961965
// ImageInfo contains the information about a PostgreSQL image
@@ -996,6 +1000,9 @@ const (
9961000
ConditionBackup ClusterConditionType = "LastBackupSucceeded"
9971001
// ConditionClusterReady represents whether a cluster is Ready
9981002
ConditionClusterReady ClusterConditionType = "Ready"
1003+
// ConditionConsistentSystemID is true when the all the instances of the
1004+
// cluster report the same System ID.
1005+
ConditionConsistentSystemID ClusterConditionType = "ConsistentSystemID"
9991006
)
10001007

10011008
// ConditionStatus defines conditions of resources

0 commit comments

Comments
 (0)