canonical/minio-operator

Have an action that returns the secret-key of MinIO

kimwnasptd opened this issue · 1 comments

Context

Right now the secret-key config value of MinIO has a "" value as default. This then means that MinIO will create a random big password and use this value for the secret-key
https://github.com/canonical/minio-operator/blob/track/ckf-1.8/src/charm.py#L219-L234

Users should have a way in this case to be able to see the secret-key value that was autogenerated by the Charm.

Not that this change is only focused on the "interface" (actions) that users can use to get the value of secret-key. This could go hand in hand with #167, but can be a separate effort as well.

What needs to get done

  1. Have an action that returns the value of the secret-key that MinIO will have, which is either
    2. The value of the config
    3. The value that MinIO generated

Definition of Done

  1. Ensure the action returns the value, whether it was generated or not

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-5623.

This message was autogenerated