-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
What did you do to encounter the bug?
Steps to reproduce the behavior:
- Create a MongoDBCommunity resource in namespace X
- Add a user with a connectionStringSecret in namespace Y
users: - name: test db: test passwordSecretRef: name: mongo-password connectionStringSecretNamespace: some_namespace roles: - name: dbOwner db: test
- Notice the secret being created and deleted every few seconds
What did you expect?
For a stable secret to be present in namespace Y containing the connection string.
What happened instead?
The secret is created and immediately removed again. This is caused by the ownerReference of the secret, which points to the MongoDBCommunity resource in namespace X. This is not allowed, and the secret is therefor garbage collected link.
Operator Information
- Operator Version: 0.13.0
- MongoDB Image used: 8.0.4
Kubernetes Cluster Information
- Distribution: RKE2
- Version: v1.32.5+rke2r1
- Image Registry location: quay
realtimetodie
Metadata
Metadata
Assignees
Labels
No labels