fix: migration for OCP 3.11 (#1231)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>pull/1232/head
parent
aa46157554
commit
19ea8ebba4
|
|
@ -231,7 +231,6 @@ func addPartOfLabelForObjectsWithInstanceCheLabel(ctx *deploy.DeployContext) err
|
|||
&corev1.PodList{},
|
||||
&batchv1.JobList{},
|
||||
&corev1.ServiceList{},
|
||||
&networkingv1.IngressList{},
|
||||
&corev1.SecretList{},
|
||||
&corev1.ConfigMapList{},
|
||||
&corev1.ServiceAccountList{},
|
||||
|
|
@ -243,6 +242,8 @@ func addPartOfLabelForObjectsWithInstanceCheLabel(ctx *deploy.DeployContext) err
|
|||
}
|
||||
if util.IsOpenShift {
|
||||
kindsToMigrate = append(kindsToMigrate, &routev1.RouteList{})
|
||||
} else {
|
||||
kindsToMigrate = append(kindsToMigrate, &networkingv1.IngressList{})
|
||||
}
|
||||
|
||||
for _, listToGet := range kindsToMigrate {
|
||||
|
|
|
|||
Loading…
Reference in New Issue