Add support for multiple API VIPs
Bug #1826892 reported by
Edward Hope-Morley
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vault-charm |
Fix Released
|
Wishlist
|
Edward Hope-Morley |
Bug Description
The vault charm currently supports configuring a single vip on the api network which can be the "default" or "access" spaces. There are some use cases that might benefit from having the api accessible from more than one network e.g. where a use has deployed a vault consumer e.g. kubernetes, on a different network to that used by the primary network on which the vault service is listening. To achieve this we could allow the charm to be configured with multiple VIPs on different networks (much like charms that relate to hacluster can do) and to enable this we could add an extra space binding e.g. "public".
description: | updated |
Changed in vault-charm: | |
status: | New → Triaged |
Changed in vault-charm: | |
assignee: | nobody → Edward Hope-Morley (hopem) |
Changed in vault-charm: | |
milestone: | 19.07 → 19.10 |
Changed in vault-charm: | |
milestone: | 19.10 → 20.01 |
To post a comment you must log in.
I've had a look at the charms' code to see what this might entail and one potential way to implement a second binding could be to add a new publish_url method [1] which would provide the url for a second space/binding should it be configured. That way the vault charm can optionally be configured on more than one space such that other charms can consume it without needing to be configured on its primary network.
[1] https:/ /github. com/openstack- charmers/ charm-interface -vault- kv/blob/ master/ provides. py#L45