mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-19 05:08:26 +02:00
Fixed a typo bypassurl -> bypassrls (#2204)
This commit is contained in:
@@ -118,7 +118,7 @@ These parameters are grouped directly under the `spec` key in the manifest.
|
|||||||
a map of usernames to user flags for the users that should be created in the
|
a map of usernames to user flags for the users that should be created in the
|
||||||
cluster by the operator. User flags are a list, allowed elements are
|
cluster by the operator. User flags are a list, allowed elements are
|
||||||
`SUPERUSER`, `REPLICATION`, `INHERIT`, `LOGIN`, `NOLOGIN`, `CREATEROLE`,
|
`SUPERUSER`, `REPLICATION`, `INHERIT`, `LOGIN`, `NOLOGIN`, `CREATEROLE`,
|
||||||
`CREATEDB`, `BYPASSURL`. A login user is created by default unless NOLOGIN is
|
`CREATEDB`, `BYPASSRLS`. A login user is created by default unless NOLOGIN is
|
||||||
specified, in which case the operator creates a role. One can specify empty
|
specified, in which case the operator creates a role. One can specify empty
|
||||||
flags by providing a JSON empty array '*[]*'. If the config option
|
flags by providing a JSON empty array '*[]*'. If the config option
|
||||||
`enable_cross_namespace_secret` is enabled you can specify the namespace in
|
`enable_cross_namespace_secret` is enabled you can specify the namespace in
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ Use `--namespace` or `-n` flag if your cluster is in a different namespace to wh
|
|||||||
|
|
||||||
```kubectl pg add-user USER01 -p CREATEDB,LOGIN -c acid-minimal-cluster```
|
```kubectl pg add-user USER01 -p CREATEDB,LOGIN -c acid-minimal-cluster```
|
||||||
|
|
||||||
Privileges can only be [SUPERUSER, REPLICATION, INHERIT, LOGIN, NOLOGIN, CREATEROLE, CREATEDB, BYPASSURL]
|
Privileges can only be [SUPERUSER, REPLICATION, INHERIT, LOGIN, NOLOGIN, CREATEROLE, CREATEDB, BYPASSRLS]
|
||||||
Note: By default, a LOGIN user is created (unless NOLOGIN is specified).
|
Note: By default, a LOGIN user is created (unless NOLOGIN is specified).
|
||||||
|
|
||||||
## Adding databases to an existing cluster
|
## Adding databases to an existing cluster
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ import (
|
|||||||
"k8s.io/apimachinery/pkg/types"
|
"k8s.io/apimachinery/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
var allowedPrivileges = []string{"SUPERUSER", "REPLICATION", "INHERIT", "LOGIN", "NOLOGIN", "CREATEROLE", "CREATEDB", "BYPASSURL"}
|
var allowedPrivileges = []string{"SUPERUSER", "REPLICATION", "INHERIT", "LOGIN", "NOLOGIN", "CREATEROLE", "CREATEDB", "BYPASSRLS"}
|
||||||
|
|
||||||
// addUserCmd represents the addUser command
|
// addUserCmd represents the addUser command
|
||||||
var addUserCmd = &cobra.Command{
|
var addUserCmd = &cobra.Command{
|
||||||
|
|||||||
Reference in New Issue
Block a user