tcs-issuer

by Intel

Helm chartv0.5.0App 0.5.0Apache-2.0Verified publisher

A Helm chart for Trusted Certificate Issuer

About this chart

Trusted Certificate Issuer Helm chart

Trusted Certificate Service (TCS) is a K8s service to protect signing keys using Intel's SGX technology. Kubernetes certificate signing request (CSR) and cert-manager CertificateRequest APIs are both supported.

This document covers how to install Trusted Certificate Service (TCS) issuer (TCI) by using Helm charts.

To learn more check the documentation here.

Prerequisites

  • Helm 3.x
  • Kubernetes cluster with SGX node
  • cert-manager Custom Resource Definitions (CRDs)

Installing the Chart

Use the following command to install TCI (to namespace intel-system which will be created).

The Intel's Helm charts repository:

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

Install the chart:

NOTE: This will also install the CRDs.

$ helm install tci intel/tcs-issuer -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 TCI, use the following command:

NOTE: the below command does not uninstall the CRDs.

$ helm delete tci -n intel-system

Configuration

The following table lists the configurable parameters of the TCS issuer 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 repositoryintel
image.nameImage nametrusted-certificate-issuer
image.tagImage tagChart's appVersion
image.pullPolicyImage pull policyIfNotPresent
controllerExtraArgsList of extra arguments passed to the controller
imagePullSecretsArray of secrets pull an image from a private container image registry or repository
pkcs11.sopinCreate service accountV0lwbUJCybc2Oc6M06Vz
pkcs11.userpinCreate service accountU3BnbGIyTUl3ZV9lSHUy
serviceAccount.createCreate service accounttrue
serviceAccount.annotationsDictionary of service account annotations
serviceAccount.nameName of the service accountFull name of the chart
podAnnotationsDictionary of pod annotationssgx.intel.com/quote-provider: aesmd
podSecurityContextDictionary of pod security context settings
service.typeService typeClusterIP
service.portService port8443
resources.limits.cpuCPU limit500m
resources.limits.memoryMemory limit100Mi
resources.limits.sgx.intel.com/enclaveSGX enclave limit1
resources.limits.sgx.intel.com/epcSGX epc memory limit512Ki
resources.requests.cpuCPU request100m
resources.requests.memoryMemory request20Mi
resources.requests.sgx.intel.com/enclaveSGX enclave request1
resources.requests.sgx.intel.com/epcSGX epc memory request512Ki
nodeSelectorDictionary of node selector settings
tolerationsArray of tolerations settings
affinityDictionary of affinity settings

Deploy tcs-issuer with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has tcs-issuer 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 charttcs-issuer 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