Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where does spicedb-operator store list of clusters? #306

Open
galenwarren opened this issue Apr 15, 2024 · 1 comment
Open

Where does spicedb-operator store list of clusters? #306

galenwarren opened this issue Apr 15, 2024 · 1 comment

Comments

@galenwarren
Copy link

When the spicedb operator starts up, I see this line in the logs:

E0415 14:22:57.432900 1 controller.go:288] syncOwnedResource called on unknown object (authzed.com/v1alpha1, Resource=spicedbclusters::ccc-work-kgw-a-2/spicedb): spicedbclusters.authzed.com "spicedb" not found

... but this SpicedbCluster (named "spicedb") doesn't exist anymore, I removed it and replaced it with one with a different name.

How can I remove a cluster and have the operator "forget" it completely?

Thanks.

@ecordell
Copy link
Contributor

ecordell commented May 6, 2024

This is due to left-over labels on another resource; usually a secret (i.e. "this secret was used by spicedb cluster ABC"). The logs are harmless, but annoying.

I think this is a bug, the operator should clean these labels and annotations when the cluster is deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants