Set the version to what kubelet expects
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
This commit is contained in:
parent
0ef2fc937b
commit
0b76a65033
1 changed files with 4 additions and 1 deletions
|
@ -1,8 +1,8 @@
|
||||||
package server
|
package server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
pb "k8s.io/kubernetes/pkg/kubelet/api/v1alpha1/runtime"
|
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
pb "k8s.io/kubernetes/pkg/kubelet/api/v1alpha1/runtime"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Version returns the runtime name, runtime version and runtime API version
|
// Version returns the runtime name, runtime version and runtime API version
|
||||||
|
@ -17,6 +17,9 @@ func (s *Server) Version(ctx context.Context, req *pb.VersionRequest) (*pb.Versi
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: Track upstream code. For now it expects 0.1.0
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
// taking const address
|
// taking const address
|
||||||
rav := runtimeAPIVersion
|
rav := runtimeAPIVersion
|
||||||
runtimeName := s.runtime.Name()
|
runtimeName := s.runtime.Name()
|
||||||
|
|
Loading…
Reference in a new issue