Merge pull request #232 from adelton/create_psp_policy

Creation of PSP by hack/local-up-cluster.sh is not as automatic as the README suggests.
This commit is contained in:
k8s-ci-robot 2018-05-24 09:16:35 -07:00 committed by GitHub
commit 90145b4f11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 1 deletions

View File

@ -37,7 +37,23 @@ that RBAC will be enforced
## Creating the policies, roles, and bindings
NOTE: If you are using `local-up-cluster.sh` you don't need to create these
policies, roles, and bindings as they already have been created by the script.
policies, roles, and bindings as they already have been created by the script,
provided the Kubernetes repository contains `examples` symlink pointing to
`staging` subdirectory of this repository checkout. For example, if you've
checked out Kubernetes as
```console
$ git clone https://github.com/kubernetes/kubernetes
```
and this examples repository next to it as
```console
$ git clone https://github.com/kubernetes/examples
```
create symlink
```console
$ ( cd kubernetes && ln -s ../examples/staging examples )
```
### Policies