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-2646] - POC Rotate password #261

Merged
merged 33 commits into from
Oct 4, 2023
Merged

[DPE-2646] - POC Rotate password #261

merged 33 commits into from
Oct 4, 2023

Conversation

MiaAltieri
Copy link
Contributor

@MiaAltieri MiaAltieri commented Oct 4, 2023

Issue

changes in password on config server aren't propagated to shard

Solution

update password passed on shard when config server password changes

Testing

juju deploy ./*charm --config role="config-server" config-server-one
juju deploy ./*charm --config role="shard" shard-one 
juju integrate config-server-one:config-server shard-one:sharding

# verify same password
juju run config-server-one/0 get-password
juju run shard-one/0 get-password

# verify cannot set shard password
juju run shard-one/0 set-password
juju run config-server-one/0 get-password
juju run shard-one/0 get-password

# verify setting config server password updates shard
juju run config-server-one/0 set-password
juju run config-server-one/0 get-password
juju run shard-one/0 get-password

@MiaAltieri MiaAltieri changed the title Rotate password [DPE-2646] - Rotate password Oct 4, 2023
@MiaAltieri MiaAltieri changed the title [DPE-2646] - Rotate password [DPE-2646] - POC Rotate password Oct 4, 2023
@MiaAltieri MiaAltieri merged commit a8ed8d8 into 6/edge Oct 4, 2023
14 checks passed
@MiaAltieri MiaAltieri deleted the rotate-password branch October 4, 2023 13:08
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