Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build for Envoy-initializer Docker image is failing #13

Open
arun0704 opened this issue Mar 27, 2019 · 3 comments
Open

Build for Envoy-initializer Docker image is failing #13

arun0704 opened this issue Mar 27, 2019 · 3 comments

Comments

@arun0704
Copy link

Hello,
i am tring to build the envoy-initializer image , but getting failed. multiple times with different git packages commit i tried.
below is the Gopkg.tmpl content:-

#[[constraint]]

name = "github.com/ghodss/yaml"

version = "1.0.0"

#[[constraint]]

branch = "master"

name = "k8s.io/api"

#[[constraint]]

name = "k8s.io/client-go"

version = "4.0.0"

#[[override]]

name = "k8s.io/apimachinery"

branch = master

revision = "1fd2e63a9a370677308a42f24fd40c86438afddf"

#[[override]]

name = "k8s.io/kubernetes"

version = "1.7.5"

#revision = "68f123dfa036bef57495f014a78144a9a1b517ca"

[[constraint]]
name = "github.com/ghodss/yaml"
version = "1.0.0"

[[override]]
name = "k8s.io/api"
revision = "4d5cc6efc5e84aa19fb1bd3f911c16a6723c1bb7"

[[override]]
name = "k8s.io/client-go"
revision = "1850dd66e4213a26bd70d0b85fee4176d324b845"

[[override]]
name = "k8s.io/apimachinery"
revision = "a13245d02534abe88286859b547d041816f9a3f4"

[[override]]
name = "k8s.io/kubernetes"
version = "1.7.5"

[[override]]
name = "k8s.io/apiextensions-apiserver"
revision = "6d8c23d2e66ce61e2a7e34f92e8eb3eec13279fa"

issue:-

kubernetes-initializer-tutorial/vendor/k8s.io/api/authentication/v1

../vendor/k8s.io/api/authentication/v1/zz_generated.deepcopy.go:61:15: in.ObjectMeta.DeepCopyInto undefined (type v1.ObjectMeta has no field or method DeepCopyInto)

kubernetes-initializer-tutorial/vendor/k8s.io/api/storage/v1

../vendor/k8s.io/api/storage/v1/zz_generated.deepcopy.go:53:15: in.ObjectMeta.DeepCopyInto undefined (type v1.ObjectMeta has no field or method DeepCopyInto)

kubernetes-initializer-tutorial/vendor/k8s.io/api/authentication/v1beta1

../vendor/k8s.io/api/authentication/v1beta1/types.generated.go:95:6: r.EncodeArrayStart undefined (type codec.genHelperEncDriver has no field or method EncodeArrayStart)
../vendor/k8s.io/api/authentication/v1beta1/types.generated.go:103:6: r.EncodeMapStart undefined (type codec.genHelperEncDriver has no field or method EncodeMapStart)
../vendor/k8s.io/api/authentication/v1beta1/types.generated.go:107:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/authentication/v1beta1/types.generated.go:120:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/authentication/v1beta1/types.generated.go:122:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/authentication/v1beta1/types.generated.go:132:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/authentication/v1beta1/types.generated.go:145:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/authentication/v1beta1/types.generated.go:147:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/authentication/v1beta1/types.generated.go:157:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/authentication/v1beta1/types.generated.go:172:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/authentication/v1beta1/types.generated.go:172:7: too many errors

kubernetes-initializer-tutorial/vendor/k8s.io/api/admissionregistration/v1alpha1

../vendor/k8s.io/api/admissionregistration/v1alpha1/types.generated.go:95:6: r.EncodeArrayStart undefined (type codec.genHelperEncDriver has no field or method EncodeArrayStart)
../vendor/k8s.io/api/admissionregistration/v1alpha1/types.generated.go:103:6: r.EncodeMapStart undefined (type codec.genHelperEncDriver has no field or method EncodeMapStart)
../vendor/k8s.io/api/admissionregistration/v1alpha1/types.generated.go:107:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/admissionregistration/v1alpha1/types.generated.go:120:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/admissionregistration/v1alpha1/types.generated.go:122:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/admissionregistration/v1alpha1/types.generated.go:132:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/admissionregistration/v1alpha1/types.generated.go:145:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/admissionregistration/v1alpha1/types.generated.go:147:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/admissionregistration/v1alpha1/types.generated.go:157:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/admissionregistration/v1alpha1/types.generated.go:172:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/admissionregistration/v1alpha1/types.generated.go:172:7: too many errors

kubernetes-initializer-tutorial/vendor/k8s.io/api/certificates/v1beta1

