Fix the statefulset name label
@@ -249,7 +249,7 @@ func (r *ReconcileQuarksStatefulSet) generateSingleStatefulSet(qStatefulSet *qst
statefulSet = r.updateAffinity(statefulSet, qStatefulSet.Spec.ZoneNodeLabel, zoneName)
}
labels[qstsv1a1.LabelAZIndex] = strconv.Itoa(zoneIndex)
- labels[qstsv1a1.LabelQStsName] = qStatefulSet.GetName()
+ labels[qstsv1a1.LabelQStsName] = statefulSetNamePrefix
annotations[qstsv1a1.AnnotationVersion] = strconv.Itoa(version)
annotations[statefulset.AnnotationCanaryRolloutEnabled] = "true"
