diff --git a/README.rst b/README.rst index 44596bf..1508991 100644 --- a/README.rst +++ b/README.rst @@ -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/ diff --git a/deploy/common/rbac.yaml b/deploy/common/rbac.yaml index 11ce370..39629b0 100644 --- a/deploy/common/rbac.yaml +++ b/deploy/common/rbac.yaml @@ -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