Bump github.com/go-jose/go-jose/v4 from 4.0.4 to 4.0.5 |
||
---|---|---|
.github/workflows | ||
cmd | ||
config | ||
pkg/peertracker | ||
systemd | ||
.goreleaser.yaml | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
diagram.dot | ||
diagram.png | ||
diagram2.dot | ||
diagram2.png | ||
go.mod | ||
go.sum |
README.md
SPIRE HA Agent
An agent to setup a SPIRE HA TrustDomain using two independent SPIRE Servers
Warning
This code is very early in development and is very experimental. Please do not use it in production yet. Please do consider testing it out, provide feedback, and maybe provide fixes.
How it Works
If the trust bundles of both servers are presented to the workload, it will not care which server instance a certificate is issued from. This agent provides both trust bundles to the end user as one trust bundle, and will contact whichever server is responding to respond to x509 certificate or JWT token requests.
Basic Setup
Simple Diagram
Advanced setup
While the basic setup allows a server to go down and workloads to continue to operate normally, it has a drawback. It requires both servers to be up during spire-ha-agent startup. This restriction can be eliminated by making the trust bundle of the other server available. The spire-trust-sync service can be used to do so.