toby lorne

Results 12 comments of toby lorne

As above, the controller-runtime is using this reflection fork in apimachinery inside the `CreateOrUpdate` function https://github.com/kubernetes-sigs/controller-runtime/blob/e6c3d139d2b6c286b1dbba6b6a95919159cfe655/pkg/controller/controllerutil/controllerutil.go#L312 It is using this reflection fork because of historical false positives https://github.com/kubernetes-sigs/controller-runtime/issues/464 `reflect.DeepEqual` considers...

Your point is valid 👍 I have raised https://github.com/kubernetes/kubernetes/pull/126998 which gives a method DeepEqualWithOptions with an option to ignore unexported fields. If this gets merged I can then use this...