radar-grafana

by RADAR-Base

Helm chartv0.1.5App 11.2.2-security-01Verified publisher

A Helm chart for Grafana dashboard used by RADAR-base

About this chart

radar-grafana

A Helm chart for Grafana dashboard used by RADAR-base

Homepage: https://radar-base.org

Grafana

This chart deploys Grafana via a dependency to this chart. Configuration to the Grafana chart is passed via the grafana: key in the values.yaml file. Consult the documentation of the Grafana chart for additional information on how to configure this service if needed.

Maintainers

NameEmailUrl
Pim van Nierop[email protected]https://www.thehyve.nl/experts/pim-van-nierop

Source Code

Prerequisites

  • Kubernetes 1.28+
  • Kubectl 1.28+
  • Helm 3.1.0+
  • When gatewayAPI.enabled=true: the Gateway API CRDs and a Gateway Controller (e.g. NGINX Gateway Fabric) must already be installed in the cluster, and the shared parent Gateway radar-base-k8s-gateway must exist — it can be created via the gateway-api chart

Requirements

RepositoryNameVersion
file://../../external/grafanagrafana8.11.3
https://radar-base.github.io/radar-helm-chartscommon2.x.x

Values

KeyTypeDefaultDescription
grafanaobjectcheck 'values.yaml'Grafana Helm Chart configuration
grafana.server_namestring"localhost"Hostname for the Grafana service
grafana.advertised_protocolstring"https"Protocol for the Grafana service (allowed values: http, https)
gatewayAPI.enabledboolfalseEnable Gateway API HTTPRoute resource (alternative to grafana.ingress). Opt-in: requires the Gateway API CRDs and a Gateway controller to be installed.
gatewayAPI.annotationsobject{}Annotations to add to the HTTPRoute
gatewayAPI.parentRefobject{"name":"radar-base-k8s-gateway","namespace":""}Parent Gateway that the HTTPRoute attaches to. The Gateway itself is a shared resource and must be created separately (not by this chart).
gatewayAPI.parentRef.namestring"radar-base-k8s-gateway"Name of the Gateway
gatewayAPI.parentRef.namespacestring""Namespace of the Gateway (defaults to the release namespace when empty)
gatewayAPI.hostnameslist["dashboard.{{ .Values.grafana.server_name }}"]Hostnames the HTTPRoutes accept requests for (must intersect the Gateway listener hostnames). String values support Helm templating (tpl); defaults to dashboard.<grafana.server_name> so deployments override it the same way as grafana.ingress.hosts.
gatewayAPI.httpsobject{"port":443,"sectionName":""}HTTPS listener on the Gateway that the main route attaches to
gatewayAPI.https.portint443Listener port (empty attaches to all matching listeners)
gatewayAPI.https.sectionNamestring""Listener sectionName on the Gateway (optional)
gatewayAPI.pathTypestring"PathPrefix"Path match type (PathPrefix, Exact or RegularExpression)
gatewayAPI.pathstring"/"Path to match within the URL structure
gatewayAPI.filterslist[]Additional HTTPRoute filters (e.g. URLRewrite, RequestHeaderModifier)
gatewayAPI.httpsRedirectobject{"enabled":true,"port":80,"sectionName":"","statusCode":301}HTTP->HTTPS redirect route (equivalent to nginx force-TLS behaviour)
gatewayAPI.httpsRedirect.enabledbooltrueEnable a second HTTPRoute that 301-redirects HTTP traffic to HTTPS
gatewayAPI.httpsRedirect.portint80HTTP listener port on the Gateway to attach the redirect to
gatewayAPI.httpsRedirect.sectionNamestring""Listener sectionName on the Gateway (optional)
gatewayAPI.httpsRedirect.statusCodeint301Redirect HTTP status code
podDisruptionBudget.enabledboolfalseEnable Pod Disruption Budget
podDisruptionBudget.minAvailableint1Minimum number of pods that must be available during disruptions
podDisruptionBudget.maxUnavailablestringnilMaximum number of pods that can be unavailable during disruptions

Deploy radar-grafana with OpenTenant

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