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

[DPE-3314] remove secrets on broken #336

Merged
merged 3 commits into from
Jan 16, 2024
Merged

Conversation

MiaAltieri
Copy link
Contributor

@MiaAltieri MiaAltieri commented Jan 15, 2024

FYI

most of the work here is done on the mongos side, but some changes are needed in the libs that are owned by this charm

Issue

Secretes associated with username, password, uri are still present on the host-application and mongos sub-charm relation after relation with config-server and mongos sub-charm is broken

Solution

Call appropriate functions from mongos charm

Future PRs

  1. Implementation + Integration tests added on mongos side

Copy link
Contributor

@Mehdi-Bendriss Mehdi-Bendriss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work! I only have a few minor comments

lib/charms/mongodb/v0/config_server_interface.py Outdated Show resolved Hide resolved
lib/charms/mongodb/v0/config_server_interface.py Outdated Show resolved Hide resolved
lib/charms/mongodb/v1/shards_interface.py Outdated Show resolved Hide resolved
src/charm.py Outdated Show resolved Hide resolved
@MiaAltieri MiaAltieri merged commit e199c17 into 6/edge Jan 16, 2024
19 checks passed
@MiaAltieri MiaAltieri deleted the remove-relation-data branch January 16, 2024 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants