diff --git a/internal/constellation/helm/actionfactory.go b/internal/constellation/helm/actionfactory.go index 1ad3366b74b..85212722d19 100644 --- a/internal/constellation/helm/actionfactory.go +++ b/internal/constellation/helm/actionfactory.go @@ -122,7 +122,7 @@ func (a actionFactory) appendNewAction( if err := newVersion.IsUpgradeTo(currentVersion); err != nil { // TODO(3u13r): Remove when Constellation v2.14 is released. // We need to ignore that we jump from Cilium v1.12 to v1.15-pre. We have verified that this works. - if !(errors.Is(err, compatibility.ErrMinorDrift) && release.releaseName == "cilium") { + if !(errors.Is(err, compatibility.ErrMinorDrift) && (release.releaseName == "cilium" || release.releaseName == "cert-manager")) { return fmt.Errorf("invalid upgrade for %s: %w", release.releaseName, err) } } diff --git a/internal/constellation/helm/helm_test.go b/internal/constellation/helm/helm_test.go index 828428b3893..c3f1c5e3748 100644 --- a/internal/constellation/helm/helm_test.go +++ b/internal/constellation/helm/helm_test.go @@ -194,7 +194,7 @@ func TestHelmApply(t *testing.T) { awsLbVersion = *tc.clusterAWSLBVersion } - certManagerVersion := "v1.10.0" // current version + certManagerVersion := "v1.13.2" // current version if tc.clusterCertManagerVersion != nil { certManagerVersion = *tc.clusterCertManagerVersion }