Add option to select target remote cluster for instance deployment

During the a new application instance deployment, user should be able to select target remote cluster on which given app instance should be deployed. This of course only applies to cases when in given domain some remote clusters were previously added.

The selection should be made on the initial app deployment modal.

Requirements:

  • by default all the deployments should be made on the local cluster (this is the current case)
  • if given domain has no remote clusters configured, no changes to the modal should be made
  • if given domain has one or more remote clusters added, on the modal a checkbox should be displayed with label "Remote location", it is disabled by default, if enabled by the user a selector with the list of possible target remote clusters should be displayed for user to select one
  • the new app instance creation API endpoint should be enhanced with an option field for remote cluster indicator (identifier probably)

If the remote cluster identifier is present in the app instance creation request an enhanced deployment logic should be triggered - to be defined in a separate issue.