Skip to content

Commit

Permalink
helm: allow minor jump for cert-manager
Browse files Browse the repository at this point in the history
  • Loading branch information
3u13r committed Dec 11, 2023
1 parent 5950c18 commit bf478cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/constellation/helm/actionfactory.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down
2 changes: 1 addition & 1 deletion internal/constellation/helm/helm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit bf478cb

Please sign in to comment.