From c732d4c6568c8600d069a7ea5866975488511f23 Mon Sep 17 00:00:00 2001 From: Mehedi Hasan <39819064+heheh13@users.noreply.github.com> Date: Wed, 27 Sep 2023 13:52:45 +0600 Subject: [PATCH] Update default port for pgbouncer (#1058) Signed-off-by: Mehedi Hasan --- apis/kubedb/v1alpha2/pgbouncer_types.go | 2 +- crds/kubedb.com_pgbouncers.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apis/kubedb/v1alpha2/pgbouncer_types.go b/apis/kubedb/v1alpha2/pgbouncer_types.go index 0f4ae9222f..030076b62d 100644 --- a/apis/kubedb/v1alpha2/pgbouncer_types.go +++ b/apis/kubedb/v1alpha2/pgbouncer_types.go @@ -128,7 +128,7 @@ type Databases struct { type ConnectionPoolConfig struct { // Port is the port number on which PgBouncer listens to clients. Default: 5432. - // +kubebuilder:default=54342 + // +kubebuilder:default=5432 // +optional Port *int32 `json:"port,omitempty"` // PoolMode is the pooling mechanism type. Default: session. diff --git a/crds/kubedb.com_pgbouncers.yaml b/crds/kubedb.com_pgbouncers.yaml index c9778c55c0..c231d74acf 100644 --- a/crds/kubedb.com_pgbouncers.yaml +++ b/crds/kubedb.com_pgbouncers.yaml @@ -103,7 +103,7 @@ spec: default: session type: string port: - default: 54342 + default: 5432 format: int32 type: integer reservePoolSize: