gosoon / kubernetes-operator

kubernetes-operator is a control plane and manage all kubernetes cluster lifecycle.
Apache License 2.0
77 stars 21 forks source link

制作镜像失败 #7

Open liangyuanpeng opened 4 years ago

liangyuanpeng commented 4 years ago

some log:

Successfully built 1b932d70dcba
Successfully tagged ansibleinit:latest
GO111MODULE=on GOPROXY=https://mirrors.aliyun.com/goproxy/ GOOS=linux GOARCH=amd64 go build -ldflags "" -o output/kubernetes-operator cmd/kube-operator/app.go
# github.com/gosoon/kubernetes-operator/pkg/apis/installer/v1
pkg/apis/installer/v1/installer.pb.gw.go:74:16: undefined: runtime.AnnotateIncomingContext
pkg/apis/installer/v1/installer.pb.gw.go:155:77: too many arguments in call to runtime.NewPattern
pkg/apis/installer/v1/installer.pb.gw.go:155:160: undefined: runtime.AssumeColonVerbOpt
Makefile:24: recipe for target 'images' failed
make: *** [images] Error 2

步骤:

  1. make images
damozhiying commented 4 years ago
C:\Users\xuanminmin\go\pkg\mod\k8s.io\client-go@v11.0.0+incompatible\rest\request.go:598:31: not enough arguments in call to watch.NewStreamWatcher
    have (*versioned.Decoder)
    want (watch.Decoder, watch.Reporter)
# github.com/gosoon/kubernetes-operator/pkg/apis/installer/v1
pkg\apis\installer\v1\installer.pb.gw.go:74:16: undefined: runtime.AnnotateIncomingContext
pkg\apis\installer\v1\installer.pb.gw.go:155:77: too many arguments in call to runtime.NewPattern
pkg\apis\installer\v1\installer.pb.gw.go:155:160: undefined: runtime.AssumeColonVerbOpt