diff --git a/api/v1alpha1/zz_generated.deepcopy.go b/api/v1alpha1/zz_generated.deepcopy.go index f9e5727e..a0b48773 100644 --- a/api/v1alpha1/zz_generated.deepcopy.go +++ b/api/v1alpha1/zz_generated.deepcopy.go @@ -61,6 +61,11 @@ func (in *JobTemplateSpec) DeepCopy() *JobTemplateSpec { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *LocalFullNodeRef) DeepCopyInto(out *LocalFullNodeRef) { *out = *in + if in.Ordinal != nil { + in, out := &in.Ordinal, &out.Ordinal + *out = new(int32) + **out = **in + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalFullNodeRef. @@ -78,7 +83,7 @@ func (in *ScheduledVolumeSnapshot) DeepCopyInto(out *ScheduledVolumeSnapshot) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - out.Spec = in.Spec + in.Spec.DeepCopyInto(&out.Spec) in.Status.DeepCopyInto(&out.Status) } @@ -135,7 +140,7 @@ func (in *ScheduledVolumeSnapshotList) DeepCopyObject() runtime.Object { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ScheduledVolumeSnapshotSpec) DeepCopyInto(out *ScheduledVolumeSnapshotSpec) { *out = *in - out.FullNodeRef = in.FullNodeRef + in.FullNodeRef.DeepCopyInto(&out.FullNodeRef) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledVolumeSnapshotSpec. diff --git a/config/crd/bases/cosmos.strange.love_scheduledvolumesnapshots.yaml b/config/crd/bases/cosmos.strange.love_scheduledvolumesnapshots.yaml index 1a0cb1b5..2e5f17c4 100644 --- a/config/crd/bases/cosmos.strange.love_scheduledvolumesnapshots.yaml +++ b/config/crd/bases/cosmos.strange.love_scheduledvolumesnapshots.yaml @@ -67,6 +67,13 @@ spec: ScheduledVolumeSnapshot. Instead delete the ScheduledVolumeSnapshot and create a new one with the correct fullNodeRef. properties: + index: + description: Index of the pod to snapshot. If not provided, will + do any pod in the CosmosFullNode. Useful when snapshots are + local to the same node as the pod, requiring snapshots across + multiple pods/nodes. + format: int32 + type: integer name: description: Name of the object, metadata.name type: string