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