Skip to content

Commit d68ebac

Browse files
author
CloudNativePG Automated Updates
committed
chore: sync API
1 parent c7b3e48 commit d68ebac

File tree

2 files changed

+2
-26
lines changed

2 files changed

+2
-26
lines changed

pkg/api/v1/cluster_types.go

Lines changed: 1 addition & 4 deletions
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 ExternalClusterList `json:"externalClusters,omitempty"`
425+
ExternalClusters []ExternalCluster `json:"externalClusters,omitempty"`
426426

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

2063-
// ExternalClusterList is a list of external clusters
2064-
type ExternalClusterList []ExternalCluster
2065-
20662063
// ExternalCluster represents the connection parameters to an
20672064
// external cluster which is used in the other sections of the configuration
20682065
type ExternalCluster struct {

pkg/api/v1/zz_generated.deepcopy.go

Lines changed: 1 addition & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)