jhipster-online
Helm chart for JHipster Online on Red Hat OpenShift (application 2.40.1). Main pod runs JHipster 9 (Quarkus / Spring Boot via image tag) with optional JHipster 8 HTTP worker for stacks that still use JH8 blueprints (.NET, Node/NestJS, Azure Container Apps). When jhipster8Worker.enabled, a second Deployment + ClusterIP Service exposes [email protected]; the main app delegates via APPLICATION_JHIPSTER8WORKER_* env vars. Optional pyhipsterWorker (on by default) adds a PyHipster HTTP worker on port 8082 with APPLICATION_PYHIPSTERWORKER_*; set enabled false to disable. Includes JDL Studio sidecar, MariaDB, OpenShift Route, optional in-cluster deploy RBAC, and JDL AI. Runtime images on Quay (2.40.1-quarkus / 2.40.1-spring-boot): UBI8 OpenJDK 21, Node 22.19, Maven 3.9.15, WAR at /deployments/jhonline.war. Default values target Red Hat Developer Sandbox.
About this chart
JHipster Online Helm Chart for Red Hat OpenShift
Table of Contents
- Overview
- Architecture
- Container Images
- Chart Versions
- Installation
- From Helm Repository
- Red Hat Developer Sandbox
- Configuration
- Startup console, JVM, and resources
- Generator Mode (Quarkus / Spring Boot)
- JHipster 8 Worker
- PyHipster Worker
- GitHub OAuth
- Developer Hub and Dev Spaces
- JDL AI Assistant (OpenShift AI Models)
- OpenShift Route and Kuadrant
- RBAC for In-Cluster Deploy
- Security Considerations
- Values Reference
- JDL Studio
- Packaging
- Links
Overview
This Helm chart deploys JHipster Online 2.40.1 on Red Hat OpenShift. The stack includes:
- JHipster Online 2.40.1 — web UI for generating JHipster applications without local installation
- generator-jhipster 9.0.0 — generates Spring Boot 3.4+ / Java 21 projects
- generator-jhipster-quarkus 4.0.0 — generates Quarkus projects (JH9-compatible)
- JHipster 8 HTTP worker (optional, default on) — separate Deployment with generator-jhipster 8.11 + dotnet / nodejs / azure-container-apps blueprints; main app delegates those stacks via
APPLICATION_JHIPSTER8WORKER_*(see JHipster 8 Worker) - PyHipster HTTP worker (optional, default on) — separate Deployment for Python/PyHipster generation; wired via
APPLICATION_PYHIPSTERWORKER_*; setpyhipsterWorker.enabled: falseto disable (see PyHipster Worker) - JDL Studio — visual editor for JHipster Domain Language models (sidecar on port 8081)
- JDL AI Assistant — AI-assisted JDL drafting with RAG, powered by in-cluster vLLM models (Granite, Nemotron, Qwen)
- Editor AI — in-app assist for Helm YAML and JDL (complete, explain, fix, generate-from-prompt) via
/api/editor-ai/*; uses the sameAPPLICATION_JDL_AI_*settings and API key as JDL AI (upstream) - MariaDB — database for user data, JDL models, and statistics
- Cluster requirement — Kubernetes ≥ 1.25 (OpenShift 4.12+); see
kubeVersionin Chart.yaml. - Developer Sandbox defaults — a single values.yaml: Route on, RBAC
editfor the pod ServiceAccount, in-cluster deploy enabled, JDL AI URLs forsandbox-shared-models; setenv.APPLICATION_JDL_AI_API_KEYat install (e.g.oc whoami -t). For other clusters, turn those off in the same file (see RBAC for In-Cluster Deploy). - Runtime image (upstream) — redhat-developer-demos/jhipster-online
Dockerfile.quarkus/Dockerfile.spring-boot: UBI8 OpenJDK 21, Node 22.19, Maven 3.9.15, WAR at/deployments/jhonline.war.
Source application: redhat-developer-demos/jhipster-online
Architecture
Diagram source: nanobanana (Gemini) or local script — see image/README.md. Regenerate with
GEMINI_API_KEYor runpython scripts/render_diagrams.pyfrom the repo root.
Component Summary
| Component | Image | Port | Purpose |
|---|---|---|---|
| jhipster-online | quay.io/maximilianopizarro/jhipster-online:2.40.1-quarkus | 8080 | Spring Boot app — generation, Git push, Fabric8 deploy, JDL AI |
| jdl-studio | quay.io/maximilianopizarro/jdl-studio | 8081 | nginx sidecar serving JDL Studio UI (same pod as main app) |
| jhipster8-worker | quay.io/maximilianopizarro/jhipster-online-jhipster8-worker:2.40.1-jhipster8-worker | 8081 | HTTP worker — JH8 CLI for .NET, Node/NestJS, Azure ACA (jhipster8Worker.enabled) |
| pyhipster-worker | quay.io/maximilianopizarro/jhipster-online-pyhipster-worker:2.40.1-pyhipster-worker | 8082 | HTTP worker — PyHipster / Python stack (pyhipsterWorker.enabled) |
| mariadb | registry.redhat.io/rhel8/mariadb-103 | 3306 | Persistent database |
| AI models | KServe InferenceServices in sandbox-shared-models | 8443 | vLLM OpenAI-compatible endpoints |
Deployment Topology
The chart creates the following OpenShift resources:
| Resource | Name | Condition |
|---|---|---|
| Deployment | jhipster-online (2 containers) | Always |
| Deployment | jhipster-online-jhipster8-worker | jhipster8Worker.enabled=true |
| Deployment | jhipster-online-pyhipster-worker | pyhipsterWorker.enabled=true |
| Deployment | mariadb | Always |
| Service | jhipster-online (8080) | Always |
| Service | jhipster-online-jhipster8-worker | jhipster8Worker.enabled=true |
| Service | jhipster-online-pyhipster-worker | pyhipsterWorker.enabled=true |
| ConfigMap | nginx-conf | Always |
| Route | jhipster-online (TLS edge) | route.enabled=true |
| ServiceAccount | per fullname | serviceAccount.create=true |
| HPA | per fullname | autoscaling.enabled=true |
| Ingress | per fullname | ingress.enabled=true |
| RoleBinding | edit for SA | openshift.grantEditRoleToServiceAccount=true |
| HTTPRoute + RateLimitPolicy + AuthPolicy | per fullname | kuadrant.enabled=true |
Container Images
Runtime images are published via GitHub Actions to Quay.io:
| Tag | Dockerfile | Base | Generators |
|---|---|---|---|
2.40.1-quarkus (default) | Dockerfile.quarkus | UBI8 OpenJDK 21 + Maven 3.9.15 + Node 22.19 | generator-jhipster 9.0.0 + generator-jhipster-quarkus 4.0.0 |
2.40.1-spring-boot | Dockerfile.spring-boot | UBI8 OpenJDK 21 + Maven 3.9.15 + Node 22.19 | generator-jhipster 9.0.0 |
JHipster 8 worker image (HTTP sidecar workload — separate pod from the main app):
| Image | Tag | Purpose |
|---|---|---|
quay.io/maximilianopizarro/jhipster-online-jhipster8-worker | 2.40.1-jhipster8-worker | generator-jhipster 8.11 + dotnet / nodejs / azure-container-apps blueprints; invoked by main app when jhipster8Worker.enabled=true |
quay.io/maximilianopizarro/jhipster-online-pyhipster-worker | 2.40.1-pyhipster-worker | PyHipster / Python Flask worker HTTP API; invoked when pyhipsterWorker.enabled=true |
Registry: quay.io/maximilianopizarro/jhipster-online (main app), jhipster-online-jhipster8-worker, and jhipster-online-pyhipster-worker as needed.
Set image.tag in values.yaml and match env.JAVA_APP_JAR to the WAR path baked into that image (default: /deployments/jhonline.war).
Unversioned tags (:quarkus, :spring-boot, :latest) remain pinned to 2.33.0 to avoid breaking existing deployments.
Chart Versions
| Chart Version | App Version | Key Changes |
|---|---|---|
| 1.1.0 | 2.40.1 | JHipster 8 HTTP worker + PyHipster worker (pyhipsterWorker, default on); main app JH9 + Quarkus 4.0.0; image.pullPolicy Always; main container 2Gi + MaxRAMPercentage 65; Developer Sandbox defaults (Route, RBAC edit, JDL AI); Helm deploy OPENSHIFT_USE_HELM_CLI / OPENSHIFT_HELM_*; Editor AI |
| 1.0.4 | 2.40.0 | JDL AI assistant with 3 sandbox models, startupProbe, jdl-studio probes, Kuadrant policies, RBAC RoleBinding |
| 1.0.0 | 2.40.0 | Initial chart for JHipster Online 2.40.0 with JHipster 9 generators |
| 0.1.0 | 2.33.0 | Legacy chart for JHipster Online 2.33.0 |
Installation
From Helm Repository
# Add repository
helm repo add jhipster-online https://maximilianopizarro.github.io/jhipster-online-helm-chart/
# Install (latest)
helm install jhipster-online jhipster-online/jhipster-online \
--version 1.1.0 -n <your-namespace>
# With AI models token
helm install jhipster-online jhipster-online/jhipster-online \
--version 1.1.0 -n <your-namespace> \
--set-string "env.APPLICATION_JDL_AI_API_KEY=$(oc whoami -t)"
Note: The release name
jhipster-onlineis mandatory. Using a different name requires updating the nginx ConfigMap proxy target and restarting the deployment.
Red Hat Developer Sandbox
values.yaml is written for a first try on Red Hat Developer Sandbox: OpenShift Route, openshift.grantEditRoleToServiceAccount: true, env.OPENSHIFT_DEPLOYMENT_ENABLED: "true", CPU/memory limits suited to Sandbox quotas, and JDL AI model URLs under sandbox-shared-models. You only need a cluster token for inference.
From this repository (recommended for Sandbox):
oc login --token=... --server=https://api.sandbox...openshift.com:6443
helm upgrade --install jhipster-online . -n <your-dev-namespace> \
--set-string "env.APPLICATION_JDL_AI_API_KEY=$(oc whoami -t)"
From the Helm repository (same packaged defaults; no extra -f):
oc project <your-dev-namespace>
helm repo update
helm upgrade --install jhipster-online jhipster-online/jhipster-online \
--version 1.1.0 -n <your-dev-namespace> \
--set-string "env.APPLICATION_JDL_AI_API_KEY=$(oc whoami -t)"
Set GitHub OAuth with --set-string for env.APPLICATION_GITHUB_CLIENT-ID and env.APPLICATION_GITHUB_CLIENT-SECRET (or a small secret values file). Watch rollout: oc rollout status deployment/jhipster-online -n <your-dev-namespace>.
Outside Sandbox (tighter security or no in-cluster deploy): in the same values.yaml (or overrides via --set), set openshift.grantEditRoleToServiceAccount: false, env.OPENSHIFT_DEPLOYMENT_ENABLED: "false", and adjust resources / model URLs as needed.
- JDL AI: three models in
sandbox-shared-modelsandAPPLICATION_JDL_AI_INSECURE_TLS=trueby default. - Same image tag, new digest: with
image.pullPolicy: Always(default), runoc login ...if needed, thenoc rollout restart deployment/jhipster-online -n <ns>after the registry image is updated so pods pull the new digest.
Uninstall
helm uninstall jhipster-online -n <your-namespace>
Configuration
Startup console, JVM, and resources
The JHipster ASCII banner stays enabled by default (Spring Boot default). The chart does not set SPRING_MAIN_BANNER_MODE=off. To make startup output easier to read in OpenShift (encoding + heap inside the cgroup) the chart sets:
| Mechanism | Default in chart | Purpose |
|---|---|---|
JAVA_OPTS_APPEND | UTF-8 system properties + -XX:MaxRAMPercentage=72.0 | Cleaner multi-byte output and JVM heap sized to the container memory limit (UBI OpenJDK run script). |
resources | requests 768Mi / 100m, limits 1536Mi / 1 CPU | Sized for Developer Sandbox; set resources: {} to unset or raise for production |
LOGGING_PATTERN_CONSOLE | single-line pattern | Structured plain-text lines after the banner. |
Optional Spring Boot tuning via env (only if you need it):
env:
# Example: disable banner in log aggregators only (not the default in this chart)
# SPRING_MAIN_BANNER_MODE: "off"
# SPRING_OUTPUT_ANSI_ENABLED: "never" # strip ANSI in captured logs
Generator Mode (Quarkus / Spring Boot)
The OpenShift generator reads Tekton pipelines, Devfile, and Helm scaffold templates from the application bundle (classpath helm-template/ and related resources in redhat-developer-demos/jhipster-online). Upstream removed standalon
Deploy jhipster-online with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has jhipster-online 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 chartjhipster-online is pinned at v1.1.0 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