From 454bfcfb8cea41a05d74101e090f834630e2cb2e Mon Sep 17 00:00:00 2001 From: Manuel Alejandro de Brito Fontes Date: Tue, 9 Jul 2019 08:01:31 -0400 Subject: [PATCH] Fix RBAC issues with networking.k8s.io --- deploy/static/mandatory.yaml | 24 +++++++++++++++++++----- deploy/static/rbac.yaml | 24 +++++++++++++++++++----- 2 files changed, 38 insertions(+), 10 deletions(-) diff --git a/deploy/static/mandatory.yaml b/deploy/static/mandatory.yaml index d93223157e..1ff6add244 100644 --- a/deploy/static/mandatory.yaml +++ b/deploy/static/mandatory.yaml @@ -81,6 +81,13 @@ rules: - get - list - watch + - apiGroups: + - "" + resources: + - events + verbs: + - create + - patch - apiGroups: - "extensions" resources: @@ -90,14 +97,21 @@ rules: - list - watch - apiGroups: - - "" + - "extensions" resources: - - events + - ingresses/status verbs: - - create - - patch + - update - apiGroups: - - "extensions" + - "networking.k8s.io" + resources: + - ingresses + verbs: + - get + - list + - watch + - apiGroups: + - "networking.k8s.io" resources: - ingresses/status verbs: diff --git a/deploy/static/rbac.yaml b/deploy/static/rbac.yaml index 103bd98cc0..c61af384f1 100644 --- a/deploy/static/rbac.yaml +++ b/deploy/static/rbac.yaml @@ -41,6 +41,13 @@ rules: - get - list - watch + - apiGroups: + - "" + resources: + - events + verbs: + - create + - patch - apiGroups: - "extensions" resources: @@ -50,14 +57,21 @@ rules: - list - watch - apiGroups: - - "" + - "extensions" resources: - - events + - ingresses/status verbs: - - create - - patch + - update - apiGroups: - - "extensions" + - "networking.k8s.io" + resources: + - ingresses + verbs: + - get + - list + - watch + - apiGroups: + - "networking.k8s.io" resources: - ingresses/status verbs: