tbot-spiffe-daemon-set
by jlucidar
This chart deploys the Machine & Workload Identity agent, `tbot`, into your Kubernetes cluster and configures it for issuing SPIFFE SVIDs to other Kubernetes workloads.
About this chart
TBot SPIFFE Daemon Set
This chart deploys a daemon set of tbot agents which are configured to expose
the SPIFFE Workload API via a Unix Domain Socket. This socket can then be
mounted into pods to allow them to receive SPIFFE SVIDs issued by Teleport
Machine & Workload Identity.
How To
Basic configuration
Follow steps 1 and 2 from the
Deploying tbot on Kubernetes guide
to create a Bot and Join Token for your tbot daemon set to use for
authentication.
The following are the minimal values you must set on the chart for it to function correctly:
# Set to the name of your Teleport cluster.
clusterName: example.teleport.sh
# Set to the name of the token you created.
token: example-token
# Set to the address of your Teleport Proxy Service.
teleportProxyAddress: example.teleport.sh:443
workloadIdentitySelector:
# Set to the name of the WorkloadIdentity resource you'd like to use when
# issuing SVIDs.
name: example-workload-identity
See values.yaml for a full reference of the available values.
Contributing to the chart
Please read CONTRIBUTING.md before raising a pull request to this chart.
Deploy tbot-spiffe-daemon-set with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has tbot-spiffe-daemon-set 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 charttbot-spiffe-daemon-set is pinned at v19.0.1 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