Skip to content

Commit 1f87392

Browse files
committed
[sfs] remove setting VolumeClaimTemplates on any call
Signed-off-by: Martin Schuppert <mschuppert@redhat.com>
1 parent c3488c4 commit 1f87392

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

modules/common/statefulset/statefulset.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ func (s *StatefulSet) CreateOrPatch(
6868
// We need to copy the Spec field by field as Selector and VolumeClaimTemplates are not updatable
6969
// This list needs to be synced StatefulSet to gain ability to set
7070
// those new fields via lib-common
71-
statefulset.Spec.VolumeClaimTemplates = s.statefulset.Spec.VolumeClaimTemplates
7271
statefulset.Spec.Replicas = s.statefulset.Spec.Replicas
7372
statefulset.Spec.Template = s.statefulset.Spec.Template
7473
statefulset.Spec.ServiceName = s.statefulset.Spec.ServiceName

0 commit comments

Comments
 (0)