Sunbeam snap is now based on microcluster LTS. This new version brings
breaking changes, such as moving endpoints to different api groups, and
renaming the cluster groups into core.
Change-Id: I93ffd4a12d0e66ffa43fe94291a24611670896ac
Signed-off-by: Guillaume Boutry <guillaume.boutry@canonical.com>
Optionally allow clusterd to be integrated with tls certificates
interface. When integrated, get a certificates managed by the leader
replacing the cluster certificates auto-generated by microcluster.
Change-Id: Ia019bd533962976ddc68e2b93bcdcbe28a5cff9c
Signed-off-by: Guillaume Boutry <guillaume.boutry@canonical.com>
If roles are not settled (voters is not an odd number), leaving the
cluster might break things. Waiting for roles to settle before leaving,
and afterwards on the leader.
Pass force=1 when deleting cluster member.
Cluster removal happens when a juju unit is departing.
Change-Id: Ic9a7273be36a6cbb117b74bcfd94cef116a3b603
Sunbeam-clusterd can scale up and down.
Currently, the external address in bound to the peers relationship.
Exposes the action `get-credentials` which returns the URL. In the long
term, it will return the credentials to access securely clusterd.
Change-Id: I8b91efe6d96198f5ad3634b9747161225381ded6