fulcio

by sigstore

Helm chartv2.11.8App 1.10.2Apache-2.0Verified publisher

Fulcio is a free code signing Certificate Authority, built to make short-lived certificates available to anyone.

About this chart

fulcio

Fulcio is a free code signing Certificate Authority, built to make short-lived certificates available to anyone.

Homepage: https://sigstore.dev/

The following components are also included as either direct components or through chart dependencies:

Note: 0.3.0 NOT backwards compatible

In version 0.3.0, we will be introducing a second ingress in support of the new gRPC endpoint as introduced in v0.4.0 of Fulcio.

The change in particular is the structure of the ingress values.

Previously

server:
  ingress:
    enabled: true
    hosts:
      - host: fulcio.localhost
        path: /

Now

server:
  ingress:
    http:
      enabled: true
      hosts:
        - host: fulcio.localhost
          path: /
    grpc:
      enabled: false

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]

Maintainers

NameEmailUrl
The Sigstore Authors

Requirements

RepositoryNameVersion
https://sigstore.github.io/helm-chartsctlog0.2.69

Values

KeyTypeDefaultDescription
config.contentsobject{}
config.formatstring"json"
createcerts.affinityobject{}
createcerts.annotationsobject{}
createcerts.enabledbooltrue
createcerts.image.pullPolicystring"IfNotPresent"
createcerts.image.registrystring"ghcr.io"
createcerts.image.repositorystring"sigstore/scaffolding/createcerts"
createcerts.image.versionstring"sha256:4d64dac937e26251327f91a26e188131fc8e9f75ee49bd698d662a3c1bf0d19c"
createcerts.namestring"createcerts"
createcerts.nodeSelectorobject{}
createcerts.podAnnotationsobject{}
createcerts.podLabelsobject{}
createcerts.replicaCountint1
createcerts.securityContext.runAsNonRootbooltrue
createcerts.securityContext.runAsUserint65533
createcerts.serviceAccount.annotationsobject{}
createcerts.serviceAccount.createbooltrue
createcerts.serviceAccount.mountTokenbooltrue
createcerts.serviceAccount.namestring""
createcerts.tolerationslist[]
createcerts.ttlSecondsAfterFinishedint3600
ctlog.createcerts.fullnameOverridestring"ctlog-createcerts"
ctlog.createcerts.namestring"ctlog-createcerts"
ctlog.createctconfig.logPrefixstring"fulcio"
ctlog.createtree.fullnameOverridestring"ctlog-createtree"
ctlog.createtree.namestring"ctlog-createtree"
ctlog.enabledbooltrue
ctlog.forceNamespacestring"ctlog-system"
ctlog.fullnameOverridestring"ctlog"
ctlog.namestring"ctlog"
ctlog.namespace.createbooltrue
ctlog.namespace.namestring"ctlog-system"
forceNamespacestring""
imagePullSecretslist[]
init.containerResourcesobject{}
init.enabledboolfalse
init.image.curl.imagePullPolicystring"IfNotPresent"
init.image.curl.registrystring"docker.io"
init.image.curl.repositorystring"curlimages/curl"
init.image.curl.versionstring"sha256:935d9100e9ba842cdb060de42472c7ca90cfe9a7c96e4dacb55e79e560b3ff40"8.17.0
namespace.createboolfalse
namespace.namestring"fulcio-system"
neg.grpc.namestring""
neg.grpc.portint5554
neg.http.namestring""
neg.http.portint80
server.affinityobject{}
server.args.aws_hsm_root_ca_pathstringnil
server.args.certificateAuthoritystring"fileca"
server.args.ct_log_originstring""
server.args.ct_log_urlstring""
server.args.disable_ct_logboolfalse
server.args.gcp_private_ca_parentstring"projects/test/locations/us-east1/caPools/test"
server.args.grpcPortint5554
server.args.hsm_caroot_idstringnil
server.args.portint5555
server.awsKmsCredentialsSecretNamestring"aws-kms-credentials"kubernetes secret name containing IAM credentials for use with AWS KMS
server.awsKmsRegionstring"us-east-1"AWS region if using AWS KMS for signing key
server.extraArgslist[]
server.extraEnvlist[]
server.grpcSvcPortint5554
server.image.pullPolicystring"IfNotPresent"
server.image.registrystring"ghcr.io"
server.image.repositorystring"sigstore/fulcio"
server.image.versionstring"v1.10.2@sha256:79e6617a9b16e35e9743df3efd51dcc28777b36da49b7bf9940beb0ff79e809f"
server.ingress.grpc.annotations."nginx.ingress.kubernetes.io/backend-protocol"string"GRPC"
server.ingress.grpc.classNamestring""
server.ingress.grpc.enabledboolfalse
server.ingress.grpc.hosts[0].hoststring"fulcio.localhost"
server.ingress.grpc.hosts[0].pathstring"/dev.sigstore.fulcio.v2.CA"
server.ingress.grpc.tls[0].hosts[0]string"fulcio.localhost"
server.ingress.grpc.tls[0].secretNamestring"fulcio-grpc-ingress-tls"
server.ingress.http.annotationsobject{}
server.ingress.http.classNamestring"nginx"
server.ingress.http.enabledbooltrue
server.ingress.http.hosts[0].hoststring"fulcio.localhost"
server.ingress.http.hosts[0].pathstring"/"
server.ingress.http.tlslist[]
server.ingresses[0].annotationsobject{}
server.ingresses[0].backendConfigSpec.healthCheck.portint5555
server.ingresses[0].backendConfigSpec.healthCheck.requestPathstring"/healthz"
server.ingresses[0].backendConfigSpec.healthCheck.typestring"HTTP"
server.ingresses[0].backendConfigSpec.logging.enablebooltrue
server.ingresses[0].backendConfigSpec.securityPolicy.namestring"fulcio-security-policy"
server.ingresses[0].classNamestring"gce"
server.ingresses[0].enabledboolfalse
server.ingresses[0].frontendConfigSpec.redirectToHttps.enabledbooltrue
server.ingresses[0].frontendConfigSpec.sslPolicystring"fulcio-ssl-policy"
server.ingresses[0].grpcbooltrue
server.ingresses[0].hosts[0].hoststring"fulcio.localhost"
server.ingresses[0].hosts[0].pathstring"/"
server.ingresses[0].httpbooltrue
server.ingresses[0].namestring"gce-ingress"
server.ingresses[0].staticGlobalIPstring"lb-ext-ip"
server.ingresses[0].tlslist[]
server.kmsTypestring"none"KMS type for signing key (possible values: "" / "none", "aws")
server.livenessProbeobject{"failureThreshold":3,"httpGet":{"path":"/healthz","port":5555,"scheme":"HTTP"},"periodSeconds":10,"successThreshold":1,"timeoutSeconds":1}Liveness probe for the fulcio server container. httpGet.port should match server.args.port.
server.logging.productionboolfalse
server.namestring"server"
server.nodeSelectorobject{}
server.podLabelsobject{}Additional labels to add to the server pod
server.readinessProbeobject{"failureThreshold":3,"httpGet":{"path":"/healthz","port":5555,"scheme":"HTTP"},"periodSeconds":10,"successThreshold":1,"timeoutSeconds":1}Readiness probe for the fulcio server container. httpGet.port should match server.args.port.
server.replicaCountint1
server.secretstring"fulcio-server-secret"
server.securityContext.runAsNonRootbooltrue
server.securityContext.runAsUserint65533
server.service.ports[0].namestring"http"
server.service.ports[0].portint80
server.service.ports[0].protocolstring"TCP"
server.service.ports[0].targetPortint5555
server.service.ports[1].namestring"grpc"
server.service.ports[1].portint5554
server.service.ports[1].protocolstring"TCP"
server.service.ports[1].targetPortint5554
server.service.ports[2].namestring"2112-tcp"
server.service.ports[2].portint2112
server.service.ports[2].protocolstring"TCP"
server.service.ports[2].targetPortint2112
server.service.typestring"ClusterIP"
server.serviceAccount.annotationsobject{}
server.serviceAccount.createbooltrue
server.serviceAccount.mountTokenbooltrue
server.serviceAccount.namestring""
server.svcPortint80
server.tolerationslist[]

