Instance level clusters can have duplicated environment scopes

All clusters should have a unique environment scope.

What is the expected correct behavior?

Validation error on environment scope.

Possible fixes

Add instance level check to https://gitlab.com/gitlab-org/gitlab/blob/master/ee/app/models/ee/clusters/cluster.rb#L15

Assignee Loading
Time tracking Loading