From 7e39c0458d2492921f92015b9e7cd3583c0db347 Mon Sep 17 00:00:00 2001 From: Filip Barl Date: Thu, 11 Apr 2019 15:59:31 +0200 Subject: [PATCH] Update examples/k8s RBAC permissions. --- examples/k8s/cluster-role.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/examples/k8s/cluster-role.yaml b/examples/k8s/cluster-role.yaml index 127ec81bb8..0c66d98921 100644 --- a/examples/k8s/cluster-role.yaml +++ b/examples/k8s/cluster-role.yaml @@ -12,19 +12,29 @@ rules: - "" resources: - pods + - pods/log - replicationcontrollers - services - nodes - persistentvolumes - persistentvolumeclaims verbs: + - get - list - watch +- apiGroups: + - "" + resources: + - pods + verbs: + - delete - apiGroups: - apps resources: + - deployments - statefulsets verbs: + - get - list - watch - apiGroups: @@ -40,10 +50,18 @@ rules: resources: - daemonsets - deployments + - deployments/scale - replicasets verbs: + - get - list - watch +- apiGroups: + - extensions + resources: + - deployments/scale + verbs: + - update - apiGroups: - storage.k8s.io resources: