Skip to main content
GET
Federation Status
Role mínima: viewer. Não recebe parâmetros. GET /api/v1/federation (sem sufixo) devolve a mesma resposta.
  • totalClusters, connectedClusters, disconnectedClusters: a partir do campo status.connected de cada ClusterRegistration (um registro sem status conta como desconectado)
  • degradedClusters: registros conectados cuja condição Degraded é True (alguns nós não estão Ready); eles também entram em connectedClusters
  • totalActiveIssues: Issues deste cluster, em qualquer namespace, cujo estado não é Resolved nem Failed (Issues de clusters remotos não entram na conta)

Autorizações

X-API-Key
string
header
obrigatório

API key sent in the X-API-Key header. Keys are read from the Secret chatcli-operator-secrets, key api-keys (fallback: ConfigMap chatcli-operator-config, key api-keys) in the operator namespace, as a YAML list of {key, role, name, description} (name is the identity recorded on approval decisions); the operator chart creates it only with apiKeys.create: true. Roles: viewer < operator < admin — any other role string is denied everywhere. Changes are picked up within about 30 seconds; deleting both the Secret and the ConfigMap revokes every key. With no keys configured every /api/ call returns 401, unless CHATCLI_OPERATOR_DEV_MODE=true, which grants admin without a key (development only).

Resposta

Federation status

apiVersion
string
Exemplo:

"v1"

kind
string
Exemplo:

"FederationStatus"

spec
object