Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Bump cert-manager to 1.7.2 #2490

Merged
merged 21 commits into from
Jul 16, 2022
Merged

Bump cert-manager to 1.7.2 #2490

merged 21 commits into from
Jul 16, 2022

Conversation

ridavid2002
Copy link
Contributor

@ridavid2002 ridavid2002 commented May 25, 2022

What this PR does / why we need it

Cert-manager needs to be bumped to a newer version. We are bumping version 1.5.3 (due to EOL) up to v1.7.2.

Which issue(s) this PR fixes

Fixes #

TKG-10541

Describe testing done for PR

Created a sandbox build of 1.7.2 to ensure the component was compiled correctly. Will be doing additional tests and linking through the bolt tooling.

Release note

Bump cert-manager to v1.7.2. 

PR Checklist

  • Squash the commits into one or a small number of logical commits
  • Use good commit messages
  • Ensure PR contains terms all contributors can understand and links all contributors can access

Additional information

Special notes for your reviewer

@ridavid2002 ridavid2002 requested a review from a team as a code owner May 25, 2022 17:07
@ridavid2002 ridavid2002 self-assigned this May 25, 2022
@ridavid2002 ridavid2002 requested review from a team as code owners May 25, 2022 17:07
@ridavid2002 ridavid2002 added the do-not-merge/hold Some fixes necessary, hold for merging label Jun 21, 2022
@ridavid2002 ridavid2002 added ok-to-merge PRs should be labelled with this before merging and removed do-not-merge/hold Some fixes necessary, hold for merging labels Jun 23, 2022
@ridavid2002 ridavid2002 added do-not-merge/hold Some fixes necessary, hold for merging and removed ok-to-merge PRs should be labelled with this before merging labels Jun 23, 2022
@github-actions
Copy link

Cluster Generation A/B Results:
https://storage.googleapis.com/tkg-clustergen/2490/20220623183931/clustergen.diff.txt
Author/reviewers:
Please review to verify that the effects on the generated cluster configurations are exactly what the PR intended, and give a thumbs-up if so.

@github-actions
Copy link

Cluster Generation A/B Results:
https://storage.googleapis.com/tkg-clustergen/2490/20220623184426/clustergen.diff.txt
Author/reviewers:
Please review to verify that the effects on the generated cluster configurations are exactly what the PR intended, and give a thumbs-up if so.

@github-actions
Copy link

Cluster Generation A/B Results:
https://storage.googleapis.com/tkg-clustergen/2490/20220623185533/clustergen.diff.txt
Author/reviewers:
Please review to verify that the effects on the generated cluster configurations are exactly what the PR intended, and give a thumbs-up if so.

@github-actions
Copy link

Cluster Generation A/B Results:
https://storage.googleapis.com/tkg-clustergen/2490/20220623195846/clustergen.diff.txt
Author/reviewers:
Please review to verify that the effects on the generated cluster configurations are exactly what the PR intended, and give a thumbs-up if so.

@github-actions
Copy link

Cluster Generation A/B Results:
https://storage.googleapis.com/tkg-clustergen/2490/20220627133457/clustergen.diff.txt
Author/reviewers:
Please review to verify that the effects on the generated cluster configurations are exactly what the PR intended, and give a thumbs-up if so.

@github-actions
Copy link

Cluster Generation A/B Results:
https://storage.googleapis.com/tkg-clustergen/2490/20220627182158/clustergen.diff.txt
Author/reviewers:
Please review to verify that the effects on the generated cluster configurations are exactly what the PR intended, and give a thumbs-up if so.

@shyaamsn
Copy link
Contributor

@github-actions
Copy link

Cluster Generation A/B Results:
https://storage.googleapis.com/tkg-clustergen/2490/20220712132930/clustergen.diff.txt
Author/reviewers:
Please review to verify that the effects on the generated cluster configurations are exactly what the PR intended, and give a thumbs-up if so.

@github-actions
Copy link

Cluster Generation A/B Results:
https://storage.googleapis.com/tkg-clustergen/2490/20220712133030/clustergen.diff.txt
Author/reviewers:
Please review to verify that the effects on the generated cluster configurations are exactly what the PR intended, and give a thumbs-up if so.

@github-actions
Copy link

