trustgraph icon indicating copy to clipboard operation
trustgraph copied to clipboard

Cannot enable Claude models as kubectl -n trustgraph create secret generic claude-credentials fails

Open sccorby opened this issue 4 weeks ago • 1 comments

When attempting to saving claude credentials, using the command:

kubectl -n trustgraph create secret \
    generic claude-credentials \
    --from-literal=claude-key=CLAUDE_KEY

I get the following error:

error: failed to create secret the server could not find the requested resource (post secrets)

sccorby avatar Nov 26 '25 18:11 sccorby

That looks like an error at the Kubernetes API level.

It's possible the namespace doesn't exist. There's chicken & egg problem with deployment, you can't start the TrustGraph resources until the secret is deployed, but the secret requires the namespace: So you need to make sure you run this after the TG resources.yaml has been deployed to K8s to create the namespace.

Things you might want to check...

  • Check the trustgraph namespace exists: kubectl get namespace trustgraph
  • Have you got TG resources deployed? kubectl -n trustgraph get all
  • Check that the secrets module is enabled on K8s: kubectl api-resources | grep secrets

Which K8s deployment are you using?

cybermaggedon avatar Nov 27 '25 09:11 cybermaggedon