../vendor/k8s.io/api/certificates/v1beta1/types.generated.go:96:6: r.EncodeArrayStart undefined (type codec.genHelperEncDriver has no field or method EncodeArrayStart)
../vendor/k8s.io/api/certificates/v1beta1/types.generated.go:104:6: r.EncodeMapStart undefined (type codec.genHelperEncDriver has no field or method EncodeMapStart)
../vendor/k8s.io/api/certificates/v1beta1/types.generated.go:108:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/certificates/v1beta1/types.generated.go:121:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/certificates/v1beta1/types.generated.go:123:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/certificates/v1beta1/types.generated.go:133:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/certificates/v1beta1/types.generated.go:146:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/certificates/v1beta1/types.generated.go:148:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/certificates/v1beta1/types.generated.go:158:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/certificates/v1beta1/types.generated.go:173:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/certificates/v1beta1/types.generated.go:173:7: too many errors

kubernetes-initializer-tutorial/vendor/k8s.io/api/authorization/v1beta1

../vendor/k8s.io/api/authorization/v1beta1/types.generated.go:95:6: r.EncodeArrayStart undefined (type codec.genHelperEncDriver has no field or method EncodeArrayStart)
../vendor/k8s.io/api/authorization/v1beta1/types.generated.go:103:6: r.EncodeMapStart undefined (type codec.genHelperEncDriver has no field or method EncodeMapStart)
../vendor/k8s.io/api/authorization/v1beta1/types.generated.go:107:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/authorization/v1beta1/types.generated.go:120:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/authorization/v1beta1/types.generated.go:122:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/authorization/v1beta1/types.generated.go:132:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/authorization/v1beta1/types.generated.go:145:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/authorization/v1beta1/types.generated.go:147:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/authorization/v1beta1/types.generated.go:157:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/authorization/v1beta1/types.generated.go:172:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/authorization/v1beta1/types.generated.go:172:7: too many errors

kubernetes-initializer-tutorial/vendor/k8s.io/api/authorization/v1

../vendor/k8s.io/api/authorization/v1/types.generated.go:95:6: r.EncodeArrayStart undefined (type codec.genHelperEncDriver has no field or method EncodeArrayStart)
../vendor/k8s.io/api/authorization/v1/types.generated.go:103:6: r.EncodeMapStart undefined (type codec.genHelperEncDriver has no field or method EncodeMapStart)
../vendor/k8s.io/api/authorization/v1/types.generated.go:107:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/authorization/v1/types.generated.go:120:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/authorization/v1/types.generated.go:122:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/authorization/v1/types.generated.go:132:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/authorization/v1/types.generated.go:145:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/authorization/v1/types.generated.go:147:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/authorization/v1/types.generated.go:157:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/authorization/v1/types.generated.go:172:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/authorization/v1/types.generated.go:172:7: too many errors

kubernetes-initializer-tutorial/vendor/k8s.io/api/policy/v1beta1

../vendor/k8s.io/api/policy/v1beta1/types.generated.go:96:6: r.EncodeArrayStart undefined (type codec.genHelperEncDriver has no field or method EncodeArrayStart)
../vendor/k8s.io/api/policy/v1beta1/types.generated.go:104:6: r.EncodeMapStart undefined (type codec.genHelperEncDriver has no field or method EncodeMapStart)
../vendor/k8s.io/api/policy/v1beta1/types.generated.go:108:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/policy/v1beta1/types.generated.go:128:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/policy/v1beta1/types.generated.go:130:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/policy/v1beta1/types.generated.go:147:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/policy/v1beta1/types.generated.go:165:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/policy/v1beta1/types.generated.go:167:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/policy/v1beta1/types.generated.go:182:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/policy/v1beta1/types.generated.go:202:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/policy/v1beta1/types.generated.go:202:7: too many errors

kubernetes-initializer-tutorial/vendor/k8s.io/api/rbac/v1alpha1

../vendor/k8s.io/api/rbac/v1alpha1/types.generated.go:95:6: r.EncodeArrayStart undefined (type codec.genHelperEncDriver has no field or method EncodeArrayStart)
../vendor/k8s.io/api/rbac/v1alpha1/types.generated.go:103:6: r.EncodeMapStart undefined (type codec.genHelperEncDriver has no field or method EncodeMapStart)
../vendor/k8s.io/api/rbac/v1alpha1/types.generated.go:107:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/rbac/v1alpha1/types.generated.go:115:26: too many arguments in call to z.F.EncSliceStringV
have ([]string, bool, *codec.Encoder)
want ([]string, *codec.Encoder)
../vendor/k8s.io/api/rbac/v1alpha1/types.generated.go:119:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/rbac/v1alpha1/types.generated.go:121:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/rbac/v1alpha1/types.generated.go:129:26: too many arguments in call to z.F.EncSliceStringV
have ([]string, bool, *codec.Encoder)
want ([]string, *codec.Encoder)
../vendor/k8s.io/api/rbac/v1alpha1/types.generated.go:134:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/rbac/v1alpha1/types.generated.go:143:27: too many arguments in call to z.F.EncSliceStringV
have ([]string, bool, *codec.Encoder)
want ([]string, *codec.Encoder)
../vendor/k8s.io/api/rbac/v1alpha1/types.generated.go:151:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/rbac/v1alpha1/types.generated.go:151:7: too many errors

