radar-upload-connect-backend

by RADAR-Base

Helm chartv0.9.1App 0.6.4Apache-2.0Verified publisher

A Helm chart for RADAR-base upload connector backend application. This application is an upload system that stores uploaded data and its metadata in PostgreSQL for later processing.

About this chart

radar-upload-connect-backend

A Helm chart for RADAR-base upload connector backend application. This application is an upload system that stores uploaded data and its metadata in PostgreSQL for later processing.

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
replicaCountint2Number of radar-upload-connect-backend replicas to deploy
image.registrystring"ghcr.io"Image registry
image.repositorystring"radar-base/radar-upload-source-connector/radar-upload-connect-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 radar-upload-connect-backend.fullname template with a string (will prepend the release name)
fullnameOverridestring""String to fully override radar-upload-connect-backend.fullname template with a string
podSecurityContextobject{}Configure radar-upload-connect-backend pods' Security Context
securityContextobject{}Configure radar-upload-connect-backend containers' Security Context
service.typestring"ClusterIP"Kubernetes Service type
service.portint8085radar-upload-connect-backend port
disable_tlsboolfalseReconfigure Ingress to not force TLS
advertised_protocolstring"https"The protocol in advertised URIs (https, http)
ingress.enabledbooltrueEnable ingress controller resource
ingress.annotationsobjectcheck values.yamlAnnotations that define default ingress class, certificate issuer and proxy settings
ingress.pathstring"/upload/api/?(.*)"Path within the url structure
ingress.pathTypestring"ImplementationSpecific"Ingress Path type
ingress.ingressClassNamestring"nginx"IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
ingress.hostslist["localhost"]Host to listen to requests to
ingress.tls.secretNamestring"radar-base-tls"Name of the secret containing TLS certificates
resources.requestsobject{"cpu":"100m","memory":"2Gi"}CPU/Memory resource requests
nodeSelectorobject{}Node labels for pod assignment
tolerationslist[]Toleration labels for pod assignment
affinityobject{}Affinity labels for pod assignment
extraEnvVarslist[]Extra environment variables
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.periodSecondsint10Period 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
client_idstring"radar_upload_backend"OAuth2 client id of the upload connect backend application
client_secretstring"secret"OAuth2 client secret of the upload connect backend
postgres.hoststringnilHost name of the database to store uploaded data and metadata
postgres.databasestringnilDatabase name
postgres.portstringnil
postgres.urlSecretobject{"key":"jdbc-uri","name":"radar-cloudnative-postgresql-uploadconnector"}Kubernetes secret containing the database JDBC Connection url (disables use of 'host', 'port' and 'database' values).
postgres.userstringnilDatabase username
postgres.userSecretobject{"key":"username","name":"radar-cloudnative-postgresql-uploadconnector"}Kubernetes secret containing the database username (disables use of 'user' value).
postgres.passwordstringnilDatabase password
postgres.passwordSecretobject{"key":"password","name":"radar-cloudnative-postgresql-uploadconnector"}Kubernetes secret containing the database password (disables use of 'password' value).
postgres.parametersstringnilAdditional JDBC connection parameters e.g. sslmode=verify-full Ignored when using 'urlSecret'.
managementportal_urlstring"http://management-portal:8080/managementportal"URL of the Management Portal
serverNamestring"localhost"Server name or domain name

Deploy radar-upload-connect-backend with OpenTenant

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