radar-hub

by Skyhook

Helm chartv1.16.1App 1.16.1ProprietaryVerified publisher

Radar Cloud control plane for self-hosted deployments — Go API + React web app + Postgres (bundled eval DB or bring-your-own).

About this chart

Radar Hub Helm Chart

Self-hosted Radar Cloud control plane — Go API, React web app, and Postgres (bundled evaluation database, or bring your own).

Maintainers: this directory is the canonical source for the radar-hub chart. Edit it here. The release job in skyhook-dev/radar-hub only rewrites version and appVersion in Chart.yaml; everything else is owned by this repository. This is the opposite of the sibling radar chart, whose directory here is overwritten wholesale on every Radar release.

Installation

helm repo add skyhook https://skyhook-io.github.io/helm-charts
helm repo update skyhook
helm upgrade --install radar-hub skyhook/radar-hub -n radar-hub --create-namespace

Full setup, configuration and upgrade guides: https://radarhq.io/docs/cloud/self-hosted

Versioning

This chart carries two independent version numbers. They are not the same number and they are not expected to match.

FieldMeansSet by
appVersionThe Hub release installed — the image tag for both radar-hub and radar-hub-webThe release job, from the Hub's git tag
versionThe chart's own version — templates, values, defaultsPatch: the release job. Minor and major: by hand, in a pull request here

Why they differ. A chart-only fix — a template change, a new value, a corrected default — ships without any new Hub images. It still needs a new chart version, so the chart advances while appVersion stays put. Over time the two numbers drift apart. This is the normal arrangement for Helm charts; Argo CD, Bitnami and most large chart repositories work the same way.

How the numbers move:

ChangeversionappVersion
New Hub releasepatch +1the new Hub version
Chart fix, no new imagespatch +1, by handunchanged
New or renamed valuesminor +1, by handunchanged
Removed or breaking valuesmajor +1, by handunchanged

To find out which Hub version a chart installs, read its appVersion:

helm show chart skyhook/radar-hub --version 1.5.1 | grep appVersion

Pinning. image.hub.tag and image.web.tag default to appVersion when left empty. Set them only to stage a specific release, and always set both to the same tag — a mismatched Hub and Web pair is not a tested combination.

Staging a chart change before the Hub release exists

Merging to main publishes: chart-releaser packages any chart whose version has no matching tag. That is a problem when a chart change depends on a Hub build that has not shipped yet — a published chart would offer a value its default image ignores.

Give the chart a prerelease version instead:

version: 1.7.0-rc.1     # staged, not offered to users
appVersion: "1.5.0"     # unchanged until the Hub release exists

Helm excludes prerelease versions from helm install, helm upgrade and helm search unless --devel is passed or the exact version is named. So the chart is published and reviewable, and an ordinary install still resolves to the newest stable version:

helm search repo skyhook/radar-hub            # newest stable
helm search repo skyhook/radar-hub --devel    # includes staged versions
helm install radar-hub skyhook/radar-hub --version 1.7.0-rc.1   # opt in

The release job marks such versions as Pre-release on GitHub, so the Latest badge stays on the newest stable release. That step must be on main before a prerelease chart is merged; without it chart-releaser publishes the rc as an ordinary release marked Latest.

Promoting it. When the Hub release lands, bump version to the stable number and appVersion to that Hub version in the same change. Do not promote a staged chart without moving appVersion — image.hub.tag defaults to it, so the published chart would install a Hub that predates the feature the chart configures.

Joining clusters with enrollment keys

