remove check for v1.7.0 when applying init image
@@ -273,7 +273,7 @@ func (r *ReconcilePerconaXtraDBCluster) Reconcile(request reconcile.Request) (re
if o.CompareVersionWith("1.6.0") >= 0 {
initResources = o.Spec.PXC.Resources
}
- if o.CompareVersionWith("1.7.0") >= 0 && len(o.Spec.InitImage) > 0 {
+ if len(o.Spec.InitImage) > 0 {
imageName = o.Spec.InitImage
}
initC, err := statefulset.EntrypointInitContainer(imageName, initResources, o.Spec.PXC.ContainerSecurityContext)
