dfdewey

by Open Source DFIR

Helm chartv1.0.0App latestApache-2.0Verified publisher

A Helm chart for dfDewey datastore Kubernetes deployments.

About this chart

dfDewey Datastore Helm Chart

dfDewey is an open-source digital forensics tool for string extraction, indexing, and searching.

dfDewey Source Code

Chart Source Code

TL;DR

helm repo add osdfir-charts https://google.github.io/osdfir-infrastructure/
helm install my-release osdfir-charts/dfdewey

Tip: To quickly get started with a local cluster, see minikube install docs.

Introduction

This chart bootstraps a dfDewey datastore deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.2.0+
  • PV provisioner support in the underlying infrastructure

Installing the Chart

The first step is to add the repo and then update to pick up any new changes.

helm repo add osdfir-charts https://google.github.io/osdfir-infrastructure/
helm repo update

To install the chart, specify any release name of your choice. For example, using my-release as the release name, run:

helm install my-release osdfir-charts/dfdewey

The command deploys the dfDewey datastores on the Kubernetes cluster in the default configuration. See Installating for Production for a recommended production installation.

Installing for Production

Pull the chart locally then cd into /dfdewey and review the values-production.yaml file for a list of values that will be used for production.

helm pull osdfir-charts/dfdewey --untar

Uninstalling the Chart

To uninstall/delete a Helm deployment with a release name of my-release:

helm uninstall my-release

Tip: Please update based on the release name chosen. You can list all releases using helm list

The command removes all the Kubernetes components except for Persistent Volumes (PVC) associated with the chart and deletes the release.

To delete the PVC's associated with a release name of my-release:

kubectl delete pvc -l release=my-release

Note: Deleting the PVC's will delete any data in the dfDewey datastores as well. Please be cautious before doing it.

Parameters

Global parameters

NameDescriptionValue
global.timesketch.enabledEnables the Timesketch deployment (only used in the main OSDFIR Infrastructure Helm chart)false
global.timesketch.servicePortTimesketch service port (overrides timesketch.service.port)nil
global.turbinia.enabledEnables the Turbinia deployment (only used within the main OSDFIR Infrastructure Helm chart)false
global.turbinia.servicePortTurbinia API service port (overrides turbinia.service.port)nil
global.dfdewey.enabledEnables the dfDewey datastore deployment (only used within the main OSDFIR Infrastructure and the Turbinia Helm charts)false
global.yeti.enabledEnables the Yeti deployment (only used in the main OSDFIR Infrastructure Helm chart)false
global.yeti.servicePortYeti API service port (overrides yeti.api.service.port)nil
global.existingPVCExisting claim for Turbinia persistent volume (overrides persistent.name)""
global.storageClassStorageClass for the Turbinia persistent volume (overrides persistent.storageClass)""

Third Party Configuration

Postgresql Configuration Parameters

NameDescriptionValue
postgresql.enabledEnables the Postgresql deploymenttrue
postgresql.nameOverrideString to partially override common.names.fullname templatedfdewey-postgresql
postgresql.auth.usernameName for a custom user to createdfdewey
postgresql.auth.passwordPassword for the custom user to create. Ignored if auth.existingSecret is providedpassword
postgresql.auth.databaseName for a custom database to createdfdewey
postgresql.primary.persistence.sizePostgreSQL Persistent Volume size8Gi
postgresql.primary.resources.requests.cpuRequested cpu for the PostgreSQL Primary containers250m
postgresql.primary.resources.requests.memoryRequested memory for the PostgreSQL Primary containers256Mi
postgresql.primary.resources.limitsResource limits for the PostgreSQL Primary containers{}

Opensearch Configuration Parameters

NameDescriptionValue
opensearch.enabledEnables the Opensearch deploymenttrue
opensearch.nameOverrideOverrides the clusterName when used in the naming of resourcesdfdewey-opensearch
opensearch.masterServiceThe service name used to connect to the mastersdfdewey-opensearch
opensearch.singleNodeReplicas will be forced to 1true
opensearch.sysctlInit.enabledSets optimal sysctl's through privileged initContainertrue
opensearch.opensearchJavaOptsSets the size of the Opensearch Java heap-Xms512m -Xmx512m
opensearch.config.opensearch.ymlOpensearch configuration file. Can be appended for additional configuration options{"opensearch.yml":"discovery:\n type: single-node\nplugins:\n security:\n disabled: true\n"}
opensearch.extraEnvs[0].nameEnvironment variable to set the initial admin passwordOPENSEARCH_INITIAL_ADMIN_PASSWORD
opensearch.extraEnvs[0].valueThe initial admin passwordKyfwJExU2!2MvU6j
opensearch.extraEnvs[1].nameEnvironment variable to disable Opensearch Demo configDISABLE_INSTALL_DEMO_CONFIG
opensearch.extraEnvs[1].valueDisables Opensearch Demo configtrue
opensearch.extraEnvs[2].nameEnvironment variable to disable Opensearch Security plugin given thatDISABLE_SECURITY_PLUGIN
opensearch.extraEnvs[2].valueDisables Opensearch Security plugintrue
opensearch.persistence.sizeOpensearch Persistent Volume size2Gi
opensearch.resources.requests.cpuRequested cpu for the Opensearch containers250m
opensearch.resources.requests.memoryRequested memory for the Opensearch containers512Mi

Deploy dfdewey with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has dfdewey on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartdfdewey is pinned at v1.0.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply