You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
I think that the solution is to update to use a MutatingAdmissionWebhook.
Im not sure how much of the initializer code should "just work" with a webhook. It might be that no changes are needed but i havent looked that deep yet.
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:
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
The text was updated successfully, but these errors were encountered: