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

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

Closed
iamniting opened this issue Aug 21, 2024 · 1 comment
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@iamniting
Copy link

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.

@iamniting iamniting added the kind/bug Categorizes issue or PR as related to a bug. label Aug 21, 2024
@iamniting iamniting mentioned this issue Aug 21, 2024
11 tasks
@iamniting
Copy link
Author

Fixed with #3374

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant