diff --git a/manageiq-operator/api/v1alpha1/helpers/miq-components/util.go b/manageiq-operator/api/v1alpha1/helpers/miq-components/util.go index 12e93f341..1509b7f93 100644 --- a/manageiq-operator/api/v1alpha1/helpers/miq-components/util.go +++ b/manageiq-operator/api/v1alpha1/helpers/miq-components/util.go @@ -140,7 +140,7 @@ func addOrUpdateVolumeMount(volumeMounts []corev1.VolumeMount, volumeMount corev index := -1 for i, v := range volumeMounts { - if v.Name == volumeMount.Name { + if v.Name == volumeMount.Name || v.MountPath == volumeMount.MountPath { index = i } }