Helm chartv1.0.5App latestApache-2.0Verified publisher

A Helm chart for Yeti Kubernetes deployments.

About this chart

Yeti Helm Chart

Yeti is a open-source platform meant to organize observables, indicators of compromise, TTPs, and knowledge on threats in a single, unified repository

Overview of Yeti

Chart Source Code

TL;DR

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

Note: By default, Yeti is not externally accessible and can be reached via kubectl port-forward within the cluster.

For a quick start with a local Kubernetes cluster on your desktop, check out the getting started with Minikube guide.

Introduction

This chart bootstraps a Yeti 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/yeti

The command deploys Yeti on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.

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 but 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 Yeti data 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.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.ingress.enabledEnable the global loadbalancer for external access (only used in the main OSDFIR Infrastructure Helm chart)false
global.existingPVCExisting claim for Yeti persistent volume (overrides persistent.name)""
global.storageClassStorageClass for the Yeti persistent volume (overrides persistent.storageClass)""

Yeti configuration

Yeti frontend configuration

NameDescriptionValue
frontend.image.repositoryYeti frontend image repositoryyetiplatform/yeti-frontend
frontend.image.pullPolicyYeti image pull policyAlways
frontend.image.tagOverrides the image tag whose default is the chart appVersionlatest
frontend.image.imagePullSecretsSpecify secrets if pulling from a private repository[]
frontend.podSecurityContextHolds pod-level security attributes and common server container settings{}
frontend.securityContextHolds security configuration that will be applied to the server container{}
frontend.resources.limitsResource limits for the frontend container{}
frontend.resources.requestsRequested resources for the frontend container{}
frontend.nodeSelectorNode labels for Yeti frontend pods assignment{}
frontend.tolerationsTolerations for Yeti frontend pods assignment[]
frontend.affinityAffinity for Yeti frontend pods assignment{}

Yeti api configuration

NameDescriptionValue
api.image.repositoryYeti API image repositoryyetiplatform/yeti
api.image.pullPolicyYeti image pull policyAlways
api.image.tagOverrides the image tag whose default is the chart appVersionlatest
api.image.imagePullSecretsSpecify secrets if pulling from a private repository[]
api.podSecurityContextHolds pod-level security attributes and common API container settings{}
api.securityContextHolds security configuration that will be applied to the API container{}
api.resources.limitsResource limits for the API container{}
api.resources.requestsRequested resources for the API container{}
api.nodeSelectorNode labels for Yeti API pods assignment{}
api.tolerationsTolerations for Yeti API pods assignment[]
api.affinityAffinity for Yeti API pods assignment{}

Yeti Tasks configuration

NameDescriptionValue
tasks.image.repositoryYeti tasks image repositoryyetiplatform/yeti
tasks.image.pullPolicyYeti image pull policyAlways
tasks.image.tagOverrides the image tag whose default is the chart appVersionlatest
tasks.image.imagePullSecretsSpecify secrets if pulling from a private repository[]
tasks.podSecurityContextHolds pod-level security attributes and common tasks container settings{}
tasks.securityContextHolds security configuration that will be applied to the tasks container{}
tasks.resources.limitsResource limits for the tasks container{}
tasks.resources.requestsRequested resources for the tasks container{}
tasks.nodeSelectorNode labels for Yeti tasks pods assignment{}
tasks.tolerationsTolerations for Yeti tasks pods assignment[]
tasks.affinityAffinity for Yeti tasks pods assignment{}

Common Parameters

NameDescriptionValue
serviceAccount.createSpecifies whether a service account should be createdtrue
serviceAccount.annotationsAnnotations to add to the service account{}
serviceAccount.nameThe name of the service account to useyeti
service.typeYeti service typeClusterIP
service.portYeti service port9000

Yeti Configuration Parameters

NameDescriptionValue
config.oidc.enabledEnables Yeti OIDC authentication (currently only supports Google OIDC)false
config.oidc.existingSecretExisting secret with the client ID, secret and cookie secret""
metrics.enabledEnables metrics scrapingtrue
metrics.portPort to scrape metrics from9200
persistence.nameYeti persistent volume nameyetivolume
persistence.sizeYeti persistent volume size2Gi
persistence.storageClassPVC Storage Class for Yeti volume""
persistence.accessModesPVC Access Mode for Yeti volume["ReadWriteOnce"]
ingress.enabledEnable the Yeti loadbalancer for external accessfalse
ingress.hostDomain name Yeti will be hosted under""
ingress.classNameIngressClass that will be be used to implement the Ingressgce
ingress.selfSignedCreate a TLS secret for this ingress record using self-signed certificates generated by Helmfalse
ingress.certManagerAdd the corresponding annotations for cert-manager integrationfalse
ingress.gcp.managedCertificatesEnables GCP managed certificates for your domainfalse
ingress.gcp.staticIPNameName of the static IP address you reserved in GCP. Required when using "gce" in ingress.className""
ingress.gcp.staticIPV6NameName of the static IPV6 address you reserved in GCP. This can be optionally provided to deploy a loadbalancer with an IPV6 address""

Third Party Configuration

Redis Configuration Parameters

| Name | Description | Value | | ----------------------------------- | -----------------------------------------------------------------

Deploy yeti with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has yeti 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 chartyeti is pinned at v1.0.5 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