From ffa285c2e798c9cbda8aa5a360fcc068b940c58e Mon Sep 17 00:00:00 2001 From: Fredrik Liv Date: Mon, 21 Mar 2022 14:19:21 +0100 Subject: [PATCH] Fixed cluster roles for openstack cloud controller (#8638) --- ...tack-cloud-controller-manager-roles.yml.j2 | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/roles/kubernetes-apps/external_cloud_controller/openstack/templates/external-openstack-cloud-controller-manager-roles.yml.j2 b/roles/kubernetes-apps/external_cloud_controller/openstack/templates/external-openstack-cloud-controller-manager-roles.yml.j2 index 72f8da545..9f900759f 100644 --- a/roles/kubernetes-apps/external_cloud_controller/openstack/templates/external-openstack-cloud-controller-manager-roles.yml.j2 +++ b/roles/kubernetes-apps/external_cloud_controller/openstack/templates/external-openstack-cloud-controller-manager-roles.yml.j2 @@ -50,5 +50,48 @@ items: - patch - apiGroups: - "" + resources: + - serviceaccounts/token + verbs: + - create + - apiGroups: + - "" + resources: + - serviceaccounts + verbs: + - create + - get + - apiGroups: + - "" + resources: + - persistentvolumes + verbs: + - '*' + - apiGroups: + - "" + resources: + - endpoints + verbs: + - create + - get + - list + - watch + - update + - apiGroups: + - "" + resources: + - configmaps + verbs: + - get + - list + - watch + - apiGroups: + - "" + resources: + - secrets + verbs: + - list + - get + - watch kind: List metadata: {}