Skip to content

Commit db66d77

Browse files
authored
Merge pull request #660 from stuggi/sts_volclaim
[sfs] remove setting VolumeClaimTemplates on any call
2 parents c3488c4 + 1f87392 commit db66d77

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)