Calico: 3.20.0 policy update to allow access to endpointslices (#7899)
parent
71af4b4a85
commit
1c3d33e146
|
@ -13,6 +13,16 @@ rules:
|
||||||
- configmaps
|
- configmaps
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- 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: [""]
|
- apiGroups: [""]
|
||||||
resources:
|
resources:
|
||||||
- endpoints
|
- endpoints
|
||||||
|
|
Loading…
Reference in New Issue