Skip to content

Commit

Permalink
fix: minimum k8s for fsm-ingress (#218)
Browse files Browse the repository at this point in the history
Signed-off-by: Lin Yang <[email protected]>
  • Loading branch information
reaver-flomesh committed Apr 9, 2024
1 parent 37bb922 commit a46652b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/fsm-ingress/fsm-ingress.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a46652b

Please sign in to comment.