Radar agents join the hub with an enrollment key.

  • Create keys in the hub. An owner opens Settings > Enrollment keys, creates a key, and gives it to the cluster installs that should use it.
  • Set a key in config for automation. On a self-hosted hub you can also set an install key when you install the chart, for automation that installs Radar before anyone has signed in. Put it in enrollment.key (rhe_ followed by 43 characters), or keep it in a Secret you manage and name it in enrollment.existingSecret (the Secret key defaults to key, change it with enrollment.existingSecretKey). Set only one of the two. Set enrollment.trustByDefault=true if a cluster that joins with this key should start out trusted (default false). The hub reads it from its config each time a cluster joins. Keys created in the hub have their own setting. Set enrollment.approval=manual if an owner should approve each new cluster that joins with this key on the Clusters page (default auto: clusters join right away). The hub reads the key at startup, so restart the hub Deployment after you change it.
  • A key is a password. Every cluster that uses it can join. Keep it out of shared chats and public repos.
  • If a key leaks, delete or replace it in the hub (or change the value in config and restart the hub), set the new key on every cluster that uses it, and restart Radar there.
  • Removed clusters stay out. A cluster an owner removes does not come back by enrolling again, even with a valid key. An owner has to let it back in.

Self-signed certificate

With web.tls.selfSigned=true, or whenever the web pod keeps its https listener for a Radar agent in the same cluster (web.tls.inCluster, a localhost hub.publicURL, or localCluster), the chart creates a Secret named <fullname>-web-tls (radar-hub-web-tls for a release named radar-hub; <fullname> is the release name if it contains radar-hub, else <release>-radar-hub, or fullnameOverride if set) holding a self-signed certificate for the host in hub.publicURL. The chart makes it once and reuses that Secret on every upgrade, so the certificate stays the same and clusters that trust it keep working. The chart marks the Secret helm.sh/resource-policy: keep, so helm uninstall leaves it in place. To replace it, delete the Secret and restart the web pods, then run helm upgrade:

kubectl delete secret <fullname>-web-tls -n <namespace>
helm upgrade ...
kubectl rollout restart deployment/<fullname>-web -n <namespace>

Clusters that trusted the old certificate need to trust the new one.

With web.tls.selfSigned=true, the cluster install steps show the hub's certificate (public part only) so clusters trust it. If you use Argo CD with the chart-generated certificate, supply your own (values or Secret, below): otherwise the steps can show a certificate the hub isn't serving.

Your own certificate. Two ways to give the web pod a certificate you made. If both are set, web.tls.existingSecret wins over the values.

Option 1: values. Set web.tls.certificate and web.tls.privateKey to PEM text (both are required together). The chart stores them in the Secret <fullname>-web-tls.

web:
  tls:
    certificate: |
      -----BEGIN CERTIFICATE-----
      ...
    privateKey: |
      -----BEGIN PRIVATE KEY-----
      ...

Option 2: a Secret you create. On GitOps (Argo CD, Flux), keep the private key out of Git and use this one. Argo CD renders the chart without looking at the cluster, so the chart cannot see its own Secret and would make a new certificate on every sync. Create the Secret yourself and point the chart at it. The chart then renders no certificate Secret and mounts yours. The certificate must name the host in hub.publicURL. For a DNS host (for an IP host use IP: instead of DNS:):

HOST=radar.example.com
NS=radar-hub

openssl req -x509 -newkey rsa:2048 -nodes -days 3650 \
  -keyout tls.key -out tls.crt -subj "/CN=$HOST" \
  -addext "subjectAltName=DNS:$HOST"

kubectl create secret tls radar-hub-web-tls-own -n "$NS" --cert=tls.crt --key=tls.key \
  --dry-run=client -o yaml | kubectl apply -f -

Then set it in your values and sync:

web:
  tls:
    existingSecret: radar-hub-web-tls-own

Use a name other than <fullname>-web-tls, which the chart's own Secret would use. Keep tls.key out of Git. The kubectl create ... | kubectl apply form is safe to run again. To renew, run the steps again, then restart the web Deployment. With web.tls.selfSigned=true, the web pod's certificate serves the hub's public address, so the hub pod also gets its public half (never the key) at /etc/radar-hub/web-tls/tls.crt and can hand it to clusters that must trust it. Behind an Ingress, Gateway or load balancer with its own certificate, the hub gets no such file. Other tools that render without cluster access, such as helm template piped to kubectl apply, have the same limit.

White-label logo

When the hub's license allows white-label (a license issued with the whitelabel feature on an Enterprise or Custom tier), the web app shows the license's organization name and your logo instead of Radar's: on the sign-in page, the loading screens, the sidebar and the browser tab. A small "Powered by Radar" credit stays at the foot of the sidebar. The name comes from the license and can't be changed on the hub; branding.brandName is ignored while white-labeled.

