-
Notifications
You must be signed in to change notification settings - Fork 0
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-2995] Receive mongos user #10
Conversation
@@ -6,9 +6,12 @@ | |||
This class handles the sharing of secrets between sharded components, adding shards, and removing | |||
shards. | |||
""" | |||
import json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
file copied from mongodb charm
@@ -121,15 +120,6 @@ def _get_mongos_config_for_user( | |||
tls_internal=None, # Future PR will support TLS | |||
) | |||
|
|||
@property |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved to properties section of file
@@ -102,11 +106,6 @@ def _install_snap_packages(self, packages: List[str]) -> None: | |||
) | |||
raise | |||
|
|||
@property |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved to properties section of file
return f"mongodb://{username}:{password}@{MONGOS_SOCKET}" | ||
|
||
|
||
async def get_secret_data(ops_test, secret_uri) -> Dict: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
everything below here was copied from mongodb charm
6ebbf0d
to
0f9cb55
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Adopt changes from MongoDB libs for
config_server_interface.py
Future Work
Implement relation functions for host application + mongos so mongos can: