Skip to content

Commit 1e82f08

Browse files
author
CloudNativePG Automated Updates
committed
chore: sync API
1 parent 77abffa commit 1e82f08

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pkg/api/v1/pooler_types.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525

2626
// PoolerType is the type of the connection pool, meaning the service
2727
// we are targeting. Allowed values are `rw` and `ro`.
28-
// +kubebuilder:validation:Enum=rw;ro
28+
// +kubebuilder:validation:Enum=rw;ro;r
2929
type PoolerType string
3030

3131
const (
@@ -35,6 +35,9 @@ const (
3535
// PoolerTypeRO means that the pooler involves only the replicas
3636
PoolerTypeRO = PoolerType("ro")
3737

38+
// PoolerTypeR means that the pooler involves every instance
39+
PoolerTypeR = PoolerType("r")
40+
3841
// DefaultPgBouncerPoolerAuthQuery is the default auth_query for PgBouncer
3942
DefaultPgBouncerPoolerAuthQuery = "SELECT usename, passwd FROM public.user_search($1)"
4043
)

0 commit comments

Comments
 (0)