From 451e4862787170b194cbb69f38573a1000b551b1 Mon Sep 17 00:00:00 2001 From: Sergei Ryabkov Date: Sun, 16 Feb 2020 05:03:16 -0500 Subject: [PATCH] add namespace warnings to README and rbac.yaml See #35 --- README.rst | 2 ++ deploy/common/rbac.yaml | 1 + 2 files changed, 3 insertions(+) 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