Run update-codegen.sh to add deepcopy for new field to the api.

This commit is contained in:
Trung Minh Lai 2025-03-08 13:03:15 +07:00 committed by laiminhtrung1997
parent 8c9840c5da
commit ad4dd0098d
1 changed files with 7 additions and 0 deletions

View File

@ -789,6 +789,13 @@ func (in *PostgresSpec) DeepCopyInto(out *PostgresSpec) {
*out = new(corev1.NodeAffinity)
(*in).DeepCopyInto(*out)
}
if in.TopologySpreadConstraints != nil {
in, out := &in.TopologySpreadConstraints, &out.TopologySpreadConstraints
*out = make([]corev1.TopologySpreadConstraint, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.Tolerations != nil {
in, out := &in.Tolerations, &out.Tolerations
*out = make([]corev1.Toleration, len(*in))