trusted-attestation-controller

by Intel

Helm chartv0.4.0App 0.4.0Verified publisher

Helm chart for Trusted Attestation Controller

About this chart

Trusted Attestation Controller Helm Chart

Trusted Attestation Controller (TAC) is a K8s controller for reconciling the QuoteAttestation requests initiated by the Trusted Certificate Service (TCS). It is a proxy between the TCS and the key server(s) which supports attestation services. The key servers could plugin to the controller by implementing the API provided by the controller.

To learn more check the documentation here.

Prerequisites

Prerequisites for building and running Trusted Attestation Controller:

  • Kubernetes cluster with running Trusted Certificate Service
  • Either KMRA or a KMIP-compliant key server exposed via iSecL's Key Broker Service

Installing the Helm Chart

Use the following command to install TAC.

The Intel's Helm Chart repository:

$ helm repo add intel https://intel.github.io/helm-charts
$ helm repo update

Install the chart:

$ helm install tac intel/trusted-attestation-controller -n intel-system --create-namespace

Use the following command to verify the installation status.

$ helm ls -n intel-system

Uninstalling the Chart

In case you want to uninstall TAC, use the following command:

$ helm delete tac -n intel-system

Configuration

The following table lists the configurable parameters of the trusted-attestation-controller chart and their default values. You can change the default values either via helm --set <parameter=value> or editing the values.yaml and passing the file to helm via helm install -f values.yaml ... option.

ParameterDescriptionDefault
image.hubImage repositorydocker.io
image.nameImage nameintel/trusted-attestation-controller
image.tagImage tagChart's appVersion
image.pullPolicyImage pull policyIfNotPresent
pluginName of the plugin to use with TAC""
serviceAccountNameService account nametac-svcact
metricsPortMetrics port8443
replicasReplica count1
controller.imageController image.image
controller.limits.cpuCPU limit200m
controller.limits.memoryMemory limit100Mi
controller.requests.cpuCPU request100m
controller.requests.memoryMemory request20Mi
nullPlugin.imagePlugin image.image
nullPlugin.limits.cpuCPU limit500m
nullPlugin.limits.memoryMemory limit100Mi
nullPlugin.requests.cpuCPU request100m
nullPlugin.requests.memoryMemory request20Mi
kmraPlugin.imagePlugin image.image
kmraPlugin.limits.cpuCPU limit500m
kmraPlugin.limits.memoryMemory limit100Mi
kmraPlugin.requests.cpuCPU request100m
kmraPlugin.requests.memoryMemory request20Mi
kmraPlugin.server.urlServer URL""
kmraPlugin.server.tls.caCrtcaCrt""
kmraPlugin.server.url.tls.clientCrtclientCrt""
kmraPlugin.server.url.tls.clientKeyclientKey""
iseclPlugin.imagePlugin image.image
iseclPlugin.limits.cpuCPU limit500m
iseclPlugin.limits.memoryMemory limit100Mi
iseclPlugin.requests.cpuCPU request100m
iseclPlugin.requests.memoryMemory request20Mi
iseclPlugin.kbs.hostKBS server hostnamelocalhost
iseclPlugin.kbs.portKBS server port number9443
iseclPlugin.kbs.tls.caCrtbase64-encoded CA certificate""
iseclPlugin.kbs.tls.clientKeybase64-encoded client key""
iseclPlugin.kbs.tls.clientCrtbase64-encoded client certificate""
iseclPlugin.kbs.tokenBearer token to access KBS API""
iseclPlugin.sqvs.hostHost name""
iseclPlugin.sqvs.portPort number""
iseclPlugin.kmip.ipKMIP ip""
iseclPlugin.kmip.hostnameKMIP hostnamelocalhost
iseclPlugin.kmip.portKMIP port number5696
iseclPlugin.kmip.usernameKMIP username""
iseclPlugin.kmip.passwordKMIP password""
iseclPlugin.kmip.tls.caCertbase65-encoded CA certificate""
iseclPlugin.kmip.tls.clientKeybase64-encoded client key""
iseclPlugin.kmip.tls.clientCertbase64-encoded client certificate""

KMRA plugin configuration example

Add the configuration:

export KEY_SERVER="hostname:port" # KMRA server url
export CA_CERT = "LS0tLS1CRUdJT...." # CA certificate (base64)
export CLIENT_KEY= "LS0tLS1CRUdJT..." # Client private key (base64)
export CLIENT_CERT= "LS0tLS1CRUdJ..." # Client certificate (base64)

Add values to values.yaml:

# Example KMRA configuration:
cat << EOF > values.yaml
  plugin: "kmra"
  kmraPlugin:
    server:
      url: $KEY_SERVER
      tls:    
        caCrt: $CA_CERT
        clientKey: $CLIENT_KEY
        clientCert: $CLIENT_CERT
EOF

Install the chart with your new values:

helm installl -f values.yaml tac intel/trusted-attestation-controller -n intel-system --create-namespace

Deploy trusted-attestation-controller with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has trusted-attestation-controller 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 charttrusted-attestation-controller is pinned at v0.4.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