From f543f08867aa9b2a1e5acd6162d9dd43dbded56c Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Sat, 20 Jul 2019 20:31:06 -0700 Subject: [PATCH] Compact nginx-ingress ClusterRole rules * https://github.com/kubernetes/ingress-nginx/pull/4302 --- addons/nginx-ingress/aws/rbac/cluster-role.yaml | 14 +------------- addons/nginx-ingress/azure/rbac/cluster-role.yaml | 14 +------------- .../bare-metal/rbac/cluster-role.yaml | 14 +------------- .../digital-ocean/rbac/cluster-role.yaml | 14 +------------- .../google-cloud/rbac/cluster-role.yaml | 14 +------------- 5 files changed, 5 insertions(+), 65 deletions(-) diff --git a/addons/nginx-ingress/aws/rbac/cluster-role.yaml b/addons/nginx-ingress/aws/rbac/cluster-role.yaml index bf680e19..5682d397 100644 --- a/addons/nginx-ingress/aws/rbac/cluster-role.yaml +++ b/addons/nginx-ingress/aws/rbac/cluster-role.yaml @@ -37,6 +37,7 @@ rules: - patch - apiGroups: - "extensions" + - "networking.k8s.io" resources: - ingresses verbs: @@ -45,19 +46,6 @@ rules: - watch - apiGroups: - "extensions" - resources: - - ingresses/status - verbs: - - update - - apiGroups: - - "networking.k8s.io" - resources: - - ingresses - verbs: - - get - - list - - watch - - apiGroups: - "networking.k8s.io" resources: - ingresses/status diff --git a/addons/nginx-ingress/azure/rbac/cluster-role.yaml b/addons/nginx-ingress/azure/rbac/cluster-role.yaml index bf680e19..5682d397 100644 --- a/addons/nginx-ingress/azure/rbac/cluster-role.yaml +++ b/addons/nginx-ingress/azure/rbac/cluster-role.yaml @@ -37,6 +37,7 @@ rules: - patch - apiGroups: - "extensions" + - "networking.k8s.io" resources: - ingresses verbs: @@ -45,19 +46,6 @@ rules: - watch - apiGroups: - "extensions" - resources: - - ingresses/status - verbs: - - update - - apiGroups: - - "networking.k8s.io" - resources: - - ingresses - verbs: - - get - - list - - watch - - apiGroups: - "networking.k8s.io" resources: - ingresses/status diff --git a/addons/nginx-ingress/bare-metal/rbac/cluster-role.yaml b/addons/nginx-ingress/bare-metal/rbac/cluster-role.yaml index bf680e19..5682d397 100644 --- a/addons/nginx-ingress/bare-metal/rbac/cluster-role.yaml +++ b/addons/nginx-ingress/bare-metal/rbac/cluster-role.yaml @@ -37,6 +37,7 @@ rules: - patch - apiGroups: - "extensions" + - "networking.k8s.io" resources: - ingresses verbs: @@ -45,19 +46,6 @@ rules: - watch - apiGroups: - "extensions" - resources: - - ingresses/status - verbs: - - update - - apiGroups: - - "networking.k8s.io" - resources: - - ingresses - verbs: - - get - - list - - watch - - apiGroups: - "networking.k8s.io" resources: - ingresses/status diff --git a/addons/nginx-ingress/digital-ocean/rbac/cluster-role.yaml b/addons/nginx-ingress/digital-ocean/rbac/cluster-role.yaml index bf680e19..5682d397 100644 --- a/addons/nginx-ingress/digital-ocean/rbac/cluster-role.yaml +++ b/addons/nginx-ingress/digital-ocean/rbac/cluster-role.yaml @@ -37,6 +37,7 @@ rules: - patch - apiGroups: - "extensions" + - "networking.k8s.io" resources: - ingresses verbs: @@ -45,19 +46,6 @@ rules: - watch - apiGroups: - "extensions" - resources: - - ingresses/status - verbs: - - update - - apiGroups: - - "networking.k8s.io" - resources: - - ingresses - verbs: - - get - - list - - watch - - apiGroups: - "networking.k8s.io" resources: - ingresses/status diff --git a/addons/nginx-ingress/google-cloud/rbac/cluster-role.yaml b/addons/nginx-ingress/google-cloud/rbac/cluster-role.yaml index bf680e19..5682d397 100644 --- a/addons/nginx-ingress/google-cloud/rbac/cluster-role.yaml +++ b/addons/nginx-ingress/google-cloud/rbac/cluster-role.yaml @@ -37,6 +37,7 @@ rules: - patch - apiGroups: - "extensions" + - "networking.k8s.io" resources: - ingresses verbs: @@ -45,19 +46,6 @@ rules: - watch - apiGroups: - "extensions" - resources: - - ingresses/status - verbs: - - update - - apiGroups: - - "networking.k8s.io" - resources: - - ingresses - verbs: - - get - - list - - watch - - apiGroups: - "networking.k8s.io" resources: - ingresses/status