Commit cedefeff authored by Brad Davidson's avatar Brad Davidson Committed by Brad Davidson

Bump cni plugins to v1.2.0-k3s1

Also add bandwidth and firewall plugins. The bandwidth plugin is automatically registered with the appropriate capability, but the firewall plugin must be configured by the user if they want to use it. Ref: https://www.cni.dev/plugins/current/meta/firewall/Signed-off-by: 's avatarBrad Davidson <brad.davidson@rancher.com>
parent a736b4b1
...@@ -40,6 +40,12 @@ const ( ...@@ -40,6 +40,12 @@ const (
"capabilities":{ "capabilities":{
"portMappings":true "portMappings":true
} }
},
{
"type":"bandwidth",
"capabilities":{
"bandwidth":true
}
} }
] ]
} }
......
...@@ -12,7 +12,7 @@ for i in crictl kubectl k3s-agent k3s-server k3s-token k3s-etcd-snapshot k3s-sec ...@@ -12,7 +12,7 @@ for i in crictl kubectl k3s-agent k3s-server k3s-token k3s-etcd-snapshot k3s-sec
ln -s k3s bin/$i ln -s k3s bin/$i
done done
for i in bridge flannel host-local loopback portmap; do for i in bandwidth bridge firewall flannel host-local loopback portmap; do
rm -f bin/$i rm -f bin/$i
ln -s cni bin/$i ln -s cni bin/$i
done done
......
...@@ -53,7 +53,7 @@ if [ -z "$VERSION_CRI_DOCKERD" ]; then ...@@ -53,7 +53,7 @@ if [ -z "$VERSION_CRI_DOCKERD" ]; then
VERSION_CRI_DOCKERD="v0.0.0" VERSION_CRI_DOCKERD="v0.0.0"
fi fi
VERSION_CNIPLUGINS="v1.1.1-k3s1" VERSION_CNIPLUGINS="v1.2.0-k3s1"
VERSION_KUBE_ROUTER=$(grep github.com/k3s-io/kube-router go.mod | head -n1 | awk '{print $4}') VERSION_KUBE_ROUTER=$(grep github.com/k3s-io/kube-router go.mod | head -n1 | awk '{print $4}')
if [ -z "$VERSION_KUBE_ROUTER" ]; then if [ -z "$VERSION_KUBE_ROUTER" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment