komodorio / validkube

ValidKube combines the best open-source tools to help ensure Kubernetes YAML best practices, hygiene & security.

Home Page:https://validkube.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

https://validkube.com/ CORS Issue

bio-boris opened this issue · comments

Hi
It appears the tool hasn't been working for some time now.
For example when pressing the clean button on the web UI it says

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://gtgmn58dh9.execute-api.us-east-1.amazonaws.com/production/kubeneat. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 502.

Thanks for the feedback, I believe it's a new regression, will fix asap :)

hey @bio-boris, I see this is happening only in the clean button. Is that occurred also in other endpoints ?

Validate may have had the same error I don't remember anymore

Hi @bio-boris, we solved the issue, you can take a look at the solution at that commit b195bb2

LGTM Thanks!