Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-8340

Upgrade kubernetes libraries to kubernetes v1.28

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • ACM 2.10.0
    • GRC
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • No

      Complete the upgrade started in ACM-8326, focusing on Kubernetes packages.

      This includes:

      • Bumping the replace directive for client-go to v0.28
      • Bumping the controller-runtime version to v0.16
      • Refactoring main.go for the new manager options, noting any new options we might be able to leverage and opening issues if so

      A sample PR has been opened:
      https://github.com/stolostron/cert-policy-controller/pull/227

      Notes:

      • Be sure to remove the "is deprecated:" exception in the linting rules, if present in build/common/config/.golangci.yml
      • Remove any replace directives that aren't CVE-related
      • After removing the replaces, doing go get -u all would cover the upgrade, adding back/updating replaces as needed
      • Ensure that all Kubernetes client-go in go.sum is at v0.26.4 or higher for compatibility with OCP v4.14

              Unassigned Unassigned
              rh-ee-dhaiduce Dale Haiducek
              Derek Ho Derek Ho
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: