There are two types of scope resources.
- Cluster scoped resources
- Namespace-scoped resources.
I know the basic differences between those. But in the documentation they mentioned the same API endpoint for both resources.
What are the differences here as both endpoints look like same?
It's just telling you, that it returns you ALL resources of this type over ALL namespaces, even if the scope of your resource type is namespaced.