Connect Kubernetes
The PatchTrail operator discovers workloads, running image digests, and HTTP routes. A cluster starts in Observe. An authorized team member can enable Protect later.
Get your cluster key
Section titled “Get your cluster key”Open the console, select your team, and choose Kubernetes → Clusters → Connect cluster. Follow registration, then select Copy values.yaml under Install with Helm. A new cluster uses one value.
apiKey: "<cluster key from PatchTrail>"Keep this file private. Helm stores the value with its release metadata. To reuse an existing Kubernetes Secret, select an existing enrollment and use existingSecret in place of apiKey. The Secret must reside in the release namespace and contain a field named api-key.
Install the operator
Section titled “Install the operator”Use Helm from the Kubernetes context you intend to enroll. The identity running Helm needs permission to install the chart’s namespace resources, CRD, and RBAC. Copy the versioned command from the console. The default namespace is patchtrail.
helm upgrade --install patchtrail oci://ghcr.io/patchtrail-io/operator \ --version "$CHART_VERSION" \ --namespace patchtrail --create-namespace --values values.yamlSet CHART_VERSION to the version shown in the console. The chart uses the key to resolve the team and cluster with https://api.patchtrail.io. It uses the release namespace for the operator and its enrollment resources.
Check the first observation
Section titled “Check the first observation”Return to Clusters and open the enrolled cluster. Look for an operator version and fresh inventory. Open an image to check its observed digest and assessment state. Cluster inventory and route discovery each have their own collection status. A partial observation preserves earlier findings until complete evidence is available.
The chart delegates operator release fields for signed updates. The operator reports the version it actually starts, and the installation retains its pending inventory across upgrades. See Permissions and data for credential scope and what the operator sends.