feedbacksystem
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
| Parameter | Description | Default |
|---|---|---|
| common.config.baseUrl | Optional explicit base URL (overrides protocol/host/port) | "" |
| common.config.protocol | The Used Protocol | https: |
| common.config.hostname | The Used Hostname | feedback.example.org |
| common.config.port | The Used Port | 443 |
Web Shell (Main Frontend Portal)
| Parameter | Description | Default |
|---|---|---|
| webShell.enabled | Enable Web Shell portal | true |
| webShell.image.registry | Docker registry for Web Shell | ghcr.io |
| webShell.image.name | Image name for Web Shell | thm-mni-ii/fbs-web-shell |
| webShell.image.tag | Image tag for Web Shell | "" |
| webShell.image.pullPolicy | Pull policy for Web Shell | IfNotPresent |
| webShell.resources.cpu.request | CPU request | 0.01 |
| webShell.resources.cpu.limit | CPU limit | 1 |
| webShell.resources.memory.request | Memory request | 50Mi |
| webShell.resources.memory.limit | Memory limit | 500Mi |
| webShell.ingress.enabled | Enable standard Kubernetes Ingress for portal | false |
| webShell.ingress.className | Ingress class name | "" |
| webShell.ingress.annotations | Ingress annotations | {} |
| webShell.ingress.hosts | Custom Ingress host & path rules | [] |
| webShell.ingress.tls | TLS configurations for Ingress | [] |
| webShell.ingressRoute.enabled | Enable Traefik IngressRoute for root portal | false |
Identity Service (OIDC & SAML Auth)
| Parameter | Description | Default |
|---|---|---|
| identity.enabled | Enable Identity Service | true |
| identity.image.registry | Docker registry for Identity Service | ghcr.io |
| identity.image.name | Image name for Identity Service | thm-mni-ii/fbs-identity-service |
| identity.image.tag | Image tag for Identity Service | "" |
| identity.image.pullPolicy | Pull policy for Identity Service | IfNotPresent |
| identity.resources.cpu.request | CPU request | 0.1 |
| identity.resources.cpu.limit | CPU limit | 2 |
| identity.resources.memory.request | Memory request | 250Mi |
| identity.resources.memory.limit | Memory limit | 4Gi |
| identity.config.saml.enabled | Enable SAML 2.0 authentication | false |
| identity.config.oidc.issuer | OIDC Issuer URL (defaults to common host) | "" |
| identity.config.oidc.clientId | Web Shell OIDC Client ID | fbs-web-shell |
| identity.config.oidc.redirectUris | Allowed redirect URIs | [] |
| identity.config.oidc.postLogoutRedirectUris | Allowed post-logout redirect URIs | [] |
| identity.config.oidc.accessTokenTtlMinutes | Access token TTL in minutes | 15 |
| identity.config.oidc.authCodeTtlMinutes | Auth code TTL in minutes | 5 |
| identity.config.signingKey.existingSecret | Existing secret containing identity signing keystore | "" |
| identity.config.signingKey.keystore | Base64 encoded .p12 keystore (if not using secret) | "" |
| identity.config.signingKey.storePassword | Keystore store password | changeit |
| identity.config.signingKey.alias | Key pair alias in keystore | identity-signing |
| identity.config.signingKey.keyPassword | Key password | changeit |
| identity.config.antiBruteForce.maxFailuresPerIp | Max login failures per IP before blocking | 150 |
| identity.config.antiBruteForce.maxFailuresPerIpUser | Max login failures per user/IP combination | 15 |
| identity.config.antiBruteForce.windowSeconds | Rate limit evaluation window in seconds | 600 |
| identity.config.antiBruteForce.trustedProxies | Number of upstream reverse proxies | 0 |
| identity.config.antiBruteForce.allowList | Array of exempt CIDRs / IPs | [] |
| identity.ingress.enabled | Enable standard Kubernetes Ingress for Identity | false |
| identity.ingress.className | Ingress class name | "" |
| identity.ingress.annotations | Ingress annotations | {} |
| identity.ingress.hosts | Custom Ingress host & path rules | [] |
| identity.ingress.tls | TLS configurations for Ingress | [] |
| identity.ingressRoute.enabled | Enable Traefik IngressRoute for Identity Service | false |
Course Management Web (Micro-Frontend)
| Parameter | Description | Default |
|---|---|---|
| courseManagementWeb.enabled | Enable Course Management Web | true |
| courseManagementWeb.image.registry | Docker registry | ghcr.io |
| courseManagementWeb.image.name | Image name | thm-mni-ii/fbs-core-web |
| courseManagementWeb.image.tag | Image tag | "" |
| courseManagementWeb.image.pullPolicy | Pull policy | IfNotPresent |
| courseManagementWeb.ingress.enabled | Enable standard Kubernetes Ingress | false |
| courseManagementWeb.ingress.className | Ingress class name | "" |
| courseManagementWeb.ingress.annotations | Ingress annotations | {} |
| courseManagementWeb.ingress.pathPrefix | Path prefix for routing | /course-management |
| courseManagementWeb.ingress.hosts | Custom Ingress host & path rules | [] |
| courseManagementWeb.ingress.tls | TLS configurations for Ingress | [] |
| courseManagementWeb.ingressRoute.enabled | Enable IngressRoute | false |
| courseManagementWeb.ingressRoute.pathPrefix | Path prefix for routing | /course-management |
SQL Playground Web (Micro-Frontend)
| Parameter | Description | Default |
|---|---|---|
| sqlPlaygroundWeb.enabled | Enable SQL Playground Web | true |
| sqlPlaygroundWeb.image.registry | Docker registry | ghcr.io |
| sqlPlaygroundWeb.image.name | Image name | thm-mni-ii/fbs-sql-playground-web |
| sqlPlaygroundWeb.image.tag | Image 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartfeedbacksystem is pinned at v0.48.4 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