Skip to content

Commit

Permalink
PodPlacementPolicy field Added
Browse files Browse the repository at this point in the history
  • Loading branch information
HiranmoyChowdhury committed Apr 18, 2024
1 parent 1955e7f commit 2006858
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apis/kubedb/v1alpha2/pgbouncer_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ type PgBouncerSpec struct {
// +optional
// +kubebuilder:default={periodSeconds: 10, timeoutSeconds: 10, failureThreshold: 1}
HealthChecker kmapi.HealthCheckSpec `json:"healthChecker"`

// PodPlacementPolicy is the reference of the podPlacementPolicy
// +kubebuilder:default={name: "default"}
// +optional
PodPlacementPolicy *core.LocalObjectReference `json:"podPlacementPolicy,omitempty"`
}

// +kubebuilder:validation:Enum=server;archiver;metrics-exporter
Expand Down

0 comments on commit 2006858

Please sign in to comment.