management-portal

by RADAR-Base

Helm chartv1.7.1App 3.0.0Apache-2.0Verified publisher

A Helm chart for RADAR-Base Management Portal to manage projects and participants throughout RADAR-base.

About this chart

management-portal

A Helm chart for RADAR-Base Management Portal to manage projects and participants throughout RADAR-base.

Homepage: https://radar-base.org

Maintainers

NameEmailUrl
Yatharth Ranjan[email protected]https://www.kcl.ac.uk/people/yatharth-ranjan
Pauline Conde[email protected]https://www.kcl.ac.uk/people/pauline-conde
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
https://radar-base.github.io/radar-helm-chartscommon2.x.x

Values

KeyTypeDefaultDescription
replicaCountint1Number of Management Portal replicas to deploy
image.registrystring"ghcr.io"Image registry
image.repositorystring"radar-base/managementportal/management-portal"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 management-portal.fullname template with a string (will prepend the release name)
fullnameOverridestring""String to fully override management-portal.fullname template with a string
podSecurityContextobject{}Configure management-portal pods' Security Context
securityContextobject{}Configure management-portal containers' Security Context
service.typestring"ClusterIP"Kubernetes Service type
service.portint8080Management Portal 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
ingress.pathstring"/managementportal"Path within the url structure
ingress.pathTypestring"ImplementationSpecific"Ingress Path type
ingress.ingressClassNamestring"nginx"IngressClass that will be used to implement the Ingress (Kubernetes 1.18+)
ingress.hostslist["localhost"]Hosts to accept requests from
ingress.tls.secretNamestring"radar-base-tls"TLS Secret Name
gatewayAPI.enabledboolfalseEnable Gateway API HTTPRoute resource (alternative to 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["{{ .Values.server_name }}"]Hostnames the HTTPRoutes accept requests for (must intersect the Gateway listener hostnames). String values support Helm templating (tpl); defaults to server_name so deployments override it the same way as 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"/managementportal"Path to match within the URL structure
gatewayAPI.filterslistcheck values.yamlAdditional HTTPRoute filters (e.g. URLRewrite, RequestHeaderModifier) CORS equivalent to the nginx ingress annotation (enable-cors), using ingress-nginx's implicit defaults for the remaining values for parity.
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
resources.limitsobject{"cpu":2,"memory":"1700Mi"}CPU/Memory resource limits
resources.requestsobject{"cpu":"100m","memory":"512Mi"}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.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
keystorestring""base 64 encoded binary p12 keystore containing a ECDSA certificate with alias radarbase-managementportal-ec and a RSA certificate with alias selfsigned.
postgres.hoststringnilhost name of the postgres db
postgres.portstringnilpost of the postgres db
postgres.databasestringnildatabase name
postgres.urlSecretobject{"key":"jdbc-uri","name":null}Kubernetes secret containing the database JDBC Connection url (disables use of 'host', 'port' and 'database' values). Set to empty/null to use chart's own secret created from postgres.url value Otherwise e.g. name: radar-cloudnative-postgresql-managementportal
postgres.userstringnildatabase user
postgres.userSecretobject{"key":"username","name":null}Kubernetes secret containing the database username (disables use of 'user' value). Set to empty/null to use chart's own secret created from postgres.user value Otherwise e.g. name: radar-cloudnative-postgresql-managementportal
postgres.passwordstringnilpassword of the database user
postgres.passwordSecretobject{"key":"password","name":null}Kubernetes secret containing the database password (disables use of 'password' value). Set to empty/null to use chart's own secret created from postgres.password value Otherwise e.g. name: radar-cloudnative-postgresql-managementportal
postgres.connection_parametersstring""Additional JDBC connection parameters e.g. sslmode=verify-full. Ignored when using 'urlSecret'.
postgres.ssl.enabledboolfalseset to true if the connecting to postgres using SSL
postgres.ssl.keystorestring""base64 encoded certificate needed to connect to the PostgreSQL With helmfile, this can be set in a production.yaml.gotmpl file by setting keystore: {{ readFile "certificate.pem"
server_namestring"localhost"domain name of the server
catalogue_serverstring"catalog-server"Hostname of the catalogue-server
identity_server.internalbooltrueWhether the IDP is the MP's internal IDP
identity_server.public_urlstring"http://radar-kratos-public"The publicly accessible server URL for the IDP; needed when deviating from http(s)://server_name/kratos
identity_server.admin_urlstring"http://radar-kratos-admin"The admin server URL for the IDP used for service-to-service requests. Only needs to be accessible from inside the cluster where the managementportal resides
identity_server.user_activation_flow_typestring"verification"The user activation flow type to use for Management Portal (e.g., recovery, verification)
identity_server.user_activation_methodstring"link"The user activation method to use for Management Portal (e.g., link, code)
identity_server.admin_emailstring"[email protected]"The admin email to link to the admin service account. This account should only be used to set up admin-users
authserver.internalbooltrueWhether the authserver is the MP's internal authserver
authserver.token_urlstring"http://radar-hydra-public:4444/oauth2/token"The publicly accessible server URL for the authserver; needed when deviating from http(s)://server_name/auth
authserver.admin_urlstring"http://radar-hydra-admin:4445"The admin server URL for the authserver used for service-to-service requests. Only needs to be accessible from inside the cluster where the managementportal resides
authserver.auth_urlstring"{{ .Values.advertised_protocol }}://{{ .Values.server_name }}/hydra/oauth2/auth"The publicly accessible login URL for the authserver; needed when deviating from http(s)://server_name/auth/login
authserver.jwks_urlstring"http://radar-hydra-admin:4445/admin/keys/hydra.jwt.access-token"The JWKS URL for the authserver; needed when deviating from http(s)://server_name/auth/jwks
managementportal.catalogue_server_enable_auto_importboolfalseset to true, if automatic source-type import from catalogue server should be enabled
managementportal.common_privacy_policy_urlstring"http://info.thehyve.nl/radar-cns-privacy-policy"Override with a publicly resolvable url of the privacy-policy url for your set-up. This can be overridden on a project basis as well.
managementportal.oauth_checking_key_aliases_0string"radarbase-managementportal-ec"Keystore alias to sign JWT tokens from Management Portal
managementportal.oauth_checking_key_aliases_1string"selfsigned"Keystore alias to sign JWT tokens from Management Portal
managementportal.oauth_require_aal2booltrueWhether or not to require AAL2 level authentication (i.e. MFA)
managementportal.frontend_client_secretstring"xxx"OAuth2 Client secret of the Management Portal frontend application
managementportal.common_admin_passwordstring"xxx"Admin password of the default admin user created by the system
managementportal.oauth_clients_filestring"/secrets/oauth_client_details.csv"The file where the OAuth2 client details are stored
managementportal.base_urlstr

Deploy management-portal with OpenTenant

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