UpsertCluster was not setting the odoosky.io/tenant-id label on the ArgoCD cluster Secret. Result: handleListServers tenant filter attributed every freshly-connected cluster to no-tenant, making the just-connected box invisible to the operator who registered it. Threads ownerTenantID from the connect token through to the body of the POST /api/v1/clusters call. Backfill of any pre-fix cluster Secret is a one-line kubectl label.
2.0 KiB
2.0 KiB