Move cluster agent frontend to Core
All threads resolved!
All threads resolved!
Compare changes
Part of making Cluster Agents available in Core (&6290 (closed)).
These changes will not yet be visible in Core, as there is still a helper method preventing the link to it being rendered:
# app/helpers/clusters_helper.rb
def display_cluster_agents?(_clusterable)
false
end
# ee/app/helpers/ee/clusters_helper.rb
override :display_cluster_agents?
def display_cluster_agents?(clusterable)
clusterable.is_a?(Project) && clusterable.feature_available?(:cluster_agents)
end
We leave this unchanged until everything has been moved, at which point it will serve as a simple way to enable the feature.
These are strongly recommended to assist reviewers and reduce the time to merge your change.
Numbered steps to set up and validate the change are strongly suggested.
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.