Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/environment_type.rb')
-rw-r--r--app/graphql/types/environment_type.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/app/graphql/types/environment_type.rb b/app/graphql/types/environment_type.rb
index 936ad52200c..aee09e5a143 100644
--- a/app/graphql/types/environment_type.rb
+++ b/app/graphql/types/environment_type.rb
@@ -33,6 +33,9 @@ module Types
field :external_url, GraphQL::Types::String, null: true,
description: 'External URL of the environment.'
+ field :kubernetes_namespace, GraphQL::Types::String, null: true,
+ description: 'Kubernetes namespace of the environment.'
+
field :created_at, Types::TimeType,
description: 'When the environment was created.'
@@ -51,11 +54,6 @@ module Types
field :environment_type, GraphQL::Types::String,
description: 'Folder name of the environment.'
- field :metrics_dashboard, Types::Metrics::DashboardType, null: true,
- description: 'Metrics dashboard schema for the environment.',
- resolver: Resolvers::Metrics::DashboardResolver,
- deprecated: { reason: 'Returns no data. Underlying feature was removed in 16.0', milestone: '16.0' }
-
field :latest_opened_most_severe_alert,
Types::AlertManagement::AlertType,
null: true,