Kubernetes manifest
The following instructions will help you setup a basic deployment of the TruffleHog scanner in Kubernetes via manifest.
For Kubernetes we recommend using the Helm Chartļ»æ instead if possible. The helm chart makes it easier to customize the deployment and also includes options like a VerticalPodAutoscaler to right-size the resource requests for the deployment.
Kubernetes will ensure that TruffleHog stays running, manage your configuration secrets, and collect the logs.
Create the namespace
Create the configuration secret
Important: The config file must be named config.yaml for the field name in the secret to be correctly named and match what the Deployment is looking for.
ļ»æ
Create the deployment.yaml file
Apply the manifest
Wait for TruffleHog to be running
Follow the logs
ļ»æ