Skip to content

Breaking Change after kubernetes/apiserver bump #156

@mateusvtt

Description

@mateusvtt

kubernetes/apiserver@3e52ced#diff-ec57c602ccc4e3bb3779912c8bc24ba9bf7436746c2f61c3da50a65133a0a32bL56 has removed the stopCH field from PostStartHookContext struct which is being used here and here

Projects that import github.com/oam-dev/kubevela along with the most recent versions of kubernetes api are not compiling.

../../../../go/pkg/mod/github.com/oam-dev/cluster-gateway@v1.9.0-alpha.2/pkg/util/singleton/loopback.go:85:41: ctx.StopCh undefined (type server.PostStartHookContext has no field or method StopCh)
../../../../go/pkg/mod/github.com/oam-dev/cluster-gateway@v1.9.0-alpha.2/pkg/util/singleton/loopback.go:100:57: ctx.StopCh undefined (type server.PostStartHookContext has no field or method StopCh)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions