---
title: Helm Chart
slug: docs/helm-chart
icon: {"faIcon":"fa-solid fa-dharmachakra"}
docTags: 
createdAt: 2024-04-17T16:40:56.871Z
---

## Deploying to Kubernetes via Helm

For users who prefer to manage their Kubernetes applications with [Helm](https://helm.sh/),
here's how you can deploy TruffleHog using Helm. Helm simplifies deploying and managing Kubernetes
applications using predefined [chart's README](https://github.com/trufflesecurity/helm-charts/tree/main/trufflehog).

:::::WorkflowBlock
:::WorkflowBlockItem
Create the namespace

```shell
$ kubectl create namespace trufflehog
namespace/trufflehog created
```
:::

:::WorkflowBlockItem
Create the configuration secret

```shell
$ kubectl create secret --namespace trufflehog generic --from-file config.yaml config
secret/config created
```
:::

::::WorkflowBlockItem
Install TruffleHog using Helm

This will deploy TruffleHog with default values. The Helm chart allows you to provide your custom configuration using a custom values.yaml file. If you wish to provide custom configuration, refer to the [chart’s README](https://github.com/trufflesecurity/helm-charts/tree/main/trufflehog).

:::BlockQuote
$ helm install trufflehog trufflesecurity/trufflehog --namespace trufflehogNAME: trufflehogLAST DEPLOYED: Tue Sep 18 15:57:58 2023NAMESPACE: trufflehogSTATUS: deployedREVISION: 1
:::
::::

:::WorkflowBlockItem
Ensure that TruffleHog is running

```shell
$ kubectl get pods --namespace trufflehog --watch
NAME                          READY   STATUS    RESTARTS   AGE
trufflehog-6b84d5f89c-tlwq6   1/1     Running   0          1m
```
:::

:::WorkflowBlockItem
Follow the logs

```shell
$ kubectl logs --namespace trufflehog -f -l app=trufflehog
🐷🔑🐷 TruffleHog. Unearth your secrets. 🐷🔑🐷
version:  v1.50.22

INFO[0000] starting scanner service client               scanner_group=On-prem
```
:::
:::::

