2 duplicated sets of secrets

Hello there,
I just noticed there are 2 duplicated sets of secrets in percona mongodb cluster, could anyone please tell me the reason?

thanks,
Arthur

1 Like

Hi Arthur,

The operator allows you to rotate credentials by patching the users secret (mongo-ods-secrets in your case, spec.secrets.users in general). If you update all the passwords, the operator would fail to connect to mongodb if it uses the user facing secret. Therefore it creates an internal secret to use for its own connections and keep these two secrets in sync.

1 Like

Hello Ege,

Thanks for your clarification.

Arthur

1 Like