appmesh-spire-server

by Helm

Helm chartv1.0.7App 1.5.0

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.

ParameterDescriptionDefault
config.trustDomainSPIRE Trust Domainappmesh.aws
config.logLevelLog LevelDEBUG
config.svidTTLSVID TTL value1h
config.bindAddressSPIRE Server Bind Address0.0.0.0
config.bindPortSPIRE Server Bind Port8081
serviceAccount.createIf true, create a new service accounttrue
serviceAccount.nameService account to be usedspire-server
config.pluginSPIRE Plugin(s)null
image.tagSPIRE Server image version1.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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartappmesh-spire-server is pinned at v1.0.7 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