diff options
Diffstat (limited to 'app/assets/javascripts/environments/graphql/queries/environment_cluster_agent_with_flux_resource.query.graphql')
-rw-r--r-- | app/assets/javascripts/environments/graphql/queries/environment_cluster_agent_with_flux_resource.query.graphql | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app/assets/javascripts/environments/graphql/queries/environment_cluster_agent_with_flux_resource.query.graphql b/app/assets/javascripts/environments/graphql/queries/environment_cluster_agent_with_flux_resource.query.graphql new file mode 100644 index 00000000000..80363a06d42 --- /dev/null +++ b/app/assets/javascripts/environments/graphql/queries/environment_cluster_agent_with_flux_resource.query.graphql @@ -0,0 +1,21 @@ +query getEnvironmentClusterAgentWithFluxResource($projectFullPath: ID!, $environmentName: String) { + project(fullPath: $projectFullPath) { + id + environment(name: $environmentName) { + id + kubernetesNamespace + fluxResourcePath + clusterAgent { + id + name + webPath + tokens { + nodes { + id + lastUsedAt + } + } + } + } + } +} |