Skip to content

Commit

Permalink
[kube-router] set version to 2.0.0 (#10503)
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Barnier <[email protected]>
  • Loading branch information
bozzo authored Nov 2, 2023
1 parent 267a8c6 commit 8700655
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ Note: Upstart/SysV init based OS types are not supported.
- [cilium](https://github.com/cilium/cilium) v1.13.4
- [flannel](https://github.com/flannel-io/flannel) v0.22.0
- [kube-ovn](https://github.com/alauda/kube-ovn) v1.11.5
- [kube-router](https://github.com/cloudnativelabs/kube-router) v1.6.0
- [kube-router](https://github.com/cloudnativelabs/kube-router) v2.0.0
- [multus](https://github.com/k8snetworkplumbingwg/multus-cni) v3.8
- [weave](https://github.com/weaveworks/weave) v2.8.1
- [kube-vip](https://github.com/kube-vip/kube-vip) v0.5.12
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# See roles/network_plugin/kube-router//defaults/main.yml
# See roles/network_plugin/kube-router/defaults/main.yml

# Kube router version
# Default to v2
# kube_router_version: "v2.0.0"
# Uncomment to use v1 (Deprecated)
# kube_router_version: "v1.6.0"

# Enables Pod Networking -- Advertises and learns the routes to Pods via iBGP
# kube_router_run_router: true
Expand Down
2 changes: 1 addition & 1 deletion roles/download/defaults/main/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ cilium_enable_hubble: false

kube_ovn_version: "v1.11.5"
kube_ovn_dpdk_version: "19.11-{{ kube_ovn_version }}"
kube_router_version: "v1.6.0"
kube_router_version: "v2.0.0"
multus_version: "v3.8"
helm_version: "v3.13.1"
nerdctl_version: "1.6.0"
Expand Down
14 changes: 11 additions & 3 deletions roles/network_plugin/kube-router/templates/kube-router.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ metadata:
namespace: kube-system
rules:
- apiGroups:
- ""
- ""
resources:
- namespaces
- pods
Expand All @@ -190,21 +190,29 @@ rules:
- get
- watch
- apiGroups:
- "networking.k8s.io"
- "networking.k8s.io"
resources:
- networkpolicies
verbs:
- list
- get
- watch
- apiGroups:
- extensions
- extensions
resources:
- networkpolicies
verbs:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
Expand Down

0 comments on commit 8700655

Please sign in to comment.