From: Sylvain Desbureaux Date: Mon, 6 Jul 2020 11:55:41 +0000 (+0200) Subject: [COMMON] Allow to read replicaset status X-Git-Tag: 7.0.0~350^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=4087a68998ae17961d8252ae0a60eb73604c74c7;p=oom.git [COMMON] Allow to read replicaset status readiness check needs also to read replicaset status from extensions API. Issue-ID: OOM-1971 Signed-off-by: Sylvain Desbureaux Change-Id: Ie8f271ef7a4411340299ff7635594b66a1a1c8fd --- diff --git a/kubernetes/common/serviceAccount/templates/role.yaml b/kubernetes/common/serviceAccount/templates/role.yaml index 73f45b5fce..6d12164938 100644 --- a/kubernetes/common/serviceAccount/templates/role.yaml +++ b/kubernetes/common/serviceAccount/templates/role.yaml @@ -28,6 +28,7 @@ rules: - "" # "" indicates the core API group - apps - batch + - extensions resources: - pods - deployments @@ -35,6 +36,7 @@ rules: - jobs/status - statefulsets - replicasets + - replicasets/status - daemonsets verbs: - get @@ -46,6 +48,7 @@ rules: - "" # "" indicates the core API group - apps - batch + - extensions resources: - pods - deployments @@ -53,6 +56,7 @@ rules: - jobs/status - statefulsets - replicasets + - replicasets/status - daemonsets - secrets verbs: