@@ -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
19651968type 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
0 commit comments