Skip to content

Install pkg does not work with the k8s pkg "https://pkg.go.dev/k8s.io/[email protected]" #3375

@iamniting

Description

@iamniting

Bug Report

What did you do?

We are using install pkg to resolve the strategy which gives an error with the new version v0.31.0 of k8s APIS

Link to the code where we are using the install pkg
https://github.com/red-hat-storage/ocs-operator/blob/main/pkg/deploy-manager/subscription.go#L603

What did you expect to see?

Import should work without any issues

What did you see instead? Under which circumstances?

could not import github.com/operator-framework/operator-lifecycle-manager/pkg/controller/install (-: # github.com/operator-framework/operator-lifecycle-manager/pkg/controller/install
vendor/github.com/operator-framework/operator-lifecycle-manager/pkg/controller/install/attributes_util.go:15:13: invalid map key type authorizer.AttributesRecord) (typecheck)
        "github.com/operator-framework/operator-lifecycle-manager/pkg/controller/install"
        ^

Environment

  • operator-lifecycle-manager version: github.com/operator-framework/operator-lifecycle-manager v0.28.0
  • Kubernetes version information:
  • Kubernetes cluster kind:

Possible Solution

k8s APIS require an update to the v0.31.0

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions