Add a cluster
POST/api/admin/clusters
Admin only; with an API key, only an admin's key with the Admin API scope.
A kubeconfig may only carry inline credentials (token, client-certificate-data / client-key-data, certificate-authority-data); one with exec, auth-provider or a file path is refused with 400 kubeconfig_unsupported: ….
Responses
- 200
- 400
Done.
Error with a reason code (problem details, RFC 9457).