Skip to content

Commit ab25c63

Browse files
Fixed a typo bypassurl -> bypassrls (zalando#2204)
1 parent 1d5bc23 commit ab25c63

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/reference/cluster_manifest.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ These parameters are grouped directly under the `spec` key in the manifest.
118118
a map of usernames to user flags for the users that should be created in the
119119
cluster by the operator. User flags are a list, allowed elements are
120120
`SUPERUSER`, `REPLICATION`, `INHERIT`, `LOGIN`, `NOLOGIN`, `CREATEROLE`,
121-
`CREATEDB`, `BYPASSURL`. A login user is created by default unless NOLOGIN is
121+
`CREATEDB`, `BYPASSRLS`. A login user is created by default unless NOLOGIN is
122122
specified, in which case the operator creates a role. One can specify empty
123123
flags by providing a JSON empty array '*[]*'. If the config option
124124
`enable_cross_namespace_secret` is enabled you can specify the namespace in

kubectl-pg/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Use `--namespace` or `-n` flag if your cluster is in a different namespace to wh
6060

6161
```kubectl pg add-user USER01 -p CREATEDB,LOGIN -c acid-minimal-cluster```
6262

63-
Privileges can only be [SUPERUSER, REPLICATION, INHERIT, LOGIN, NOLOGIN, CREATEROLE, CREATEDB, BYPASSURL]
63+
Privileges can only be [SUPERUSER, REPLICATION, INHERIT, LOGIN, NOLOGIN, CREATEROLE, CREATEDB, BYPASSRLS]
6464
Note: By default, a LOGIN user is created (unless NOLOGIN is specified).
6565

6666
## Adding databases to an existing cluster

kubectl-pg/cmd/addUser.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import (
3535
"k8s.io/apimachinery/pkg/types"
3636
)
3737

38-
var allowedPrivileges = []string{"SUPERUSER", "REPLICATION", "INHERIT", "LOGIN", "NOLOGIN", "CREATEROLE", "CREATEDB", "BYPASSURL"}
38+
var allowedPrivileges = []string{"SUPERUSER", "REPLICATION", "INHERIT", "LOGIN", "NOLOGIN", "CREATEROLE", "CREATEDB", "BYPASSRLS"}
3939

4040
// addUserCmd represents the addUser command
4141
var addUserCmd = &cobra.Command{

0 commit comments

Comments
 (0)