jhipster-online

by joaquinito2051

Helm chartv1.1.0App 2.40.1Apache-2.0

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_*; set pyhipsterWorker.enabled: false to 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 same APPLICATION_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 kubeVersion in Chart.yaml.
  • Developer Sandbox defaults — a single values.yaml: Route on, RBAC edit for the pod ServiceAccount, in-cluster deploy enabled, JDL AI URLs for sandbox-shared-models; set env.APPLICATION_JDL_AI_API_KEY at 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_KEY or run python scripts/render_diagrams.py from the repo root.

Component Summary

ComponentImagePortPurpose
jhipster-onlinequay.io/maximilianopizarro/jhipster-online:2.40.1-quarkus8080Spring Boot app — generation, Git push, Fabric8 deploy, JDL AI
jdl-studioquay.io/maximilianopizarro/jdl-studio8081nginx sidecar serving JDL Studio UI (same pod as main app)
jhipster8-workerquay.io/maximilianopizarro/jhipster-online-jhipster8-worker:2.40.1-jhipster8-worker8081HTTP worker — JH8 CLI for .NET, Node/NestJS, Azure ACA (jhipster8Worker.enabled)
pyhipster-workerquay.io/maximilianopizarro/jhipster-online-pyhipster-worker:2.40.1-pyhipster-worker8082HTTP worker — PyHipster / Python stack (pyhipsterWorker.enabled)
mariadbregistry.redhat.io/rhel8/mariadb-1033306Persistent database
AI modelsKServe InferenceServices in sandbox-shared-models8443vLLM OpenAI-compatible endpoints

Deployment Topology

The chart creates the following OpenShift resources:

ResourceNameCondition
Deploymentjhipster-online (2 containers)Always
Deploymentjhipster-online-jhipster8-workerjhipster8Worker.enabled=true
Deploymentjhipster-online-pyhipster-workerpyhipsterWorker.enabled=true
DeploymentmariadbAlways
Servicejhipster-online (8080)Always
Servicejhipster-online-jhipster8-workerjhipster8Worker.enabled=true
Servicejhipster-online-pyhipster-workerpyhipsterWorker.enabled=true
ConfigMapnginx-confAlways
Routejhipster-online (TLS edge)route.enabled=true
ServiceAccountper fullnameserviceAccount.create=true
HPAper fullnameautoscaling.enabled=true
Ingressper fullnameingress.enabled=true
RoleBindingedit for SAopenshift.grantEditRoleToServiceAccount=true
HTTPRoute + RateLimitPolicy + AuthPolicyper fullnamekuadrant.enabled=true

Container Images

Runtime images are published via GitHub Actions to Quay.io:

TagDockerfileBaseGenerators
2.40.1-quarkus (default)Dockerfile.quarkusUBI8 OpenJDK 21 + Maven 3.9.15 + Node 22.19generator-jhipster 9.0.0 + generator-jhipster-quarkus 4.0.0
2.40.1-spring-bootDockerfile.spring-bootUBI8 OpenJDK 21 + Maven 3.9.15 + Node 22.19generator-jhipster 9.0.0

JHipster 8 worker image (HTTP sidecar workload — separate pod from the main app):

ImageTagPurpose
quay.io/maximilianopizarro/jhipster-online-jhipster8-worker2.40.1-jhipster8-workergenerator-jhipster 8.11 + dotnet / nodejs / azure-container-apps blueprints; invoked by main app when jhipster8Worker.enabled=true
quay.io/maximilianopizarro/jhipster-online-pyhipster-worker2.40.1-pyhipster-workerPyHipster / 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 VersionApp VersionKey Changes
1.1.02.40.1JHipster 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.42.40.0JDL AI assistant with 3 sandbox models, startupProbe, jdl-studio probes, Kuadrant policies, RBAC RoleBinding
1.0.02.40.0Initial chart for JHipster Online 2.40.0 with JHipster 9 generators
0.1.02.33.0Legacy 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-online is 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-models and APPLICATION_JDL_AI_INSECURE_TLS=true by default.
  • Same image tag, new digest: with image.pullPolicy: Always (default), run oc login ... if needed, then oc 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:

MechanismDefault in chartPurpose
JAVA_OPTS_APPENDUTF-8 system properties + -XX:MaxRAMPercentage=72.0Cleaner multi-byte output and JVM heap sized to the container memory limit (UBI OpenJDK run script).
resourcesrequests 768Mi / 100m, limits 1536Mi / 1 CPUSized for Developer Sandbox; set resources: {} to unset or raise for production
LOGGING_PATTERN_CONSOLEsingle-line patternStructured 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartjhipster-online is pinned at v1.1.0 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