From 93c6c2fed32c1ee4d90f84d9105ee035839e14ba Mon Sep 17 00:00:00 2001 From: Raimo Radczewski Date: Mon, 4 Nov 2024 20:29:08 +0100 Subject: [PATCH] nginx: Add endpointslices.discovery.k8s.io to all rbac documents --- addons/nginx-ingress/aws/rbac/cluster-role.yaml | 11 +++++++++-- addons/nginx-ingress/azure/rbac/cluster-role.yaml | 11 +++++++++-- .../nginx-ingress/bare-metal/rbac/cluster-role.yaml | 11 +++++++++-- .../digital-ocean/rbac/cluster-role.yaml | 11 +++++++++-- .../nginx-ingress/google-cloud/rbac/cluster-role.yaml | 6 +++--- 5 files changed, 39 insertions(+), 11 deletions(-) diff --git a/addons/nginx-ingress/aws/rbac/cluster-role.yaml b/addons/nginx-ingress/aws/rbac/cluster-role.yaml index 90edbeb1..916a3675 100644 --- a/addons/nginx-ingress/aws/rbac/cluster-role.yaml +++ b/addons/nginx-ingress/aws/rbac/cluster-role.yaml @@ -29,7 +29,7 @@ rules: - list - watch - apiGroups: - - "" + - "" resources: - events verbs: @@ -59,4 +59,11 @@ rules: - get - list - watch - + - apiGroups: + - discovery.k8s.io + resources: + - "endpointslices" + verbs: + - get + - list + - watch diff --git a/addons/nginx-ingress/azure/rbac/cluster-role.yaml b/addons/nginx-ingress/azure/rbac/cluster-role.yaml index 90edbeb1..916a3675 100644 --- a/addons/nginx-ingress/azure/rbac/cluster-role.yaml +++ b/addons/nginx-ingress/azure/rbac/cluster-role.yaml @@ -29,7 +29,7 @@ rules: - list - watch - apiGroups: - - "" + - "" resources: - events verbs: @@ -59,4 +59,11 @@ rules: - get - list - watch - + - apiGroups: + - discovery.k8s.io + resources: + - "endpointslices" + verbs: + - get + - list + - watch diff --git a/addons/nginx-ingress/bare-metal/rbac/cluster-role.yaml b/addons/nginx-ingress/bare-metal/rbac/cluster-role.yaml index 90edbeb1..916a3675 100644 --- a/addons/nginx-ingress/bare-metal/rbac/cluster-role.yaml +++ b/addons/nginx-ingress/bare-metal/rbac/cluster-role.yaml @@ -29,7 +29,7 @@ rules: - list - watch - apiGroups: - - "" + - "" resources: - events verbs: @@ -59,4 +59,11 @@ rules: - get - list - watch - + - apiGroups: + - discovery.k8s.io + resources: + - "endpointslices" + verbs: + - get + - list + - watch diff --git a/addons/nginx-ingress/digital-ocean/rbac/cluster-role.yaml b/addons/nginx-ingress/digital-ocean/rbac/cluster-role.yaml index 90edbeb1..916a3675 100644 --- a/addons/nginx-ingress/digital-ocean/rbac/cluster-role.yaml +++ b/addons/nginx-ingress/digital-ocean/rbac/cluster-role.yaml @@ -29,7 +29,7 @@ rules: - list - watch - apiGroups: - - "" + - "" resources: - events verbs: @@ -59,4 +59,11 @@ rules: - get - list - watch - + - apiGroups: + - discovery.k8s.io + resources: + - "endpointslices" + verbs: + - get + - list + - watch diff --git a/addons/nginx-ingress/google-cloud/rbac/cluster-role.yaml b/addons/nginx-ingress/google-cloud/rbac/cluster-role.yaml index a10fe262..916a3675 100644 --- a/addons/nginx-ingress/google-cloud/rbac/cluster-role.yaml +++ b/addons/nginx-ingress/google-cloud/rbac/cluster-role.yaml @@ -29,7 +29,7 @@ rules: - list - watch - apiGroups: - - "" + - "" resources: - events verbs: @@ -59,11 +59,11 @@ rules: - get - list - watch - - apiGroups: + - apiGroups: - discovery.k8s.io resources: - "endpointslices" - verbs: + verbs: - get - list - watch