Skip to content

Commit

Permalink
Update default port for pgbouncer (#1058)
Browse files Browse the repository at this point in the history
Signed-off-by: Mehedi Hasan <[email protected]>
  • Loading branch information
heheh13 authored and tamalsaha committed Sep 27, 2023
1 parent 8e2aab0 commit 888b0cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apis/kubedb/v1alpha2/pgbouncer_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion crds/kubedb.com_pgbouncers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ spec:
default: session
type: string
port:
default: 54342
default: 5432
format: int32
type: integer
reservePoolSize:
Expand Down

0 comments on commit 888b0cf

Please sign in to comment.