diff options
Diffstat (limited to 'app/assets/javascripts/environments/graphql/queries/environment_with_namespace.graphql')
-rw-r--r-- | app/assets/javascripts/environments/graphql/queries/environment_with_namespace.graphql | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/assets/javascripts/environments/graphql/queries/environment_with_namespace.graphql b/app/assets/javascripts/environments/graphql/queries/environment_with_namespace.graphql new file mode 100644 index 00000000000..42796f982b6 --- /dev/null +++ b/app/assets/javascripts/environments/graphql/queries/environment_with_namespace.graphql @@ -0,0 +1,15 @@ +query getEnvironmentWithNamespace($projectFullPath: ID!, $environmentName: String) { + project(fullPath: $projectFullPath) { + id + environment(name: $environmentName) { + id + name + externalUrl + kubernetesNamespace + clusterAgent { + id + name + } + } + } +} |