tornjak
tornjak copied to clipboard
Federation feature for single Tornjak/SPIRE instance
We would like to extend Tornjak to make the Federation management experience easier.
This involves backend decision of using the SPIRE API or potentially the controller manager CRDs.
The frontend needs design of how the page will look and what functionalities will be most important.
The major pain point of configuring federation seems to be due to the exchange step. Currently, this takes three steps:
- Obtain a trust bundle from the source SPIRE server
- Format the API call or CRD to be called/placed into the target SPIRE server
- Make the API call
Additional nice-to-have features:
- Federation list
- Easy way to view workload entries that
federateWitheach trust domain
Here's a proposed set of steps:
- Implement view-type APIs and frontend features
- Backend API: needs to add
bundle show/listandfederation list - Frontend UI:
- A new page at the top for Federation.
- Federation List
- Bundle List
- A place to view THIS SPIRE server's bundle (and perhaps display the properly formatted CRD or api call for other SPIRE servers to federate with this one)
- A new page at the top for Federation.
- Implement write-type APIs and frontend features
- Backend API: needs to add
bundle set/delete, andfederation create/update/delete - Frontend UI:
- A page to
Create FederationandSet Bundle. These maybe should be the same page. - Buttons to delete bundle or federation relationships
- A page to
- Additional Features
- Add a way to view workloads with
federatesWith