data-dashboard-backend

by RADAR-Base

Helm chartv0.6.2App 0.2.4Verified publisher

API for data in the data dashboard

About this chart

data-dashboard-backend

API for data in the data dashboard

Homepage: https://radar-base.org

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+

Requirements

RepositoryNameVersion
https://radar-base.github.io/radar-helm-chartscommon2.x.x

Values

KeyTypeDefaultDescription
replicaCountint1Number of replicas to deploy
image.registrystring"ghcr.io"Image registry
image.repositorystring"radar-base/radar-data-dashboard-backend/radar-data-dashboard-backend"Image repository
image.tagstringnilImage tag (immutable tags are recommended) Overrides the image tag whose default is the chart appVersion.
image.digeststring""Image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
image.pullPolicystring"IfNotPresent"Image pull policy
image.pullSecretslist[]Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. e.g: pullSecrets: - myRegistryKeySecretName
nameOverridestring""String to partially override fullname template with a string (will prepend the release name)
fullnameOverridestring""String to fully override fullname template with a string
podSecurityContextobject{}Configure pod's Security Context
securityContextobject{}Configure container's Security Context
service.typestring"ClusterIP"Kubernetes Service type
service.portint9000data-dashboard-backend port
disable_tlsboolfalseReconfigure Ingress to not force TLS
ingress.enabledbooltrueEnable ingress controller resource
ingress.ingressClassNamestring"nginx"Ingress class name
ingress.annotationsobjectcheck values.yamlAnnotations that define default ingress class, certificate issuer
ingress.pathstring"/dashboard-data"Path within the url structure
ingress.pathTypestring"ImplementationSpecific"
ingress.hostslist["localhost"]Hosts to accept requests from
ingress.tls.secretNamestring"radar-base-tls"
resourcesobject{}
autoscaling.enabledboolfalseEnable horizontal autoscaling
autoscaling.minReplicasint1
autoscaling.maxReplicasint100
autoscaling.targetCPUUtilizationPercentageint80
customLivenessProbeobject{}Custom livenessProbe that overrides the default one
livenessProbe.enabledbooltrueEnable livenessProbe
livenessProbe.initialDelaySecondsint5Initial delay seconds for livenessProbe
livenessProbe.periodSecondsint30Period seconds for livenessProbe
livenessProbe.timeoutSecondsint5Timeout seconds for livenessProbe
livenessProbe.successThresholdint1Success threshold for livenessProbe
livenessProbe.failureThresholdint3Failure threshold for livenessProbe
customReadinessProbeobject{}Custom readinessProbe that overrides the default one
readinessProbe.enabledbooltrueEnable readinessProbe
readinessProbe.initialDelaySecondsint5Initial delay seconds for readinessProbe
readinessProbe.periodSecondsint30Period seconds for readinessProbe
readinessProbe.timeoutSecondsint5Timeout seconds for readinessProbe
readinessProbe.successThresholdint1Success threshold for readinessProbe
readinessProbe.failureThresholdint3Failure threshold for readinessProbe
customStartupProbeobject{}Custom startupProbe that overrides the default one
startupProbe.enabledbooltrueEnable startupProbe
startupProbe.initialDelaySecondsint5Initial delay seconds for startupProbe
startupProbe.periodSecondsint10Period seconds for startupProbe
startupProbe.timeoutSecondsint10Timeout seconds for startupProbe
startupProbe.successThresholdint1Success threshold for startupProbe
startupProbe.failureThresholdint30Failure threshold for startupProbe
networkpolicyobjectcheck values.yamlNetwork policy defines who can access this application and who this applications has access to
nodeSelectorobject{}Node labels for pod assignment
tolerationslist[]Toleration labels for pod assignment
affinityobject{}Affinity labels for pod assignment
javaOptsstring"-Xmx550m"Standard JAVA_OPTS that should be passed to this service
managementPortal.urlstring"http://management-portal:8080/managementportal"ManagementPortal URL
managementPortal.clientIdstring"radar_data_dashboard_backend"ManagementPortal OAuth 2.0 client ID, having grant type client_credentials
managementPortal.clientSecretstring"secret"ManagementPortal OAuth 2.0 client secret
jwtResourceNamestring"res_DataDashboardAPI"JWT Resource name to use for this service in ManagementPortal
jdbc.urlstringnilJDBC Connection url of the database.
jdbc.urlSecretobject{"key":"jdbc-uri","name":"data-dashboard-timescaledb-app"}Kubernetes secret containing the database JDBC Connection url (disables use of 'url' value).
jdbc.userstringnilUsername of the database
jdbc.userSecretobject{"key":"username","name":"data-dashboard-timescaledb-app"}Kubernetes secret containing the database JDBC Connection url (disables use of 'url' value).
jdbc.passwordstringnilPassword of the database
jdbc.passwordSecretobject{"key":"password","name":"data-dashboard-timescaledb-app"}Kubernetes secret containing the database password (disables use of 'password' value).
jdbc.driverstring"org.postgresql.Driver"JDBC Driver to connect to the database.
jdbc.dialectstring"org.hibernate.dialect.PostgreSQLDialect"Hibernate dialect to use for JDBC Connection
jdbc.properties."hibernate.globally_quoted_identifiers"booltrueMust be true for compatibility with table created by jdbc-connector
jdbc.properties."hibernate.physical_naming_strategy"string"org.radarbase.datadashboard.api.domain.model.CamelCaseToUppercaseColumnNamingStrategy"Must be CamelCaseToUppercaseColumnNamingStrategy for compatibility with table created by jdbc-connector

Deploy data-dashboard-backend with OpenTenant

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