Re-implement checks that gitlabktl is compatible with the provided knative
Summary
After the revert of gitlabktl#61 (closed) and gitlabktl#17 (closed) as a part of #55246 (comment 268356754)
Plan
- Decouple the role creation from CI prerequisites.
- Add a button to the cluster page with an action to update the permissions
- Make
gitlabktl
log a message with a link to a button that fixes the permissions
Definition of done
-
gitlabktl
is updated to print a meaningful error, but not fail if it doesn't have access to knative-serving -
gitlabktl
should fail if it can detect the version and it is not compatible -
#unmet?
call should not make network calls -
Role binding is created if cluster is added with knative already installed -
Role binding is created if knative is installed into a cluster from 1 click
Edited by 🤖 GitLab Bot 🤖