Skip to content

Commit

Permalink
add rbac for new cilium crd in 1.14
Browse files Browse the repository at this point in the history
Ryan Lonergan [email protected]
  • Loading branch information
rl0nergan committed Dec 1, 2023
1 parent a7ad740 commit 333b588
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions roles/network_plugin/cilium/templates/cilium/cr.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,12 @@ rules:
- list
- watch
{% endif %}
{% if cilium_version | regex_replace('v') is version('1.14', '>=') %}
- apiGroups:
- cilium.io
resources:
- ciliumcidrgroups
verbs:
- list
- watch
{% endif %}

0 comments on commit 333b588

Please sign in to comment.