Cluster Generation A/B Results:
https://storage.googleapis.com/tkg-clustergen/2490/20220713131615/clustergen.diff.txt
Author/reviewers:
Please review to verify that the effects on the generated cluster configurations are exactly what the PR intended, and give a thumbs-up if so.

Copy link
Contributor

@anujc25 anujc25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like CAPD integration tests are failing with this error:

• Failure [5.010 seconds]
Addon tests for capd clusters
/home/tanzu/actions-runner/_work/tanzu-framework/tanzu-framework/pkg/v1/tkg/test/tkgctl/docker/docker_addons_test.go:15
should verify cert-manager [It]
/home/tanzu/actions-runner/_work/tanzu-framework/tanzu-framework/pkg/v1/tkg/test/tkgctl/shared/addons.go:55
Unexpected error:
      <*meta.NoKindMatchError | 0xc000e7d680>: {
          GroupKind: {
              Group: "cert-manager.io",
              Kind: "Certificate",
          },
          SearchedVersions: ["v1alpha2"],
      }
      no matches for kind "Certificate" in version "cert-manager.io/v1alpha2"
  occurred
  /home/tanzu/actions-runner/_work/tanzu-framework/tanzu-framework/pkg/v1/tkg/test/tkgctl/shared/addons.go:119

This can be because of the change in API version

- apiVersion: cert-manager.io/v1alpha2
+ apiVersion: cert-manager.io/v1

(UPDATE: Just saw @shyaamsn mentioned the changes needed for this and has already been done as part of the PR. But looks like tests are still failing.)

pkg/v1/tkg/tkgconfigupdater/tkgconfigupdater_test.go Outdated Show resolved Hide resolved
@shyaamsn
Copy link
Contributor

@github-actions
Copy link

Cluster Generation A/B Results:
https://storage.googleapis.com/tkg-clustergen/2490/20220714125456/clustergen.diff.txt
Author/reviewers:
Please review to verify that the effects on the generated cluster configurations are exactly what the PR intended, and give a thumbs-up if so.

@github-actions
Copy link

Cluster Generation A/B Results:
https://storage.googleapis.com/tkg-clustergen/2490/20220714165611/clustergen.diff.txt
Author/reviewers:
Please review to verify that the effects on the generated cluster configurations are exactly what the PR intended, and give a thumbs-up if so.

@github-actions
Copy link

Cluster Generation A/B Results:
https://storage.googleapis.com/tkg-clustergen/2490/20220714170019/clustergen.diff.txt
Author/reviewers:
Please review to verify that the effects on the generated cluster configurations are exactly what the PR intended, and give a thumbs-up if so.

@codecov
Copy link

codecov bot commented Jul 14, 2022

Codecov Report

Merging #2490 (5d56488) into main (8bd97cb) will increase coverage by 0.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2490      +/-   ##
==========================================
+ Coverage   43.97%   44.03%   +0.06%     
==========================================
  Files         416      416              
  Lines       41735    41735              
==========================================
+ Hits        18354    18380      +26     
+ Misses      21665    21645      -20     
+ Partials     1716     1710       -6     
Impacted Files Coverage Δ
addons/controllers/clusterbootstrap_controller.go 65.57% <0.00%> (+2.29%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8bd97cb...5d56488. Read the comment docs.

Copy link
Contributor

@anujc25 anujc25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@github-actions
Copy link

Cluster Generation A/B Results:
https://storage.googleapis.com/tkg-clustergen/2490/20220715021202/clustergen.diff.txt
Author/reviewers:
Please review to verify that the effects on the generated cluster configurations are exactly what the PR intended, and give a thumbs-up if so.

@ridavid2002
Copy link
Contributor Author

//usebom:sandbox/v1.6.0-zshippable/416614966292914236/tkg-compatibility

@ridavid2002 ridavid2002 added ok-to-merge PRs should be labelled with this before merging and removed do-not-merge/hold Some fixes necessary, hold for merging labels Jul 15, 2022
@vuil vuil added priority/critical-urgent codefreeze required by a release codefreeze and removed priority/critical-urgent labels Jul 15, 2022
@vuil vuil merged commit 8824258 into main Jul 16, 2022
@vuil vuil deleted the topic/certmanagerbump branch July 16, 2022 01:29
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
cla-not-required codefreeze required by a release codefreeze ok-to-merge PRs should be labelled with this before merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants