From 4087a68998ae17961d8252ae0a60eb73604c74c7 Mon Sep 17 00:00:00 2001 From: Sylvain Desbureaux Date: Mon, 6 Jul 2020 13:55:41 +0200 Subject: [PATCH] [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 --- kubernetes/common/serviceAccount/templates/role.yaml | 4 ++++ 1 file changed, 4 insertions(+) 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: -- 2.16.6