kubernetes-initializer-tutorial/vendor/k8s.io/api/rbac/v1beta1

../vendor/k8s.io/api/rbac/v1beta1/types.generated.go:95:6: r.EncodeArrayStart undefined (type codec.genHelperEncDriver has no field or method EncodeArrayStart)
../vendor/k8s.io/api/rbac/v1beta1/types.generated.go:103:6: r.EncodeMapStart undefined (type codec.genHelperEncDriver has no field or method EncodeMapStart)
../vendor/k8s.io/api/rbac/v1beta1/types.generated.go:107:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/rbac/v1beta1/types.generated.go:115:26: too many arguments in call to z.F.EncSliceStringV
have ([]string, bool, *codec.Encoder)
want ([]string, *codec.Encoder)
../vendor/k8s.io/api/rbac/v1beta1/types.generated.go:119:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/rbac/v1beta1/types.generated.go:121:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/rbac/v1beta1/types.generated.go:129:26: too many arguments in call to z.F.EncSliceStringV
have ([]string, bool, *codec.Encoder)
want ([]string, *codec.Encoder)
../vendor/k8s.io/api/rbac/v1beta1/types.generated.go:134:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/rbac/v1beta1/types.generated.go:143:27: too many arguments in call to z.F.EncSliceStringV
have ([]string, bool, *codec.Encoder)
want ([]string, *codec.Encoder)
../vendor/k8s.io/api/rbac/v1beta1/types.generated.go:151:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/rbac/v1beta1/types.generated.go:151:7: too many errors

kubernetes-initializer-tutorial/vendor/k8s.io/api/storage/v1beta1

../vendor/k8s.io/api/storage/v1beta1/types.generated.go:95:6: r.EncodeArrayStart undefined (type codec.genHelperEncDriver has no field or method EncodeArrayStart)
../vendor/k8s.io/api/storage/v1beta1/types.generated.go:103:6: r.EncodeMapStart undefined (type codec.genHelperEncDriver has no field or method EncodeMapStart)
../vendor/k8s.io/api/storage/v1beta1/types.generated.go:107:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/storage/v1beta1/types.generated.go:120:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/storage/v1beta1/types.generated.go:122:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/storage/v1beta1/types.generated.go:132:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/storage/v1beta1/types.generated.go:145:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/storage/v1beta1/types.generated.go:147:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/storage/v1beta1/types.generated.go:157:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/storage/v1beta1/types.generated.go:172:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/storage/v1beta1/types.generated.go:172:7: too many errors

kubernetes-initializer-tutorial/vendor/k8s.io/api/core/v1

../vendor/k8s.io/api/core/v1/types.generated.go:113:6: r.EncodeArrayStart undefined (type codec.genHelperEncDriver has no field or method EncodeArrayStart)
../vendor/k8s.io/api/core/v1/types.generated.go:121:6: r.EncodeMapStart undefined (type codec.genHelperEncDriver has no field or method EncodeMapStart)
../vendor/k8s.io/api/core/v1/types.generated.go:125:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/core/v1/types.generated.go:138:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/core/v1/types.generated.go:140:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/core/v1/types.generated.go:150:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/core/v1/types.generated.go:163:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/core/v1/types.generated.go:165:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/core/v1/types.generated.go:175:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/core/v1/types.generated.go:188:7: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
../vendor/k8s.io/api/core/v1/types.generated.go:188:7: too many errors

Please share with me working Gopkg.tmpl.

Thanks In advance.

@XuHaoIgeneral
Copy link

I have a same err as you. Have you solved the problem? thanks!

@XuHaoIgeneral
Copy link

I have a same err as you. Have you solved the problem? thanks!

i solved it today.

the problem is client-go version about other package.

go.mod

 ....
	k8s.io/api v0.0.0-20170906134749-a9acc2b601db // indirect
	k8s.io/apiextensions-apiserver v0.0.0-20170829135641-8b0133f28359 // indirect
	k8s.io/apimachinery v0.0.0-20170826203529-b63e1e4b3f7d
	k8s.io/client-go v0.0.0-20170829125404-2554b0b4622d
	k8s.io/kube-openapi v0.0.0-20170801103119-80f07ef71bb4 // indirect
	k8s.io/kubernetes v1.8.0-beta.1 // indirect

@XuHaoIgeneral
Copy link

I have a same err as you. Have you solved the problem? thanks!

i solved it today.

the problem is client-go version about other package.

go.mod

 ....
	k8s.io/api v0.0.0-20170906134749-a9acc2b601db // indirect
	k8s.io/apiextensions-apiserver v0.0.0-20170829135641-8b0133f28359 // indirect
	k8s.io/apimachinery v0.0.0-20170826203529-b63e1e4b3f7d
	k8s.io/client-go v0.0.0-20170829125404-2554b0b4622d
	k8s.io/kube-openapi v0.0.0-20170801103119-80f07ef71bb4 // indirect
	k8s.io/kubernetes v1.8.0-beta.1 // indirect

the version is "ancient times".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants