Skip to content

Remove the deprecated webhook interface usage of the controller runtime #2186

@yanmxa

Description

@yanmxa

The controller runtime removed the deprecated webhook interface in v0.20.x, but this repository still appears to contain these interfaces. It is recommended to update the controller runtime package and removing these interfaces to avoid the following error:

Error: 78.98 /go/pkg/mod/github.com/stolostron/[email protected]/api/v1/multiclusterhub_webhook.go:102:15: undefined: webhook.Defaulter
Error: 78.98 /go/pkg/mod/github.com/stolostron/[email protected]/api/v1/multiclusterhub_webhook.go:111:15: undefined: webhook.Validator

Reference:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions