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
| Name | Url | |
|---|---|---|
| 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
| Repository | Name | Version |
|---|---|---|
| https://radar-base.github.io/radar-helm-charts | common | 2.x.x |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| replicaCount | int | 1 | Number of replicas to deploy |
| image.registry | string | "ghcr.io" | Image registry |
| image.repository | string | "radar-base/radar-data-dashboard-backend/radar-data-dashboard-backend" | Image repository |
| image.tag | string | nil | Image tag (immutable tags are recommended) Overrides the image tag whose default is the chart appVersion. |
| image.digest | string | "" | Image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag |
| image.pullPolicy | string | "IfNotPresent" | Image pull policy |
| image.pullSecrets | list | [] | Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. e.g: pullSecrets: - myRegistryKeySecretName |
| nameOverride | string | "" | String to partially override fullname template with a string (will prepend the release name) |
| fullnameOverride | string | "" | String to fully override fullname template with a string |
| podSecurityContext | object | {} | Configure pod's Security Context |
| securityContext | object | {} | Configure container's Security Context |
| service.type | string | "ClusterIP" | Kubernetes Service type |
| service.port | int | 9000 | data-dashboard-backend port |
| disable_tls | bool | false | Reconfigure Ingress to not force TLS |
| ingress.enabled | bool | true | Enable ingress controller resource |
| ingress.ingressClassName | string | "nginx" | Ingress class name |
| ingress.annotations | object | check values.yaml | Annotations that define default ingress class, certificate issuer |
| ingress.path | string | "/dashboard-data" | Path within the url structure |
| ingress.pathType | string | "ImplementationSpecific" | |
| ingress.hosts | list | ["localhost"] | Hosts to accept requests from |
| ingress.tls.secretName | string | "radar-base-tls" | |
| resources | object | {} | |
| autoscaling.enabled | bool | false | Enable horizontal autoscaling |
| autoscaling.minReplicas | int | 1 | |
| autoscaling.maxReplicas | int | 100 | |
| autoscaling.targetCPUUtilizationPercentage | int | 80 | |
| customLivenessProbe | object | {} | Custom livenessProbe that overrides the default one |
| livenessProbe.enabled | bool | true | Enable livenessProbe |
| livenessProbe.initialDelaySeconds | int | 5 | Initial delay seconds for livenessProbe |
| livenessProbe.periodSeconds | int | 30 | Period seconds for livenessProbe |
| livenessProbe.timeoutSeconds | int | 5 | Timeout seconds for livenessProbe |
| livenessProbe.successThreshold | int | 1 | Success threshold for livenessProbe |
| livenessProbe.failureThreshold | int | 3 | Failure threshold for livenessProbe |
| customReadinessProbe | object | {} | Custom readinessProbe that overrides the default one |
| readinessProbe.enabled | bool | true | Enable readinessProbe |
| readinessProbe.initialDelaySeconds | int | 5 | Initial delay seconds for readinessProbe |
| readinessProbe.periodSeconds | int | 30 | Period seconds for readinessProbe |
| readinessProbe.timeoutSeconds | int | 5 | Timeout seconds for readinessProbe |
| readinessProbe.successThreshold | int | 1 | Success threshold for readinessProbe |
| readinessProbe.failureThreshold | int | 3 | Failure threshold for readinessProbe |
| customStartupProbe | object | {} | Custom startupProbe that overrides the default one |
| startupProbe.enabled | bool | true | Enable startupProbe |
| startupProbe.initialDelaySeconds | int | 5 | Initial delay seconds for startupProbe |
| startupProbe.periodSeconds | int | 10 | Period seconds for startupProbe |
| startupProbe.timeoutSeconds | int | 10 | Timeout seconds for startupProbe |
| startupProbe.successThreshold | int | 1 | Success threshold for startupProbe |
| startupProbe.failureThreshold | int | 30 | Failure threshold for startupProbe |
| networkpolicy | object | check values.yaml | Network policy defines who can access this application and who this applications has access to |
| nodeSelector | object | {} | Node labels for pod assignment |
| tolerations | list | [] | Toleration labels for pod assignment |
| affinity | object | {} | Affinity labels for pod assignment |
| javaOpts | string | "-Xmx550m" | Standard JAVA_OPTS that should be passed to this service |
| managementPortal.url | string | "http://management-portal:8080/managementportal" | ManagementPortal URL |
| managementPortal.clientId | string | "radar_data_dashboard_backend" | ManagementPortal OAuth 2.0 client ID, having grant type client_credentials |
| managementPortal.clientSecret | string | "secret" | ManagementPortal OAuth 2.0 client secret |
| jwtResourceName | string | "res_DataDashboardAPI" | JWT Resource name to use for this service in ManagementPortal |
| jdbc.url | string | nil | JDBC Connection url of the database. |
| jdbc.urlSecret | object | {"key":"jdbc-uri","name":"data-dashboard-timescaledb-app"} | Kubernetes secret containing the database JDBC Connection url (disables use of 'url' value). |
| jdbc.user | string | nil | Username of the database |
| jdbc.userSecret | object | {"key":"username","name":"data-dashboard-timescaledb-app"} | Kubernetes secret containing the database JDBC Connection url (disables use of 'url' value). |
| jdbc.password | string | nil | Password of the database |
| jdbc.passwordSecret | object | {"key":"password","name":"data-dashboard-timescaledb-app"} | Kubernetes secret containing the database password (disables use of 'password' value). |
| jdbc.driver | string | "org.postgresql.Driver" | JDBC Driver to connect to the database. |
| jdbc.dialect | string | "org.hibernate.dialect.PostgreSQLDialect" | Hibernate dialect to use for JDBC Connection |
| jdbc.properties."hibernate.globally_quoted_identifiers" | bool | true | Must 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartdata-dashboard-backend is pinned at v0.6.2 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