Skip to content
Snippets Groups Projects
Unverified Commit 1c3d33e1 authored by Cristian Calin's avatar Cristian Calin Committed by GitHub
Browse files

Calico: 3.20.0 policy update to allow access to endpointslices (#7899)

parent 71af4b4a
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,16 @@ rules:
- configmaps
verbs:
- get
{% if calico_version is version("v3.20.0", ">=") %}
# EndpointSlices are used for Service-based network policy rule
# enforcement.
- apiGroups: ["discovery.k8s.io"]
resources:
- endpointslices
verbs:
- watch
- list
{% endif %}
- apiGroups: [""]
resources:
- endpoints
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment