We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77abffa commit 1e82f08Copy full SHA for 1e82f08
pkg/api/v1/pooler_types.go
@@ -25,7 +25,7 @@ import (
25
26
// PoolerType is the type of the connection pool, meaning the service
27
// we are targeting. Allowed values are `rw` and `ro`.
28
-// +kubebuilder:validation:Enum=rw;ro
+// +kubebuilder:validation:Enum=rw;ro;r
29
type PoolerType string
30
31
const (
@@ -35,6 +35,9 @@ const (
35
// PoolerTypeRO means that the pooler involves only the replicas
36
PoolerTypeRO = PoolerType("ro")
37
38
+ // PoolerTypeR means that the pooler involves every instance
39
+ PoolerTypeR = PoolerType("r")
40
+
41
// DefaultPgBouncerPoolerAuthQuery is the default auth_query for PgBouncer
42
DefaultPgBouncerPoolerAuthQuery = "SELECT usename, passwd FROM public.user_search($1)"
43
)
0 commit comments