Skip to content

Commit

Permalink
add namespace warnings to README and rbac.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
sryabkov committed Feb 16, 2020
1 parent 86e1dea commit 451e486
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ Usage

Deploy the janitor into your cluster via (also works with Minikube_):

Warning: if you want to deploy janitor to namespace other than ``default``, you need to edit ``/deploy/common/rbac.yaml`` first.

.. code-block:: bash
$ kubectl apply -f deploy/common/
Expand Down
1 change: 1 addition & 0 deletions deploy/common/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ roleRef:
subjects:
- kind: ServiceAccount
name: kube-janitor
# change the namespace name below if you want to deploy to a different namespace
namespace: default

0 comments on commit 451e486

Please sign in to comment.