Currently, schemas are parsed in not a very type-safe way: Example: ``` scope := item.UnstructuredContent()["spec"].(map[string]interface{})["scope"] ``` We should add a helper function to do this better
Currently, schemas are parsed in not a very type-safe way:
Example:
We should add a helper function to do this better