Skip to main content
GET
Get Runbook
string
obrigatório
Nome do runbook (ex.: oomkill-standard)
string
padrão:"default"
Namespace do runbook. O padrão é default (outros namespaces não são pesquisados).
spec traz o runbook no mesmo formato de Listar Runbooks; resourceMeta traz os metadados do Kubernetes (uid, labels, annotations). Não há status.

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, description}; no chart creates it. Roles: viewer < operator < admin — any other role string is denied everywhere. Changes are picked up within about 30 seconds. With no keys configured every /api/ call returns 401, unless CHATCLI_OPERATOR_DEV_MODE=true, which grants admin without a key (development only).

Parâmetros de caminho

name
string
obrigatório

Runbook name.

Exemplo:

"oom-standard"

Parâmetros de consulta

namespace
string
padrão:default

Namespace of the object. Defaults to default — pass it for objects in any other namespace.

Resposta

Runbook

apiVersion
string
Exemplo:

"v1"

kind
string
Exemplo:

"Runbook"

spec
object
resourceMeta
object