spire-ha-agent
by SPIFFE
Helm chartv0.5.0App 0.6.0Verified publisher
A Helm chart to install the SPIRE HA agent.
About this chart
spire-ha-agent
A Helm chart to install the SPIRE HA agent.
Homepage: https://github.com/spiffe/helm-charts-hardened/tree/main/charts/spire
Maintainers
| Name | Url | |
|---|---|---|
| marcofranssen | [email protected] | https://marcofranssen.nl |
| kfox1111 | [email protected] | |
| faisal-memon | [email protected] |
Source Code
Parameters
Chart parameters
| Name | Description | Value |
|---|---|---|
image.registry | The OCI registry to pull the image from | ghcr.io |
image.repository | The repository within the registry | spiffe/spire-ha-agent |
image.pullPolicy | The image pull policy | IfNotPresent |
image.tag | Overrides the image tag whose default is the chart appVersion | "" |
mode | If the spire-ha-agent will run in delegated or broker mode | delegated |
trustDomain | The trust domain to be used for the SPIFFE identifiers | example.org |
singleSocket | If in singleSocket mode, only one driver is used | false |
sockets.single.admin.hostPath | Where the admin socket is on disk when in single socket mode | /var/run/spire/agent/sockets/main/csi.spiffe.io/admin |
sockets.a.admin.hostPath | Where the a admin socket is on disk | /var/run/spire/agent/sockets/a/csi.spiffe.io/admin |
sockets.b.admin.hostPath | Where the b admin sockets is on disk | /var/run/spire/agent/sockets/b/csi.spiffe.io/admin |
sockets.single.broker.hostPath | Where the broker socket is on disk when in single socket mode | /var/run/spire/agent/sockets/main/csi.spiffe.io/broker |
sockets.a.broker.hostPath | Where the a broker socket is on disk | /var/run/spire/agent/sockets/a/csi.spiffe.io/broker |
sockets.b.broker.hostPath | Where the b broker socket is on disk | /var/run/spire/agent/sockets/b/csi.spiffe.io/broker |
sockets.single.workload.hostPath | Where the broker socket is on disk when in single socket mode | /var/run/spire/agent-sockets |
sockets.a.workload.hostPath | Where the a workload socket is on disk | /var/run/spire/agent/sockets/a/csi.spiffe.io/public |
sockets.b.workload.hostPath | Where the b workload socket is on disk | /var/run/spire/agent/sockets/b/csi.spiffe.io/public |
vsock | Use a vsockets to expose the service rather then a unix socket | false |
port | Port number to listen on | 999 |
brokerAPI.enabled | Serve the SPIFFE Broker API to downstream consumers. Only supported when mode is broker. | false |
brokerAPI.socket.enabled | Serve the broker api on a unix socket | true |
brokerAPI.socket.mountOnHost | Make the served broker socket visible on the host, so consumers running in other pods on the node can reach it. When false the socket stays in an emptyDir, reachable only from this pod. | true |
brokerAPI.socket.hostPath | Where the served broker socket is made available on the host when mountOnHost is true | /run/spire/agent/sockets/csi.spiffe.io/broker |
brokerAPI.tcp.enabled | Serve the broker api over tcp | false |
brokerAPI.tcp.bindAddress | The tcp address to bind to | 0.0.0.0:8788 |
brokerAPI.brokers.spiffefs.enabled | Enable spiffefs as a broker. This feature is experimental. | false |
brokerAPI.brokers.spiffefs.idTemplate | The default id template | spiffe://{{ .TrustDomain }}/spiffefs |
brokerAPI.brokers.spiffefs.allowedReferenceTypes[0].typeURL | The type of reference allowed | type.googleapis.com/spiffe.broker.WorkloadPIDReference |
brokerAPI.brokers.spiffefs.allowedReferenceTypes[0].allowOverTCP | Allow access over TCP | false |
sds.enabled | Serve the Envoy SDS protocol to downstream consumers. Only supported when mode is broker. | true |
sds.defaultNames.svid |
Deploy spire-ha-agent with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has spire-ha-agent on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartspire-ha-agent is pinned at v0.5.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply