Adjust Flux installation check to not require CRD permissions
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
Instead of checking if the CRD is installed, it checks if the Kubernetes client mapper contains the required resources, which can be done with namespaced permissions.
In service of #646
Edited by Django C