Comments (4)
Hey @m-bahmann ,
I'm not sure which issue you are after here.
So deletion of Secrets is desired behavior if delete-psmdb-pvc
is set. We might add a separate finalizer for secrets. Is it what you are after?
Recreating PSMDB cluster without secrets on new PVC should not be the problem.
Also I'm a bit confused with
the problem is sometimes the percona secrets (cr.Spec.Secrets.Users,
"internal-" + cr.Name + "-users") are respectively being recreated right after the deletion in reconcileUsersSecret, reconcileUsers func calls. Sometimes not.
What does it mean "Sometimes not"? Is it that there is an issue that secrets are not deleted sometimes?
from percona-server-mongodb-operator.
Hi :)
I have the same issue. When using terraform and helm_release after destroy plan, there is still one secret internal-{name}-users
remaining. This secret then is taken as preffered one for new cluster in that namespace. Regardless what we set in values.yaml
for secrets.users
. The issue is that it may contain outdated credentials. It would be nice to have an additional finalizer or any other solution/flag for cleaning up that secret.
Currently I have to delete secrets manually after each cluster destroy.
I have this issue specifically when using only one finalizer (delete-pvc).
When using both it usually works as expected.
from percona-server-mongodb-operator.
from percona-server-mongodb-operator.
@m-bahmann I'm interested in the failure when the secret is recreated after cluster deletion (I have tried to reproduce it with sharding but couldn't).
Could you share your cr.yaml or if not at least which config was used (sharding/replica, anything else interesting). I would like to try to reproduce it, but also if you have some steps to reproduce you can open a Jira ticket in K8SPSMDB project here: https://perconadev.atlassian.net/
Thanks!
from percona-server-mongodb-operator.
Related Issues (20)
- [FEAT]: Arm64 support HOT 8
- Unable to change the replica size, Operator seems to always pick the size as 3 for the StatefulSet HOT 1
- test
- Operator not using IRSA Service Account IAM Role for restore and backup reconcile HOT 2
- requireTLS is ignored in "unsafe" mode HOT 1
- Constant host unreachable errors within pod HOT 4
- configurable externalTrafficPolicy for LoadBalancer HOT 2
- Backups/Restores are in Waiting Status after Kubernetes scheduler restarted the backup-agent container HOT 1
- Support for accessing syslog and mounting additional volumes for audit collection HOT 1
- Cannot use custom issuer to generate tls certificate HOT 1
- Cannot scale up mongodb instances storage from the CR definition of the psmdb cluster HOT 2
- Backups failing on one cluster without error message
- Backup config not updated HOT 3
- Allow creation of backups without delete-backup finalizers
- Duplicate StatefulSet ControllerRevision, PerconaServerMongoDB status stucks in "Initializing" HOT 2
- psmdb-operator crashes when psmdb-db is deployed
- PVC remains in Pending state when deploying MongoDB with Percona Server for MongoDB Operator it does not automatically set the default storageClassName HOT 1
- Allow adding more initContainers and their securityContext
- Failed to delete history backup data in minio HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from percona-server-mongodb-operator.