Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade k8s to 1.28 #153

Closed

Conversation

AiRanthem
Copy link

Upgrade Gateway dependencies with

  1. go get sigs.k8s.io/[email protected]
  2. go get k8s.io/[email protected]

Issue 1: Changes in manager.Options Structure

In controller-runtime version 0.15.x, the manager.Options.Port field, which was used to specify the Webhook port, was removed. All Webhook-related configurations were consolidated into the WebhookServer structure, and direct configuration is now done using webhook.NewServer. In version 0.16.x, fields related to metrics were also removed and replaced with a unified metricsserver.Options structure. Consequently, some code in the main function was modified for compatibility.

Issue 2: Unit Testing

The new version of client-go has updated its serialization logic, which affects the ordering of List results compared to previous versions. In the Test Cluster API tests, it now sorts the results before comparing them.

Signed-off-by: AiRanthem <[email protected]>
Signed-off-by: AiRanthem <[email protected]>
@AiRanthem AiRanthem closed this Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant