join-service: do not check if kubernetes version is valid

Signed-off-by: Malte Poll <mp@edgeless.systems>
This commit is contained in:
Malte Poll 2022-09-02 13:53:10 +02:00 committed by Malte Poll
parent c38a142d64
commit 38f461fdee

View File

@ -19,7 +19,6 @@ import (
"github.com/edgelesssys/constellation/internal/file"
"github.com/edgelesssys/constellation/internal/grpc/grpclog"
"github.com/edgelesssys/constellation/internal/logger"
"github.com/edgelesssys/constellation/internal/versions"
"github.com/edgelesssys/constellation/joinservice/joinproto"
"go.uber.org/zap"
"google.golang.org/grpc"
@ -182,10 +181,6 @@ func (s *Server) getK8sVersion() (string, error) {
}
k8sVersion := string(fileContent)
if !versions.IsSupportedK8sVersion(k8sVersion) {
return "", fmt.Errorf("supplied k8s version is not supported: %v", k8sVersion)
}
return k8sVersion, nil
}