appmesh-spire-server
by Helm
SPIRE Server Helm chart for AppMesh mTLS support on Kubernetes
About this chart
Sample App Mesh SPIRE Server
Sample App Mesh SPIRE Server Helm chart for Kubernetes
Installing the Chart
Add the EKS repository to Helm:
helm repo add eks https://aws.github.io/eks-charts
Install App Mesh SPIRE Server:
helm upgrade -i appmesh-spire-server eks/appmesh-spire-server \
--namespace spire
The configuration section lists the parameters that can be configured during installation.
Uninstalling the Chart
To uninstall/delete the appmesh-spire-server deployment:
helm delete appmesh-spire-server --namespace spire
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
The following tables lists the configurable parameters of the chart and their default values.
| Parameter | Description | Default |
|---|---|---|
config.trustDomain | SPIRE Trust Domain | appmesh.aws |
config.logLevel | Log Level | DEBUG |
config.svidTTL | SVID TTL value | 1h |
config.bindAddress | SPIRE Server Bind Address | 0.0.0.0 |
config.bindPort | SPIRE Server Bind Port | 8081 |
serviceAccount.create | If true, create a new service account | true |
serviceAccount.name | Service account to be used | spire-server |
config.plugin | SPIRE Plugin(s) | null |
image.tag | SPIRE Server image version | 1.5.0 |
To add plugins to the SPIRE server according to the documentation, use the following convention
config:
plugin: |
NodeAttestor "tpm" {
plugin_cmd = "/path/to/plugin_cmd"
plugin_checksum = "sha256 of the plugin binary"
plugin_data {
ca_path = "/opt/spire/.data/certs"
}
}
If you want to upgrade existing SPIRE to a later version without down time, be aware that the difference between SPIRE Agent and SPIRE Server CANNOT BE GREATER than 1 minor version. Also you have to upgrade 1 minor version at a time. Check this documentation for more info.
Deploy appmesh-spire-server with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has appmesh-spire-server 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 chartappmesh-spire-server is pinned at v1.0.7 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