Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kube-router] set version to 2.0.0 #10503

Merged
merged 1 commit into from
Nov 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.12.3"
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