rbac: add user-facing clusterroles (#585)

* rbac: add user-facing clusterroles
This commit is contained in:
Erik Inge Bolsø
2019-06-14 15:59:51 +02:00
committed by Sergey Dudoladov
parent 028b834ea6
commit e1d9395338
2 changed files with 60 additions and 0 deletions
+9
View File
@@ -41,6 +41,15 @@ $ kubectl create -f manifests/minimal-postgres-manifest.yaml
$ kubectl get pods -w --show-labels
```
## Give K8S users access to create/list postgresqls
```bash
$ kubectl create -f manifests/user-facing-clusterroles.yaml
```
Creates zalando-postgres-operator:users:view, :edit and :admin clusterroles that are
aggregated into the default roles.
## Connect to PostgreSQL
With a `port-forward` on one of the database pods (e.g. the master) you can