Allow clearing namespace cache for a non-managed cluster
Problem to solve
It is not obvious how to customize namespaces for non-managed clusters that were previously managed.
Intended users
Further details
A managed cluster that gets transitioned to a non-managed cluster will continue to use the managed namespaces for existing deployments, even when environment:kubernetes:namespace
is specified for the job. This is done to reduce risk of duplicate instances of not only the application, but also the in-cluster database (see the discussion in !25853 (comment 295762521))
Currently, the cluster must be temporarily transitioned back to managed in order to activate the button and clear the namespace cache.
Proposal
Show the button for both managed and non-managed clusters