ctlog-tiles

by sigstore

Helm chartv0.1.9App v0.1.2Apache-2.0Verified publisher

Tiles-based certificate log (TesseraCT)

About this chart

ctlog-tiles

Tiles-based certificate log (TesseraCT)

Homepage: https://sigstore.dev

Quick Installation

To install the helm chart with default values run following command. The Values section describes the configuration options for this chart.

helm dependency update .
helm install [RELEASE_NAME] .

Uninstallation

To uninstall the Helm chart run following command.

helm uninstall [RELEASE_NAME]

Specifying Fulcio roots

Unlike the ctlog chart, there is no createctconfig job that runs and fetches Fulcio's roots from the rootCert endpoint. The roots need to be known ahead of time and specified directly in values.yaml:

server:
  ...
  fulcio:
    rootPEM: |-
      -----BEGIN CERTIFICATE-----
      ...

Using the POSIX backend

In values.yaml, set image.flavor to "posix" (default).

Create a secret for the private key:

openssl ecparam -name prime256v1 -genkey -noout -out /path/to/privkey.pem
kubectl -n ctlog-tiles-system create secret generic ctlog-signing-key --from-file=signing-key=/path/to/privkey.pem

Encrypted secret keys are not supported.

Configure the private key and storage directory in values.yaml:

server:
  ...
  posix:
    privateKey:
      path: /etc/ctfe/signer.pem
      secret:
        name: signing-key
        key: signing-key
        mountPath: /etc/ctfe
        mountSubPath: signer.pem
    storageDir:
      path: /storage
      name: ctlog
      volume:
        hostPath:
          path: /data/ctlog-storage
          type: Directory

Using the GCP backend

The deployment needs to be running in a GKE cluster with workload identity enabled and with permission to access secrets, storage objects, and Spanner databases.

In values.yaml, set image.flavor to "gcp".

Create a Spanner instance and database in GCP:

gcloud spanner instances create tesseract \
    --config=regional-us-west1 \
    --description="test" --nodes=1
gcloud spanner databases create sequencer --instance tesseract
# If using antispam, create the antispam database too:
# gcloud spanner databases create antispam --instance tesseract

Create a GCS bucket:

gcloud storage buckets create gs://unique-tesseract-bucket-name

Create secrets in Secret Manager for both the private and public keys:

gcloud secrets create tesseract-private --data-file=/path/to/privkey.pem
gcloud secrets create tesseract-public --data-file=/path/to/pubkey.pem

Configure the Spanner path, bucket, and signer keys in values.yaml:

server:
  ...
  gcp:
    spanner: projects/my-project/instances/tesseract/databases/sequencer
    bucket: unique-tesseract-bucket-name
    signer:
      privateKey: projects/1234/secrets/tesseract-private/versions/1
      publicKey: projects/1234/secrets/tesseract-public/versions/1

Maintainers

NameEmailUrl
The Sigstore Authors

Source Code

Values

KeyTypeDefaultDescription
affinityobject{}
fullnameOverridestring""
image.flavorstring"posix"
image.gcpSHAstring"sha256:37f1e3fb7f511f8c4bacec43e22fb52fb631f77fadb10de8bbf1560594c96fbe"
image.posixSHAstring"sha256:b044edd2388857dfc590381ff526214dfea93c6eeb61f632e58633cac2330935"
image.pullPolicystring"IfNotPresent"
image.registrystring"ghcr.io"
image.repositorystring"transparency-dev/tesseract"
image.versionstring"v0.1.2"
imagePullSecretslist[]
lifecycle.preStop.sleep.secondsint15
livenessProbe.httpGet.pathstring"/healthz"
livenessProbe.httpGet.portint6962
nameOverridestring""
namespace.createboolfalse
namespace.namestring"ctlog-tiles-system"
neg.http.namestring""
neg.http.portint80
nodeSelector."iam.gke.io/gke-metadata-server-enabled"string"true"
podAnnotationsobject{}
podLabelsobject{}
podSecurityContextobject{}
readinessProbe.httpGet.pathstring"/healthz"
readinessProbe.httpGet.portint6962
replicaCountint1
resourcesobject{}
securityContext.allowPrivilegeEscalationboolfalse
securityContext.capabilities.drop[0]string"ALL"
securityContext.readOnlyRootFilesystembooltrue
securityContext.runAsNonRootbooltrue
securityContext.runAsUserint65533
server.antispamobject{}
server.extraArgslist[]
server.extraEnvlist[]
server.fulcio.configMap.keystring"fulcio"
server.fulcio.configMap.mountPathstring"/etc/fulcio"
server.fulcio.configMap.mountSubPathstring"roots.pem"
server.fulcio.configMap.namestring"fulcio-roots"
server.fulcio.pathstring"/etc/fulcio/roots.pem"
server.fulcio.rootPEMstring""
server.gcpobject{}
server.hostnamestring"localhost"
server.http.portstring"6962"
server.logLevelstring"0"
server.posixobject{}
server.serverConfigobject{}
server.tesseraLivecycleobject{}
server.witnessingobject{}
service.ports[0].namestring"6962-tcp"
service.ports[0].portint80
service.ports[0].protocolstring"TCP"
service.ports[0].targetPortint6962
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}
serviceAccount.automountbooltrue
serviceAccount.createbooltrue
serviceAccount.namestring""
terminationGracePeriodSecondsint65
tolerationslist[]

Deploy ctlog-tiles with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ctlog-tiles 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 chartctlog-tiles is pinned at v0.1.9 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