thehive
by StrangeBee
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
| Name | Url | |
|---|---|---|
| StrangeBee | https://strangebee.com/ |
Source Code
Requirements
Kubernetes: >= 1.23.0-0
| Repository | Name | Version |
|---|---|---|
| https://charts.min.io | minio | 5.4.0 |
| https://strangebeecorp.github.io/helm-charts | thehive-flow | 1.0.0 |
| oci://registry-1.docker.io/bitnamicharts | cassandra | 12.3.11 |
| oci://registry-1.docker.io/bitnamicharts | elasticsearch | 22.1.6 |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| cassandra.cluster.datacenter | string | "DC1-TheHive" | Cassandra datacenter name |
| cassandra.cluster.name | string | "TheHive" | Cassandra cluster name |
| cassandra.cluster.rack | string | "Rack1-TheHive" | Cassandra rack name |
| cassandra.dbUser.existingSecret | string | "" | Name of existing secret with Cassandra password (expects .data.cassandra-password key) |
| cassandra.dbUser.forcePassword | bool | false | Force password update on deployment |
| cassandra.dbUser.password | string | "ChangeThisPasswordForCassandra" | Cassandra database password |
| cassandra.dbUser.user | string | "cassandra" | Cassandra database username |
| cassandra.enabled | bool | true | Enable Cassandra dependency subchart deployment |
| cassandra.extraEnvVars | list | [{"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.allowInsecureImages | bool | true | Allow the use of insecure images from bitnamilegacy repository |
| cassandra.image.registry | string | "docker.io" | Cassandra image registry |
| cassandra.image.repository | string | "bitnamilegacy/cassandra" | Cassandra image repository |
| cassandra.image.tag | string | "4.1.7-debian-12-r3" | Cassandra image tag |
| cassandra.jvm.extraOpts | string | "-Xms2g -Xmx2g -Xmn200m" | Additional JVM options for Cassandra |
| cassandra.jvm.maxHeapSize | string | "2g" | Maximum heap size for Cassandra JVM |
| cassandra.jvm.newHeapSize | string | "200m" | New generation heap size for Cassandra JVM |
| cassandra.networkPolicy.enabled | bool | false | Enable network policy for Cassandra |
| cassandra.pdb.create | bool | true | Create PodDisruptionBudget for Cassandra |
| cassandra.pdb.maxUnavailable | string | "1" | Maximum unavailable Cassandra pods |
| cassandra.persistence.enabled | bool | true | Enable persistent volume for Cassandra data |
| cassandra.persistence.size | string | "10Gi" | Size of Cassandra persistent volume |
| cassandra.persistence.storageClass | string | "" | Storage class for Cassandra persistent volume |
| cassandra.replicaCount | int | 1 | Number of Cassandra replicas |
| cassandra.resources | object | {"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.registry | string | "docker.io" | Dynamic seed discovery image registry |
| dynamicSeedDiscovery.image.repository | string | "bitnamilegacy/os-shell" | Dynamic seed discovery image repository |
| dynamicSeedDiscovery.image.tag | string | "12-debian-12-r51" | Dynamic seed discovery image tag |
| elasticsearch.coordinating.replicaCount | int | 0 | Number of coordinating-dedicated node replicas (disabled by default) |
| elasticsearch.data.replicaCount | int | 0 | Number of data-dedicated node replicas (disabled by default) |
| elasticsearch.enabled | bool | true | Enable ElasticSearch dependency subchart deployment |
| elasticsearch.global.security.allowInsecureImages | bool | true | Allow the use of insecure images from bitnamilegacy repository |
| elasticsearch.image.registry | string | "docker.io" | ElasticSearch image registry |
| elasticsearch.image.repository | string | "bitnamilegacy/elasticsearch" | ElasticSearch image repository |
| elasticsearch.image.tag | string | "9.1.2-debian-12-r0" | ElasticSearch image tag |
| elasticsearch.ingest.replicaCount | int | 0 | Number of ingest-dedicated node replicas (disabled by default) |
| elasticsearch.master.extraEnvVars | list | [{"name":"JVM_OPTS","value":"-Xms2g -Xmx2g -Xmn200m"}] | Extra environment variables for ElasticSearch master nodes |
| elasticsearch.master.heapSize | string | "2g" | Heap size for ElasticSearch master nodes |
| elasticsearch.master.masterOnly | bool | false | Deploy master-only nodes or multipurpose nodes (master, data, coordinating, ingest) |
| elasticsearch.master.networkPolicy.enabled | bool | false | Enable network policy for ElasticSearch master nodes |
| elasticsearch.master.pdb.create | bool | true | Create PodDisruptionBudget for ElasticSearch master nodes |
| elasticsearch.master.pdb.maxUnavailable | string | "1" | Maximum unavailable master nodes |
| elasticsearch.master.persistence.enabled | bool | true | Enable persistent volume for ElasticSearch master nodes |
| elasticsearch.master.persistence.size | string | "10Gi" | Size of ElasticSearch master node persistent volume |
| elasticsearch.master.persistence.storageClass | string | "" | Storage class for ElasticSearch master node persistent volume |
| elasticsearch.master.replicaCount | int | 1 | Number of master-eligible ElasticSearch replicas |
| elasticsearch.master.resources | object | {"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.registry | string | "docker.io" | ElasticSearch metrics exporter image registry |
| elasticsearch.metrics.image.repository | string | "bitnamilegacy/elasticsearch-exporter" | ElasticSearch metrics exporter image repository |
| elasticsearch.metrics.image.tag | string | "1.9.0-debian-12-r16" | ElasticSearch metrics exporter image tag |
| elasticsearch.security.elasticPassword | string | "" | ElasticSearch elastic user password |
| elasticsearch.security.enabled | bool | false | Enable security features (requires TLS configuration) |
| elasticsearch.security.existingSecret | string | "" | Name of existing secret with ElasticSearch password (expects .data.elasticsearch-password key) |
| elasticsearch.security.tls | object | {} | TLS configuration for ElasticSearch |
| elasticsearch.sysctlImage.registry | string | "docker.io" | Sysctl init container image registry |
| elasticsearch.sysctlImage.repository | string | "bitnamilegacy/os-shell" | Sysctl init container image repository |
| elasticsearch.sysctlImage.tag | string | "12-debian-12-r51" | Sysctl init container image tag |
| elasticsearch.volumePermissions.image.registry | string | "docker.io" | Volume permissions init container image registry |
| elasticsearch.volumePermissions.image.repository | string | "bitnamilegacy/os-shell" | Volume permissions init container image repository |
| elasticsearch.volumePermissions.image.tag | string | "12-debian-12-r51" | Volume permissions init container image tag |
| fullnameOverride | string | "" | Override the full name of the chart |
| imagePullSecrets | list | [] | Image pull secrets for private registries |
| metrics.image.registry | string | "docker.io" | Cassandra metrics exporter image registry |
| metrics.image.repository | string | "bitnamilegacy/cassandra-exporter" | Cassandra metrics exporter image repository |
| metrics.image.tag | string | "2.3.8-debian-12-r51" | Cassandra metrics exporter image tag |
| minio.buckets | list | [{"name":"thehive","objectlocking":false,"policy":"none","purge":false,"versioning":false}] | MinIO bucket configuration |
| minio.drivesPerNode | int | 1 | Number of drives per MinIO node |
| minio.enabled | bool | true | Enable MinIO dependency subchart deployment (disable if using external S3-compatible storage or a filesystem shared between pods) |
| minio.existingSecret | string | "" | Name of existing secret with MinIO credentials (expects .data.rootUser and .data.rootPassword keys) |
| minio.image.repository | string | "quay.io/minio/minio" | MinIO image repository |
| minio.image.tag | string | "RELEASE.2025-09-07T16-13-09Z" | MinIO image tag |
| minio.mcImage.repository | string | "quay.io/minio/mc" | MinIO client (mc) image repository |
| minio.mcImage.tag | string | "RELEASE.2025-08-13T08-35-41Z" | MinIO client (mc) image tag |
| minio.mode | string | "standalone" | MinIO deployment mode (standalone or distributed) |
| minio.persistence.enabled | bool | true | Enable persistent volume for MinIO data |
| minio.persistence.size | string | "10Gi" | Size of MinIO persistent volume |
| minio.persistence.storageClass | string | "" | Storage class for MinIO persistent volume |
| minio.podDisruptionBudget.enabled | bool | true | Enable PodDisruptionBudget for MinIO |
| minio.podDisruptionBudget.maxUnavailable | int | 1 | Maximum unavailable MinIO pods |
| minio.pools | int | 1 | Number of expanded MinIO clusters |
| minio.replicas | int | 1 | Number of MinIO pod replicas |
| minio.resources | object | {"limits":{"cpu":"1000m","ephemeral-storage":"4Gi","memory":"2Gi"},"requests":{"cpu":"500m","ephemeral-storage":"4Gi","memory":"2Gi"}} | Resource requests and limits for MinIO pods |
| minio.rootPassword | string | "ChangeThisPasswordForMinIO" | MinIO root password |
| minio.rootUser | string | "minio" | MinIO root username |
| nameOverride | string | "" | Override the name of the chart |
| thehive-flow.config.modules.workers.activities.thehive.url | string | "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.enabled | bool | false | Enable TheHive Flow subchart deployment and wire it to TheHive |
| thehive-flow.secrets.jwtSymmetricKey.existingSecret | string | "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.key | string | "jwt-symmetric-key" | Key in the secret that holds the JWT signing key |
| thehive-flow.secrets.thehiveApiKey.existingSecret | string | "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.key | string | "api-key" | Key in the secret that holds the TheHive API key |
| thehive.affinity | object | {} | Affinity rules for pod assignment |
| thehive.annotations | object | {} | Additional annotations to attach to TheHive resources |
| thehive.autoscaling.enabled | bool | false | Enable horizontal pod autoscaling |
| thehive.autoscaling.maxReplicas | int | 4 | Maximum number of replicas for autoscaling |
| thehive.autoscaling.minReplicas | int | 2 | Minimum number of replicas for autoscaling |
| thehive.autoscaling.targetCPUUtilizationPercentage | int | 80 | Target CPU utilization percentage for autoscaling |
| thehive.clusterMinNodesCount | int | 1 | Minimum number of TheHive nodes to form a cluster |
| thehive.configFile | string | "" | Custom application.conf configuration file content for TheHive |
| thehive.cortex.api_keys | list | [] | Cortex API keys (each key maps to a hostname in order) |
| thehive.cortex.enabled | bool | false | Enable Cortex integration (can also configure Cortex servers from TheHive UI) |
| thehive.cortex.hostnames | list | [] | List of Cortex server hostnames |
| thehive.cortex.k8sSecretKey | string | "api-keys" | Key in the secret containing Cortex API keys |
| thehive.cortex.k8sSecretName | string | "" | 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartthehive is pinned at v2.1.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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