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

[Bug] OpenAPI handler fails on duplicated path on reports-server APIService #243

Open
2 tasks done
kumarkeshav021 opened this issue Jan 5, 2025 · 2 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@kumarkeshav021
Copy link

Kyverno Version

1.12.5

Description

I have kubernetes (1.27) , kyverno(1.12.5) and reports-server(0.1.1) . When i upgraded kubernetes to 1.28 then it breaks the openapi/v2 request with error

1 handler.go:159] Error in OpenAPI handler: failed to build merge specs: unable to merge: duplicated path /apis/reports.kyverno.io/v1/namespaces/{namespace}/ephemeralreports/{name}

Slack discussion

No response

Troubleshooting

  • I have read and followed the documentation AND the troubleshooting guide.
  • I have searched other issues in this repository and mine is not recorded.
@kumarkeshav021 kumarkeshav021 added the bug Something isn't working label Jan 5, 2025
Copy link

welcome bot commented Jan 5, 2025

Thanks for opening your first issue here! Be sure to follow the issue template!

@kumarkeshav021
Copy link
Author

@vishal-chdhry It seems if I change "served: false" in policyreports, clusterpolicyreports, ephemeralreports and clusterephemeralreports CRD spec then I haven't be able to reproduce the error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant