-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Hi,
I'm trying to build your project from source for an ARM device. Mostly successful, but the go build of the initializer fails with the following messages:
tproxy-initializer/main.go:100:11: options.IncludeUninitialized undefined (type "k8s.io/apimachinery/pkg/apis/meta/v1".ListOptions has no field or method IncludeUninitialized)
tproxy-initializer/main.go:104:11: options.IncludeUninitialized undefined (type "k8s.io/apimachinery/pkg/apis/meta/v1".ListOptions has no field or method IncludeUninitialized)
tproxy-initializer/main.go:134:26: deployment.ObjectMeta.GetInitializers undefined (type "k8s.io/apimachinery/pkg/apis/meta/v1".ObjectMeta has no field or method GetInitializers)
tproxy-initializer/main.go:135:47: deployment.ObjectMeta.GetInitializers undefined (type "k8s.io/apimachinery/pkg/apis/meta/v1".ObjectMeta has no field or method GetInitializers)
tproxy-initializer/main.go:140:33: "k8s.io/apimachinery/pkg/runtime".NewScheme().DeepCopy undefined (type *"k8s.io/apimachinery/pkg/runtime".Scheme has no field or method DeepCopy)
It appears this functionality has been removed in k8s 1.14: https://discuss.kubernetes.io/t/kubernetes-initializer-includeuninitialized/5211
Therefore I think forcing a lower version would not be appropriate here, like is done in this solution: kuberhealthy/kuberhealthy#118
Any suggestions?
Thanks
Metadata
Metadata
Assignees
Labels
No labels