From 26ca67fb1efbe75e51095e0f9968549812291272 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Din=20Mu=C5=A1i=C4=87?= Date: Sat, 6 Apr 2024 17:09:02 +0200 Subject: [PATCH] Remove Weave network plugin (#181) * pkg/models: Remove Weave from list of supported plugins Signed-off-by: Din Music * docs: Remove network plugin Weave Signed-off-by: Din Music --------- Signed-off-by: Din Music --- docs/user-guide/configuration/kubernetes.md | 11 +++++------ docs/user-guide/reference/configuration.md | 1 - pkg/models/config/kubernetes.go | 3 +-- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/docs/user-guide/configuration/kubernetes.md b/docs/user-guide/configuration/kubernetes.md index 805fbe03..af61f030 100644 --- a/docs/user-guide/configuration/kubernetes.md +++ b/docs/user-guide/configuration/kubernetes.md @@ -41,7 +41,6 @@ However, there are multiple supported network plugins available to choose from: - `cilium` - `flannel` - `kube-router` -- `weave` ```yaml kubernetes: @@ -50,11 +49,11 @@ kubernetes: The following table shows the compatibility matrix of supported network plugins and Kubernetes versions: -| Kubernetes Version | Calico | Cilium | Flannel | KubeRouter | Weave | -|--------------------|:----------------:|:----------------:|:----------------:|:----------------:|:----------------:| -| **1.25** | :material-check: | :material-check: | :material-check: | :material-check: | :material-check: | -| **1.26** | :material-check: | :material-check: | :material-check: | :material-check: | :material-check: | -| **1.27** | :material-check: | :material-check: | :material-check: | :material-check: | :material-check: | +| Kubernetes Version | Calico | Cilium | Flannel | KubeRouter | +|--------------------|:----------------:|:----------------:|:----------------:|:----------------:| +| **1.25** | :material-check: | :material-check: | :material-check: | :material-check: | +| **1.26** | :material-check: | :material-check: | :material-check: | :material-check: | +| **1.27** | :material-check: | :material-check: | :material-check: | :material-check: | ### Kubernetes DNS mode diff --git a/docs/user-guide/reference/configuration.md b/docs/user-guide/reference/configuration.md index c7efe74f..faf2cc0c 100644 --- a/docs/user-guide/reference/configuration.md +++ b/docs/user-guide/reference/configuration.md @@ -755,7 +755,6 @@ Each configuration property is documented with 5 columns: Property name, descrip
  • cilium
  • flannel
  • kube-router
  • -
  • weave
  • diff --git a/pkg/models/config/kubernetes.go b/pkg/models/config/kubernetes.go index 90478bcc..e1080978 100644 --- a/pkg/models/config/kubernetes.go +++ b/pkg/models/config/kubernetes.go @@ -75,12 +75,11 @@ const ( CALICO NetworkPlugin = "calico" CILIUM NetworkPlugin = "cilium" FLANNEL NetworkPlugin = "flannel" - WEAVE NetworkPlugin = "weave" KUBE_ROUTER NetworkPlugin = "kube-router" ) func (p NetworkPlugin) Validate() error { - return v.Var(p, v.OneOf(CALICO, CILIUM, FLANNEL, WEAVE, KUBE_ROUTER)) + return v.Var(p, v.OneOf(CALICO, CILIUM, FLANNEL, KUBE_ROUTER)) } type Other struct {