Skip to content

Commit

Permalink
[chore] - add readme (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahrav authored Sep 13, 2023
1 parent 549d5f6 commit 2a0c0e6
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions trufflehog/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Trufflehog Helm Chart

Description of what the chart deploys and its purpose.

## Prerequisites

Before installing the Helm chart, you need to prepare your Kubernetes cluster with some additional resources:

### Create the Namespace:

```bash
kubectl create namespace trufflehog
```

### Create the Configuration Secret:

Ensure you have the config.yaml file prepared with the appropriate configuration. Then, create the secret in the trufflehog namespace:
```bash
kubectl create secret generic config --namespace trufflehog --from-file=config.yaml=config.yaml
```

### Installing the Chart:

Once the prerequisites are satisfied, you can deploy Trufflehog using the following command:
```bash
helm repo add trufflescurity https://trufflescurity.github.io/helm-charts
helm install trufflehog trufflesecurity/trufflehog --namespace trufflehog
```

### Configuration

The `values.yaml` file provides configuration options for the Trufflehog Helm chart. This allows you to customize the deployment according to your environment and requirements.

#### Key Configurations:

- **replicaCount**: Sets the number of pod replicas.
- **image**: Defines the Docker image repository and tag.
- **config**: Configures the Kubernetes secret that provides the application's configuration data.
- **probe**: Specifies the health probe settings for the pod, including initial delay and check frequency.
- **nameOverride** and **fullnameOverride**: Allow for overriding the default naming of the deployment.

To adjust these configurations:

1. Modify the `values.yaml` file directly, or
2. Provide overrides during the Helm install command.

Example:
```bash
helm install trufflehog trufflesecurity/trufflehog --namespace trufflehog --set replicaCount=2
```

This command overrides the `replicaCount` value, setting it to 2 instead of the default.

0 comments on commit 2a0c0e6

Please sign in to comment.