Regenerate the API types
@@ -110,7 +110,11 @@ func (in *SPODSpec) DeepCopyInto(out *SPODSpec) {
*out = make([]corev1.LocalObjectReference, len(*in))
copy(*out, *in)
}
- in.DaemonResourceRequirements.DeepCopyInto(&out.DaemonResourceRequirements)
+ if in.DaemonResourceRequirements != nil {
+ in, out := &in.DaemonResourceRequirements, &out.DaemonResourceRequirements
+ *out = new(corev1.ResourceRequirements)
+ (*in).DeepCopyInto(*out)
+ }
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SPODSpec.
