From a46652bba0c8b6de369394d3e06362afd1283cd4 Mon Sep 17 00:00:00 2001 From: Lin Yang Date: Tue, 9 Apr 2024 12:02:37 +0800 Subject: [PATCH] fix: minimum k8s for fsm-ingress (#218) Signed-off-by: Lin Yang --- cmd/fsm-ingress/fsm-ingress.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/fsm-ingress/fsm-ingress.go b/cmd/fsm-ingress/fsm-ingress.go index 9e55c249d..89a45281b 100644 --- a/cmd/fsm-ingress/fsm-ingress.go +++ b/cmd/fsm-ingress/fsm-ingress.go @@ -91,7 +91,7 @@ func main() { kubeClient := kubernetes.NewForConfigOrDie(kubeconfig) configClient := configClientset.NewForConfigOrDie(kubeconfig) - if !version.IsSupportedK8sVersionForGatewayAPI(kubeClient) { + if !version.IsSupportedK8sVersion(kubeClient) { log.Error().Msgf("kubernetes server version %s is not supported, requires at least %s", version.ServerVersion.String(), version.MinK8sVersionForGatewayAPI.String()) os.Exit(1)