diff --git a/pkg/apis/kubeone/scheme/scheme.go b/pkg/apis/kubeone/scheme/scheme.go index 06aac2693..a947f75ff 100644 --- a/pkg/apis/kubeone/scheme/scheme.go +++ b/pkg/apis/kubeone/scheme/scheme.go @@ -31,7 +31,7 @@ import ( var Scheme = runtime.NewScheme() // Codecs is a CodecFactory object used to provide encoding and decoding for the scheme -var Codecs = serializer.NewCodecFactory(Scheme) +var Codecs = serializer.NewCodecFactory(Scheme, serializer.EnableStrict) func init() { metav1.AddToGroupVersion(Scheme, schema.GroupVersion{Version: "v1"})