Ingress

To enabled access from external resources, an Ingress resource is created. The configuration necessary for each Ingress resource is primarily dependent on the specific Ingress Controller being used. In most cases, implementation specific configuration is specified as annotations on the Ingress resources. These can be applied using the server.ingress.annotations parameter.

Warning: versions prior to 0.3.0 of this chart use different ingresses.

In version 0.3.0 a second ingress is introduced. This ingress exposes the gRPC endpoint as introduced in v0.4.0 of Fulcio.

The change in particular is the structure of the ingress values. Prior to 0.3.0:

server:
  ingress:
    enabled: true
    hosts:
      - host: fulcio.localhost
        path: /

Since 0.3.0:

server:
  ingress:
    http:
      enabled: true
      hosts:
        - host: fulcio.localhost
          path: /
    grpc:
      enabled: false

Key Management for Certificate Authority

Fulcio supports the following options for certificate authority backends: googleca, pkcs11ca, fileca, kmsca, tinkca. For pkcs11ca, server.args.hsm_caroot_id is required and server.args.aws_hsm_root_ca_path optionally points to the root CA on disk (AWS CloudHSM). For all except fileca, set the appropriate values in values.yaml to configure the CA roots for the given backend.

For fileca, the signing keys and certificates need to be generated manually and uploaded as a Secret that the Fulcio deployment can mount. For example:

pass=mysecurepassword
openssl ecparam -name prime256v1 -genkey | openssl pkcs8 -passout "pass:${pass}" -topk8 -out "/pki/key.pem" # generate the signing key
openssl req -x509 -new -key /pki/key.pem -out /pki/cert.pem -sha256 -days 100 -subj "/O=test/CN=self.signed.ca" -passin "pass:${pass}" # generate the self-signed certificate
kubectl -n fulcio-system create secret generic --from-file=private=/pki/key.pem --from-file=cert=/pki/cert.pem --from-literal=password=$pass fulcio-server-secret # upload to Kubernetes

Alternatively, use a secure system like ExternalSecret to safely store and populate key material.

By default, createcerts.enabled is set to true and will automatically generate key material. This setting is deprecated and it is recommended to change this setting to false and generate your own key material. This way, the root certificate can be shared out of band with the CTlog chart and it does not need to implicitly trust the Fulcio HTTP server to provide the correct root.

Deploy fulcio with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has fulcio 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 chartfulcio is pinned at v2.11.8 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