Repository navigation
Description
Problem
The Crawl4AI service (planned in the next issues) refuses to listen beyond loopback without CRAWL4AI_API_TOKEN. Its entrypoint binds 127.0.0.1 when no token is set (https://raw.githubusercontent.com/unclecode/crawl4ai/v0.9.5/deploy/docker/entrypoint.sh, read 2026-11-07). No credential, cluster Secret row or table entry for this token exists in src/devops_cli/config/env.py, src/devops_cli/k8s/cluster_secrets.py or k8s/README.md.
Expected
One keyring value crawl4ai_api_token (credential crawl4ai.api_token, alias CRAWL4AI_API_TOKEN), generated with SecretGenerator("urlsafe", 32) when absent, as valkey.password and grafana.password are. It feeds two cluster Secrets: devops/crawl4ai (key CRAWL4AI_API_TOKEN, restarts Deployment crawl4ai) and devops/devops-cli (key DEVOPS_CLI_CRAWL4AI_API_TOKEN, required=False, restarts Deployment roadmap-service). The secret table of k8s/README.md lists both rows. A person runs the existing cluster-secrets command to create the Secret. The change creates no secret.
Acceptance criteria
- A test in
tests/fails on the base: the cluster secret table holds adevops/crawl4airow with keyCRAWL4AI_API_TOKENand the generator, and aDEVOPS_CLI_CRAWL4AI_API_TOKENentry indevops/devops-cli, both from the same keyring value. tests/invariants/test_k8s_manifests.py(secret-table rows) fails on the base and passes: both rows are ink8s/README.md.devops config audit-keys(or the test that lists credentials) knowscrawl4ai.api_token, and no tool parameter or MCP option takes it.- The token never appears in a log line or in a dry-run output.
Existing tool considered
The existing ClusterSecret, SecretEntry, SecretGenerator and KeyringSource of cluster_secrets.py. No new mechanism. Alternative: a JWT (CRAWL4AI_JWT_ENABLED) needs a signing key and a token call, and brings nothing for two internal callers.
Related
Next: the manifests issue and the client issue. Owner rule: a person creates secrets.
Activity
dan-petty commentedon Nov 7, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
featprefix of the title gives the type.(k8s)scope of the title gives the scope.Prerequisite for the planned Crawl4AI service but not a broken system fix; part of a sequenced set of issues.Unblocks the Crawl4AI service deployment but is one of several planned pieces.Follows the existing valkey.password and grafana.password pattern with no new mechanism.Both add a specific token to the cluster secrets system using the same SecretGenerator and keyring pattern, but for different credentials (argocd/grafana vs crawl4ai).devops-cli-service commentedon Nov 7, 2026
Released in v0.78.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.78.0
devops-cli-service commentedon Nov 7, 2026
Live since 2026-11-07 12:09 UTC