@using EntKube.Web.Data
@using EntKube.Web.Services
@using Microsoft.AspNetCore.Components.Forms
@using Microsoft.EntityFrameworkCore
@inject TenantService TenantService
@inject VaultService VaultService
@* ===========================================================================
Three-level drill-down: Environments ▸ Clusters ▸ Cluster Detail
The user sees ONE level at a time — no nested accordion clutter.
=========================================================================== *@
@if (selectedCluster is not null)
{
@* ───────────── Level 3: Cluster Detail ───────────── *@
Paste your kubeconfig YAML or upload a file to auto-detect clusters and API server URLs.
Found @parsedContexts.Count context(s). Select one to register:
@cluster.ContextName
Deployment stages for this tenant. Click an environment to manage its clusters.