Skip to content

Commit f6c8961

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

File tree

2 files changed

+2
-27
lines changed

2 files changed

+2
-27
lines changed

pkg/api/v1/cluster_types.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ type ClusterSpec struct {
475475
// The plugins configuration, containing
476476
// any plugin to be loaded with the corresponding configuration
477477
// +optional
478-
Plugins PluginConfigurationList `json:"plugins,omitempty"`
478+
Plugins []PluginConfiguration `json:"plugins,omitempty"`
479479

480480
// The configuration of the probes to be injected
481481
// in the PostgreSQL Pods.
@@ -534,10 +534,6 @@ type Probe struct {
534534
TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty"`
535535
}
536536

537-
// PluginConfigurationList represent a set of plugin with their
538-
// configuration parameters
539-
type PluginConfigurationList []PluginConfiguration
540-
541537
const (
542538
// PhaseSwitchover when a cluster is changing the primary node
543539
PhaseSwitchover = "Switchover in progress"

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)