From ff3f73d73cdc4b6534235f9d3ea94eda7290667a Mon Sep 17 00:00:00 2001 From: travisn Date: Fri, 7 Dec 2018 14:10:35 -0700 Subject: [PATCH] mgr: grant access to the configmaps to read devices in the system namespace Signed-off-by: travisn --- cluster/charts/rook-ceph/templates/clusterrole.yaml | 1 + cluster/examples/kubernetes/ceph/operator.yaml | 1 + tests/framework/installer/ceph_manifests.go | 1 + tests/integration/upgrade_test.go | 1 + 4 files changed, 4 insertions(+) diff --git a/cluster/charts/rook-ceph/templates/clusterrole.yaml b/cluster/charts/rook-ceph/templates/clusterrole.yaml index 7b4fa328e..58a24d471 100644 --- a/cluster/charts/rook-ceph/templates/clusterrole.yaml +++ b/cluster/charts/rook-ceph/templates/clusterrole.yaml @@ -118,6 +118,7 @@ rules: - apiGroups: - "" resources: + - configmaps - nodes - nodes/proxy verbs: diff --git a/cluster/examples/kubernetes/ceph/operator.yaml b/cluster/examples/kubernetes/ceph/operator.yaml index d3b9e8add..a0b092ae2 100755 --- a/cluster/examples/kubernetes/ceph/operator.yaml +++ b/cluster/examples/kubernetes/ceph/operator.yaml @@ -314,6 +314,7 @@ rules: - apiGroups: - "" resources: + - configmaps - nodes - nodes/proxy verbs: diff --git a/tests/framework/installer/ceph_manifests.go b/tests/framework/installer/ceph_manifests.go index 8ec0d8d31..d28b048b3 100644 --- a/tests/framework/installer/ceph_manifests.go +++ b/tests/framework/installer/ceph_manifests.go @@ -376,6 +376,7 @@ rules: - apiGroups: - "" resources: + - configmaps - nodes - nodes/proxy verbs: diff --git a/tests/integration/upgrade_test.go b/tests/integration/upgrade_test.go index b33858e2d..5f7d0c0ce 100644 --- a/tests/integration/upgrade_test.go +++ b/tests/integration/upgrade_test.go @@ -353,6 +353,7 @@ rules: - apiGroups: - "" resources: + - configmaps - nodes - nodes/proxy verbs: