thehive

by StrangeBee

Helm chartv2.1.3App 6.0.0-3AGPL-3.0Verified publisher

The official Helm Chart of TheHive for Kubernetes

About this chart

thehive

The official Helm Chart of TheHive for Kubernetes

Description

The official Helm Chart of TheHive for Kubernetes

Please refer to StrangeBee's official documentation page for installation instructions and configuration.

TheHive Flow

Set thehive-flow.enabled=true to deploy TheHive Flow with TheHive. The chart wires both applications: TheHive Flow URL, shared JWT signing key and TheHive Flow connector module. TheHive Flow needs Kubernetes >= 1.29, PostgreSQL and S3-compatible storage: see the flow scenario for a full installation.

Homepage: https://strangebee.com/thehive/

Maintainers

NameEmailUrl
StrangeBeehttps://strangebee.com/

Source Code

Requirements

Kubernetes: >= 1.23.0-0

RepositoryNameVersion
https://charts.min.iominio5.4.0
https://strangebeecorp.github.io/helm-chartsthehive-flow1.0.0
oci://registry-1.docker.io/bitnamichartscassandra12.3.11
oci://registry-1.docker.io/bitnamichartselasticsearch22.1.6

Values

KeyTypeDefaultDescription
cassandra.cluster.datacenterstring"DC1-TheHive"Cassandra datacenter name
cassandra.cluster.namestring"TheHive"Cassandra cluster name
cassandra.cluster.rackstring"Rack1-TheHive"Cassandra rack name
cassandra.dbUser.existingSecretstring""Name of existing secret with Cassandra password (expects .data.cassandra-password key)
cassandra.dbUser.forcePasswordboolfalseForce password update on deployment
cassandra.dbUser.passwordstring"ChangeThisPasswordForCassandra"Cassandra database password
cassandra.dbUser.userstring"cassandra"Cassandra database username
cassandra.enabledbooltrueEnable Cassandra dependency subchart deployment
cassandra.extraEnvVarslist[{"name":"CASSANDRA_AUTHENTICATOR","value":"PasswordAuthenticator"},{"name":"CASSANDRA_AUTHORIZER","value":"CassandraAuthorizer"}]Extra environment variables for Cassandra
cassandra.extraEnvVars[0]object{"name":"CASSANDRA_AUTHENTICATOR","value":"PasswordAuthenticator"}Cassandra authenticator (use AllowAllAuthenticator for passwordless)
cassandra.extraEnvVars[1]object{"name":"CASSANDRA_AUTHORIZER","value":"CassandraAuthorizer"}Cassandra authorizer (use AllowAllAuthorizer for passwordless)
cassandra.global.security.allowInsecureImagesbooltrueAllow the use of insecure images from bitnamilegacy repository
cassandra.image.registrystring"docker.io"Cassandra image registry
cassandra.image.repositorystring"bitnamilegacy/cassandra"Cassandra image repository
cassandra.image.tagstring"4.1.7-debian-12-r3"Cassandra image tag
cassandra.jvm.extraOptsstring"-Xms2g -Xmx2g -Xmn200m"Additional JVM options for Cassandra
cassandra.jvm.maxHeapSizestring"2g"Maximum heap size for Cassandra JVM
cassandra.jvm.newHeapSizestring"200m"New generation heap size for Cassandra JVM
cassandra.networkPolicy.enabledboolfalseEnable network policy for Cassandra
cassandra.pdb.createbooltrueCreate PodDisruptionBudget for Cassandra
cassandra.pdb.maxUnavailablestring"1"Maximum unavailable Cassandra pods
cassandra.persistence.enabledbooltrueEnable persistent volume for Cassandra data
cassandra.persistence.sizestring"10Gi"Size of Cassandra persistent volume
cassandra.persistence.storageClassstring""Storage class for Cassandra persistent volume
cassandra.replicaCountint1Number of Cassandra replicas
cassandra.resourcesobject{"limits":{"cpu":"2000m","ephemeral-storage":"4Gi","memory":"3584Mi"},"requests":{"cpu":"1000m","ephemeral-storage":"4Gi","memory":"2048Mi"}}Resource requests and limits for Cassandra pods
dynamicSeedDiscovery.image.registrystring"docker.io"Dynamic seed discovery image registry
dynamicSeedDiscovery.image.repositorystring"bitnamilegacy/os-shell"Dynamic seed discovery image repository
dynamicSeedDiscovery.image.tagstring"12-debian-12-r51"Dynamic seed discovery image tag
elasticsearch.coordinating.replicaCountint0Number of coordinating-dedicated node replicas (disabled by default)
elasticsearch.data.replicaCountint0Number of data-dedicated node replicas (disabled by default)
elasticsearch.enabledbooltrueEnable ElasticSearch dependency subchart deployment
elasticsearch.global.security.allowInsecureImagesbooltrueAllow the use of insecure images from bitnamilegacy repository
elasticsearch.image.registrystring"docker.io"ElasticSearch image registry
elasticsearch.image.repositorystring"bitnamilegacy/elasticsearch"ElasticSearch image repository
elasticsearch.image.tagstring"9.1.2-debian-12-r0"ElasticSearch image tag
elasticsearch.ingest.replicaCountint0Number of ingest-dedicated node replicas (disabled by default)
elasticsearch.master.extraEnvVarslist[{"name":"JVM_OPTS","value":"-Xms2g -Xmx2g -Xmn200m"}]Extra environment variables for ElasticSearch master nodes
elasticsearch.master.heapSizestring"2g"Heap size for ElasticSearch master nodes
elasticsearch.master.masterOnlyboolfalseDeploy master-only nodes or multipurpose nodes (master, data, coordinating, ingest)
elasticsearch.master.networkPolicy.enabledboolfalseEnable network policy for ElasticSearch master nodes
elasticsearch.master.pdb.createbooltrueCreate PodDisruptionBudget for ElasticSearch master nodes
elasticsearch.master.pdb.maxUnavailablestring"1"Maximum unavailable master nodes
elasticsearch.master.persistence.enabledbooltrueEnable persistent volume for ElasticSearch master nodes
elasticsearch.master.persistence.sizestring"10Gi"Size of ElasticSearch master node persistent volume
elasticsearch.master.persistence.storageClassstring""Storage class for ElasticSearch master node persistent volume
elasticsearch.master.replicaCountint1Number of master-eligible ElasticSearch replicas
elasticsearch.master.resourcesobject{"limits":{"cpu":"2000m","ephemeral-storage":"4Gi","memory":"3584Mi"},"requests":{"cpu":"1000m","ephemeral-storage":"4Gi","memory":"2048Mi"}}Resource requests and limits for ElasticSearch master nodes
elasticsearch.metrics.image.registrystring"docker.io"ElasticSearch metrics exporter image registry
elasticsearch.metrics.image.repositorystring"bitnamilegacy/elasticsearch-exporter"ElasticSearch metrics exporter image repository
elasticsearch.metrics.image.tagstring"1.9.0-debian-12-r16"ElasticSearch metrics exporter image tag
elasticsearch.security.elasticPasswordstring""ElasticSearch elastic user password
elasticsearch.security.enabledboolfalseEnable security features (requires TLS configuration)
elasticsearch.security.existingSecretstring""Name of existing secret with ElasticSearch password (expects .data.elasticsearch-password key)
elasticsearch.security.tlsobject{}TLS configuration for ElasticSearch
elasticsearch.sysctlImage.registrystring"docker.io"Sysctl init container image registry
elasticsearch.sysctlImage.repositorystring"bitnamilegacy/os-shell"Sysctl init container image repository
elasticsearch.sysctlImage.tagstring"12-debian-12-r51"Sysctl init container image tag
elasticsearch.volumePermissions.image.registrystring"docker.io"Volume permissions init container image registry
elasticsearch.volumePermissions.image.repositorystring"bitnamilegacy/os-shell"Volume permissions init container image repository
elasticsearch.volumePermissions.image.tagstring"12-debian-12-r51"Volume permissions init container image tag
fullnameOverridestring""Override the full name of the chart
imagePullSecretslist[]Image pull secrets for private registries
metrics.image.registrystring"docker.io"Cassandra metrics exporter image registry
metrics.image.repositorystring"bitnamilegacy/cassandra-exporter"Cassandra metrics exporter image repository
metrics.image.tagstring"2.3.8-debian-12-r51"Cassandra metrics exporter image tag
minio.bucketslist[{"name":"thehive","objectlocking":false,"policy":"none","purge":false,"versioning":false}]MinIO bucket configuration
minio.drivesPerNodeint1Number of drives per MinIO node
minio.enabledbooltrueEnable MinIO dependency subchart deployment (disable if using external S3-compatible storage or a filesystem shared between pods)
minio.existingSecretstring""Name of existing secret with MinIO credentials (expects .data.rootUser and .data.rootPassword keys)
minio.image.repositorystring"quay.io/minio/minio"MinIO image repository
minio.image.tagstring"RELEASE.2025-09-07T16-13-09Z"MinIO image tag
minio.mcImage.repositorystring"quay.io/minio/mc"MinIO client (mc) image repository
minio.mcImage.tagstring"RELEASE.2025-08-13T08-35-41Z"MinIO client (mc) image tag
minio.modestring"standalone"MinIO deployment mode (standalone or distributed)
minio.persistence.enabledbooltrueEnable persistent volume for MinIO data
minio.persistence.sizestring"10Gi"Size of MinIO persistent volume
minio.persistence.storageClassstring""Storage class for MinIO persistent volume
minio.podDisruptionBudget.enabledbooltrueEnable PodDisruptionBudget for MinIO
minio.podDisruptionBudget.maxUnavailableint1Maximum unavailable MinIO pods
minio.poolsint1Number of expanded MinIO clusters
minio.replicasint1Number of MinIO pod replicas
minio.resourcesobject{"limits":{"cpu":"1000m","ephemeral-storage":"4Gi","memory":"2Gi"},"requests":{"cpu":"500m","ephemeral-storage":"4Gi","memory":"2Gi"}}Resource requests and limits for MinIO pods
minio.rootPasswordstring"ChangeThisPasswordForMinIO"MinIO root password
minio.rootUserstring"minio"MinIO root username
nameOverridestring""Override the name of the chart
thehive-flow.config.modules.workers.activities.thehive.urlstring"http://thehive:9000"TheHive URL used by TheHive Flow. Matches the TheHive Service for a release named thehive: change it for another release name
thehive-flow.enabledboolfalseEnable TheHive Flow subchart deployment and wire it to TheHive
thehive-flow.secrets.jwtSymmetricKey.existingSecretstring"thehive-flow-jwt"Secret holding the JWT signing key shared by TheHive and TheHive Flow. The chart creates it (from thehive.flow.signingKey, or a generated key) unless thehive.flow.k8sSecretName is set to the same name (BYO secret)
thehive-flow.secrets.jwtSymmetricKey.keystring"jwt-symmetric-key"Key in the secret that holds the JWT signing key
thehive-flow.secrets.thehiveApiKey.existingSecretstring"thehive-flow-thehive"Secret holding the API key of the TheHive account used by TheHive Flow. Not created by the chart: create it before installing, it can only hold a valid key once TheHive is running
thehive-flow.secrets.thehiveApiKey.keystring"api-key"Key in the secret that holds the TheHive API key
thehive.affinityobject{}Affinity rules for pod assignment
thehive.annotationsobject{}Additional annotations to attach to TheHive resources
thehive.autoscaling.enabledboolfalseEnable horizontal pod autoscaling
thehive.autoscaling.maxReplicasint4Maximum number of replicas for autoscaling
thehive.autoscaling.minReplicasint2Minimum number of replicas for autoscaling
thehive.autoscaling.targetCPUUtilizationPercentageint80Target CPU utilization percentage for autoscaling
thehive.clusterMinNodesCountint1Minimum number of TheHive nodes to form a cluster
thehive.configFilestring""Custom application.conf configuration file content for TheHive
thehive.cortex.api_keyslist[]Cortex API keys (each key maps to a hostname in order)
thehive.cortex.enabledboolfalseEnable Cortex integration (can also configure Cortex servers from TheHive UI)
thehive.cortex.hostnameslist[]List of Cortex server hostnames
thehive.cortex.k8sSecretKeystring"api-keys"Key in the secret containing Cortex API keys
thehive.cortex.k8sSecretNamestring""Name of existing Kubernetes secret containing Cor

Deploy thehive with OpenTenant

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