Helm chartv0.48.4App v2.0.11Apache-2.0Verified publisher

Intelligent, personalized feedback for students using artificial intelligence

About this chart

Feedbacksystem Helm Chart

Official Helm Chart for installing the Feedbacksystem (FBS 2.0) on a Kubernetes cluster.

Architecture Overview

Feedbacksystem 2.0 uses a microservice and micro-frontend architecture:

  • web-shell (Vue 3 / Vuetify): Central portal, dynamic navbar, iframe host, app management, and user management.
  • identity-service (Spring Boot 3 / Kotlin): Central Identity Provider (IdP), OIDC/OAuth2 server, GraphQL User Management API, and SAML 2.0 SP federation.
  • course-management-web (Angular): Course and task management frontend (embedded in web shell).
  • sql-playground-web (Angular): Interactive database sandbox frontend (embedded in web shell).
  • core (Spring Boot): Backend API for courses, tasks, submissions, and grading.
  • runner (Vert.x / DinD): Code and SQL evaluation sandbox.
  • eat (Dash / Python): Learning Analytics dashboard.
  • collab (Node.js): Real-time collaborative editor backend.
  • qcm (Node.js / Vue): Quiz and question catalog management backend & frontend.

Chart Installation

Requirements

  • A Kubernetes Cluster (1.23+)
  • kubectl
  • helm (v3.10+)
  • deno (optional, for script-based values generation)
  • keytool / OpenSSL (for OIDC signing keystore generation)

Initial Setup Steps

1. Generate OIDC Signing Keystore

The fbs-identity-service signs JWT access/ID tokens using an RSA-4096 key pair stored in a PKCS#12 keystore:

keytool -genkeypair \
  -alias identity-signing \
  -keyalg RSA \
  -keysize 4096 \
  -storetype PKCS12 \
  -keystore identity-signing-key.p12 \
  -storepass changeit \
  -keypass changeit \
  -dname "CN=fbs-identity, OU=Feedbacksystem, O=THM, C=DE" \
  -validity 3650

Create a Kubernetes secret containing the keystore:

kubectl create secret generic fbs-identity-signing-key \
  --from-file=identity-signing-key.p12=./identity-signing-key.p12 \
  --namespace <namespace>

2. Generate Values

Generate a customized values file using the Deno script:

deno run --reload=https://raw.githubusercontent.com --allow-write=vals.yaml \
  https://raw.githubusercontent.com/thm-mni-ii/helm-charts/main/charts/feedbacksystem/generate-values.ts vals.yaml

Set identity.config.signingKey.existingSecret: "fbs-identity-signing-key" in vals.yaml.

3. Install Chart

helm repo add thm-mni-ii https://thm-mni-ii.github.io/helm-charts
helm install my-feedbacksystem thm-mni-ii/feedbacksystem -f vals.yaml --namespace <namespace> --create-namespace

4. Bootstrap the Initial Administrator Account

Once MySQL and Identity Service are healthy, insert the initial administrator account into fbs_identity.user:

kubectl exec -i -n <namespace> deployment/my-feedbacksystem-mysql -- mysql -u root -p<ROOT_PASSWORD> fbs_identity <<'EOF'
INSERT IGNORE INTO `user`
  (`user_id`, `prename`, `surname`, `email`, `password`, `username`, `privacy_checked`, `deleted`, `alias`, `global_role`)
VALUES
  (1, 'System', 'Administrator', '[email protected]',
   '$2y$10$W7tXl9/M7FC8EwxYn9UU7.3/rgWUGCODhsqInUxPJwYEZNzogxPF2',
   'admin', 1, 0, 'sysadmin', 0);
EOF

(Default credentials: admin / admin123)


Parameters

Common

ParameterDescriptionDefault
common.config.baseUrlOptional explicit base URL (overrides protocol/host/port)""
common.config.protocolThe Used Protocolhttps:
common.config.hostnameThe Used Hostnamefeedback.example.org
common.config.portThe Used Port443

Web Shell (Main Frontend Portal)

