Skip to content

Additional Components

This page describes how to deploy additional per-trust-zone components of the Cofide Connect platform, beyond the base Cofide SPIRE deployment.

Before proceeding, add the Cofide Helm charts repository.

Terminal window
helm repo add cofide https://charts.cofide.dev

The Cofide Observer is an optional component of the Connect platform. It is required when using Kubernetes attestation policies.

Install the observer with

Terminal window
helm install \
cofide-observer cofide/cofide-observer \
--version 0.3.3 \
--kube-context <context> \
--namespace cofide \
--create-namespace \
--set observer.connectURL=<your.connect.url> \
--set observer.connectTrustDomain=<connect.trust.domain> \
--wait

The Connect URL and trust domain parameters can be found in your local cofide.yaml file.

The Cofide Agent is an optional component of the Connect platform which programs the downstream network path (via xDS, or for meshes such as Istio) for seamless cross-boundary mTLS.

Use cofidectl to generate values for the Cofide Agent Helm chart:

Terminal window
./cofidectl connect agent helm values \
--trust-zone <trust zone> \
--cluster <cluster> \
--output-file cofide-agent-values.yaml

Install Cofide Agent:

Terminal window
helm install \
cofide-agent cofide/cofide-agent \
--version 0.5.4 \
--kube-context <context> \
--namespace cofide \
--create-namespace \
--values cofide-agent-values.yaml \
--wait

When using Cofide SPIRE, a join token is not required for Cofide Agent.

If using OSS SPIRE, a join token is required to establish federation between a workload trust zone and Connect. In this case, pass --generate-token=true when generating values to include a short-lived join token directly in the values file. Alternatively, generate one separately:

Terminal window
./cofidectl connect agent join-token generate \
--trust-zone <trust zone> \
--cluster <cluster> \
--output-file agent-token

The token can then be injected as a Helm value using --set agent.env.AGENT_TOKEN=<token>.