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

NameEmailUrl
marcofranssen[email protected]https://marcofranssen.nl
kfox1111[email protected]
faisal-memon[email protected]

Source Code

Parameters

Chart parameters

NameDescriptionValue
image.registryThe OCI registry to pull the image fromghcr.io
image.repositoryThe repository within the registryspiffe/spire-ha-agent
image.pullPolicyThe image pull policyIfNotPresent
image.tagOverrides the image tag whose default is the chart appVersion""
modeIf the spire-ha-agent will run in delegated or broker modedelegated
trustDomainThe trust domain to be used for the SPIFFE identifiersexample.org
singleSocketIf in singleSocket mode, only one driver is usedfalse
sockets.single.admin.hostPathWhere the admin socket is on disk when in single socket mode/var/run/spire/agent/sockets/main/csi.spiffe.io/admin
sockets.a.admin.hostPathWhere the a admin socket is on disk/var/run/spire/agent/sockets/a/csi.spiffe.io/admin
sockets.b.admin.hostPathWhere the b admin sockets is on disk/var/run/spire/agent/sockets/b/csi.spiffe.io/admin
sockets.single.broker.hostPathWhere the broker socket is on disk when in single socket mode/var/run/spire/agent/sockets/main/csi.spiffe.io/broker
sockets.a.broker.hostPathWhere the a broker socket is on disk/var/run/spire/agent/sockets/a/csi.spiffe.io/broker
sockets.b.broker.hostPathWhere the b broker socket is on disk/var/run/spire/agent/sockets/b/csi.spiffe.io/broker
sockets.single.workload.hostPathWhere the broker socket is on disk when in single socket mode/var/run/spire/agent-sockets
sockets.a.workload.hostPathWhere the a workload socket is on disk/var/run/spire/agent/sockets/a/csi.spiffe.io/public
sockets.b.workload.hostPathWhere the b workload socket is on disk/var/run/spire/agent/sockets/b/csi.spiffe.io/public
vsockUse a vsockets to expose the service rather then a unix socketfalse
portPort number to listen on999
brokerAPI.enabledServe the SPIFFE Broker API to downstream consumers. Only supported when mode is broker.false
brokerAPI.socket.enabledServe the broker api on a unix sockettrue
brokerAPI.socket.mountOnHostMake 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.hostPathWhere the served broker socket is made available on the host when mountOnHost is true/run/spire/agent/sockets/csi.spiffe.io/broker
brokerAPI.tcp.enabledServe the broker api over tcpfalse
brokerAPI.tcp.bindAddressThe tcp address to bind to0.0.0.0:8788
brokerAPI.brokers.spiffefs.enabledEnable spiffefs as a broker. This feature is experimental.false
brokerAPI.brokers.spiffefs.idTemplateThe default id templatespiffe://{{ .TrustDomain }}/spiffefs
brokerAPI.brokers.spiffefs.allowedReferenceTypes[0].typeURLThe type of reference allowedtype.googleapis.com/spiffe.broker.WorkloadPIDReference
brokerAPI.brokers.spiffefs.allowedReferenceTypes[0].allowOverTCPAllow access over TCPfalse
sds.enabledServe 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartspire-ha-agent is pinned at v0.5.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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