制作镜像失败
liangyuanpeng opened this issue · comments
Lan commented
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
步骤:
- make images
damozhiying commented
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