Skip to content

Commit f23092e

Browse files
author
CloudNativePG Automated Updates
committed
chore: sync API
1 parent 64cae0d commit f23092e

File tree

2 files changed

+35
-2
lines changed

2 files changed

+35
-2
lines changed

pkg/api/v1/cluster_types.go

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ type ClusterSpec struct {
422422

423423
// The list of external clusters which are used in the configuration
424424
// +optional
425-
ExternalClusters []ExternalCluster `json:"externalClusters,omitempty"`
425+
ExternalClusters ExternalClusterList `json:"externalClusters,omitempty"`
426426

427427
// The instances' log level, one of the following values: error, warning, info (default), debug, trace
428428
// +kubebuilder:default:=info
@@ -1960,6 +1960,9 @@ type ClusterMonitoringTLSConfiguration struct {
19601960
Enabled bool `json:"enabled,omitempty"`
19611961
}
19621962

1963+
// ExternalClusterList is a list of external clusters
1964+
type ExternalClusterList []ExternalCluster
1965+
19631966
// ExternalCluster represents the connection parameters to an
19641967
// external cluster which is used in the other sections of the configuration
19651968
type ExternalCluster struct {
@@ -1998,6 +2001,10 @@ type ExternalCluster struct {
19982001
// The configuration for the barman-cloud tool suite
19992002
// +optional
20002003
BarmanObjectStore *BarmanObjectStoreConfiguration `json:"barmanObjectStore,omitempty"`
2004+
2005+
// The configuration of the plugin that is taking care
2006+
// of WAL archiving and backups for this external cluster
2007+
PluginConfiguration *PluginConfiguration `json:"plugin,omitempty"`
20012008
}
20022009

20032010
// EnsureOption represents whether we should enforce the presence or absence of

pkg/api/v1/zz_generated.deepcopy.go

Lines changed: 27 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)