ParameterDescriptionDefault
webShell.enabledEnable Web Shell portaltrue
webShell.image.registryDocker registry for Web Shellghcr.io
webShell.image.nameImage name for Web Shellthm-mni-ii/fbs-web-shell
webShell.image.tagImage tag for Web Shell""
webShell.image.pullPolicyPull policy for Web ShellIfNotPresent
webShell.resources.cpu.requestCPU request0.01
webShell.resources.cpu.limitCPU limit1
webShell.resources.memory.requestMemory request50Mi
webShell.resources.memory.limitMemory limit500Mi
webShell.ingress.enabledEnable standard Kubernetes Ingress for portalfalse
webShell.ingress.classNameIngress class name""
webShell.ingress.annotationsIngress annotations{}
webShell.ingress.hostsCustom Ingress host & path rules[]
webShell.ingress.tlsTLS configurations for Ingress[]
webShell.ingressRoute.enabledEnable Traefik IngressRoute for root portalfalse

Identity Service (OIDC & SAML Auth)

ParameterDescriptionDefault
identity.enabledEnable Identity Servicetrue
identity.image.registryDocker registry for Identity Serviceghcr.io
identity.image.nameImage name for Identity Servicethm-mni-ii/fbs-identity-service
identity.image.tagImage tag for Identity Service""
identity.image.pullPolicyPull policy for Identity ServiceIfNotPresent
identity.resources.cpu.requestCPU request0.1
identity.resources.cpu.limitCPU limit2
identity.resources.memory.requestMemory request250Mi
identity.resources.memory.limitMemory limit4Gi
identity.config.saml.enabledEnable SAML 2.0 authenticationfalse
identity.config.oidc.issuerOIDC Issuer URL (defaults to common host)""
identity.config.oidc.clientIdWeb Shell OIDC Client IDfbs-web-shell
identity.config.oidc.redirectUrisAllowed redirect URIs[]
identity.config.oidc.postLogoutRedirectUrisAllowed post-logout redirect URIs[]
identity.config.oidc.accessTokenTtlMinutesAccess token TTL in minutes15
identity.config.oidc.authCodeTtlMinutesAuth code TTL in minutes5
identity.config.signingKey.existingSecretExisting secret containing identity signing keystore""
identity.config.signingKey.keystoreBase64 encoded .p12 keystore (if not using secret)""
identity.config.signingKey.storePasswordKeystore store passwordchangeit
identity.config.signingKey.aliasKey pair alias in keystoreidentity-signing
identity.config.signingKey.keyPasswordKey passwordchangeit
identity.config.antiBruteForce.maxFailuresPerIpMax login failures per IP before blocking150
identity.config.antiBruteForce.maxFailuresPerIpUserMax login failures per user/IP combination15
identity.config.antiBruteForce.windowSecondsRate limit evaluation window in seconds600
identity.config.antiBruteForce.trustedProxiesNumber of upstream reverse proxies0
identity.config.antiBruteForce.allowListArray of exempt CIDRs / IPs[]
identity.ingress.enabledEnable standard Kubernetes Ingress for Identityfalse
identity.ingress.classNameIngress class name""
identity.ingress.annotationsIngress annotations{}
identity.ingress.hostsCustom Ingress host & path rules[]
identity.ingress.tlsTLS configurations for Ingress[]
identity.ingressRoute.enabledEnable Traefik IngressRoute for Identity Servicefalse

Course Management Web (Micro-Frontend)

ParameterDescriptionDefault
courseManagementWeb.enabledEnable Course Management Webtrue
courseManagementWeb.image.registryDocker registryghcr.io
courseManagementWeb.image.nameImage namethm-mni-ii/fbs-core-web
courseManagementWeb.image.tagImage tag""
courseManagementWeb.image.pullPolicyPull policyIfNotPresent
courseManagementWeb.ingress.enabledEnable standard Kubernetes Ingressfalse
courseManagementWeb.ingress.classNameIngress class name""
courseManagementWeb.ingress.annotationsIngress annotations{}
courseManagementWeb.ingress.pathPrefixPath prefix for routing/course-management
courseManagementWeb.ingress.hostsCustom Ingress host & path rules[]
courseManagementWeb.ingress.tlsTLS configurations for Ingress[]
courseManagementWeb.ingressRoute.enabledEnable IngressRoutefalse
courseManagementWeb.ingressRoute.pathPrefixPath prefix for routing/course-management

SQL Playground Web (Micro-Frontend)

ParameterDescriptionDefault
sqlPlaygroundWeb.enabledEnable SQL Playground Webtrue
sqlPlaygroundWeb.image.registryDocker registryghcr.io
sqlPlaygroundWeb.image.nameImage namethm-mni-ii/fbs-sql-playground-web
sqlPlaygroundWeb.image.tagImage tag

Deploy feedbacksystem with OpenTenant

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