Add RBAC and API Aggregation rules to example manifest

This commit is contained in:
Lucas Käldström 2017-06-26 22:18:29 +03:00
parent 365c8fb112
commit 98a6cd5bce
No known key found for this signature in database
GPG key ID: 600FEFBBD0D40D21
2 changed files with 134 additions and 23 deletions

View file

@ -1,17 +1,13 @@
Example Deployment
==================
1. Make sure you've built the included Dockerfile with `make
docker-build`. The image should be tagged as `cm-adapter:latest`.
1. Make sure you've built the included Dockerfile with `make docker-build`. The image should be tagged as `directxman12/k8s-prometheus-adapter:latest`.
2. Create a secret called `cm-adapter-serving-certs` with two values:
`serving.crt` and `serving.key`. For more information on how to
`serving.crt` and `serving.key`. For more information on how to
generate these certificates, see the [auth concepts
documentation](https://github.com/kubernetes-incubator/apiserver-builder/blob/master/docs/concepts/auth.md)
in the apiserver-builder repository.
3. `kubectl create -f example-deployment.yaml`, modifying as necessary to
point to your prometheus server.