The logo is set from values, base64-encoded, and works with no network access:

helm upgrade --install radar-hub radar/radar-hub --reuse-values \
  --set-file branding.logo=<(base64 < example-corp-logo.svg) \
  --set-file branding.logoDark=<(base64 < example-corp-logo-white.svg)
  • branding.logo: PNG, SVG, JPEG or WebP. Used on light backgrounds, and on dark ones when logoDark is unset.
  • branding.logoDark (optional): a variant for dark backgrounds. The sign-in page and loading screen are always dark; the sidebar follows the theme.

The two images together may be at most 256 KiB. Helm keeps each release, values included, in a Kubernetes Secret capped at 1 MiB, and the logos appear in it twice, so larger images would make helm install or helm upgrade fail; the chart refuses them with a clear message instead. An SVG or a compressed PNG is usually a few KiB.

The chart stores them in a ConfigMap mounted into the hub and restarts the hub when they change. Without a white-label license the logo isn't shown and the hub logs a warning. Without a logo, a white-labeled hub shows Radar's mark next to the organization's name.

Requires a Hub release that reads RADAR_HUB_BRAND_LOGO_FILE; an older hub ignores these values.

Values

See values.yaml for the full set, and values.schema.json for the enforced schema. Invalid values are rejected at install time rather than surfacing as a broken pod.

AI agent

Release prerequisite: this feature requires a Hub release with Anthropic provider support (for provider: vertex, Vertex provider support; for provider: openai-compatible and anthropic.baseUrl, Hub 1.15.0) and a public radar-hub-ai-agent-sandbox image at the same version as Hub. Chart maintainers must select that verified version in appVersion before publishing this chart; merging chart changes publishes immediately, independently of the Hub image pipeline. Hub 1.5.0 does not support this configuration.

Off by default. When enabled, each investigation turn runs as a short-lived Kubernetes Job in its own namespace: the pod has no mounted ServiceAccount token, reads the cluster only through the Hub's MCP tunnel, and reaches the model through a sidecar broker that attaches the API key. The key is injected only into the sidecar container, not the agent container in the same pod.

Pick a provider. anthropic talks to api.anthropic.com with an Anthropic API key and works from any cloud; bedrock talks to bedrock-runtime.<region>.amazonaws.com with an IAM service-specific credential for bedrock.amazonaws.com; vertex talks to Claude on Google Cloud Vertex AI with a service-account key; openai-compatible talks to any model behind an OpenAI-compatible API (see Any model below). Only the selected provider's broker is mounted and only its credential is written, so the other egress path does not exist in the pod.

With the bundled evaluation Postgres, set its password explicitly and the chart derives the DSN the sandbox pod uses:

helm upgrade --install radar-hub skyhook/radar-hub \
  --set hub.agent.enabled=true \
  --set hub.agent.provider=anthropic \
  --set hub.agent.credentials.apiKey=sk-ant-… \
  --set postgres.bundled.auth.password='<password>'

The explicit password is required because a generated one cannot be read back at render time, so the chart refuses to derive a DSN that would not match the database. On an existing install that already generated a password, pass that same value back in from the <fullname>-postgres Secret (key password); changing it does not rotate the password inside the database.

With an external database, set credentials.podDSN instead (--set hub.agent.credentials.podDSN='postgres://…'). It is the DSN the sandbox pod resolves, which is not the one the Hub uses — the pod runs in another namespace, so a bare Service name will not resolve, and the chart cannot read your Postgres Secret to rewrite the host.

For Vertex, the credential is a GCP service-account key in JSON rather than an API key, so it goes in credentials.serviceAccountJSON (apiKey is refused under this provider). vertex.project is required and has no default; the account needs roles/aiplatform.user (or equivalent) on that project.

helm upgrade --install radar-hub skyhook/radar-hub \
  --set hub.agent.enabled=true \
  --set hub.agent.provider=vertex \
  --set hub.agent.vertex.project=my-gcp-project

Deploy radar-hub with OpenTenant

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