From 2006858e0df3de5c1dabbe25b40c434f7f438214 Mon Sep 17 00:00:00 2001 From: Hiranmoy Das Chowdhury Date: Thu, 18 Apr 2024 12:36:10 +0600 Subject: [PATCH] PodPlacementPolicy field Added --- apis/kubedb/v1alpha2/pgbouncer_types.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apis/kubedb/v1alpha2/pgbouncer_types.go b/apis/kubedb/v1alpha2/pgbouncer_types.go index a513a0f20a..113c6b3403 100644 --- a/apis/kubedb/v1alpha2/pgbouncer_types.go +++ b/apis/kubedb/v1alpha2/pgbouncer_types.go @@ -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