aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/serviceAccount/templates/role.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-07-06 13:55:41 +0200
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-07-06 13:55:41 +0200
commit4087a68998ae17961d8252ae0a60eb73604c74c7 (patch)
treed11c72f637eca7fa1f4191b3077105ad7d87c695 /kubernetes/common/serviceAccount/templates/role.yaml
parent26be143aefe2320c14cd0117a66f80a8a915c730 (diff)
[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 <sylvain.desbureaux@orange.com> Change-Id: Ie8f271ef7a4411340299ff7635594b66a1a1c8fd
Diffstat (limited to 'kubernetes/common/serviceAccount/templates/role.yaml')
-rw-r--r--kubernetes/common/serviceAccount/templates/role.yaml4
1 files changed, 4 insertions, 0 deletions
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: