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-4906] - Make libs k8s friendly #438

Merged
merged 12 commits into from
Jul 26, 2024
Merged

Conversation

MiaAltieri
Copy link
Contributor

@MiaAltieri MiaAltieri commented Jul 24, 2024

Issue

  1. MongoDB K8s charm cannot use some of the shared code in the lib
  2. MongoDB K8s charm is copying over an excessive amount of the status code

Solution

  1. use a universal name to retrieve hosts across charms
  2. move shared status code to set_status lib

Lib versions

currently many of the library API + Patch are out of date, so we do not bump the versions here this PR when it lands will resolve them

@MiaAltieri MiaAltieri changed the title Make libs k8s friendly [DPE-4906] - Make libs k8s friendly Jul 24, 2024
lib/charms/mongodb/v0/set_status.py Outdated Show resolved Hide resolved
tests/unit/test_charm.py Outdated Show resolved Hide resolved
MiaAltieri and others added 3 commits July 24, 2024 14:04
Co-authored-by: Nehalenniæ Oudin <17551419+Gu1nness@users.noreply.github.com>
Gu1nness
Gu1nness previously approved these changes Jul 24, 2024
Co-authored-by: Nehalenniæ Oudin <17551419+Gu1nness@users.noreply.github.com>
Gu1nness
Gu1nness previously approved these changes Jul 24, 2024
Gu1nness
Gu1nness previously approved these changes Jul 25, 2024
@MiaAltieri MiaAltieri merged commit 437b04a into 6/edge Jul 26, 2024
39 checks passed
@MiaAltieri MiaAltieri deleted the make-libs-k8s-friendly branch July 26, 2024 11:37
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