apiVersion: v2
name: jhipster-online
description: >-
  Helm chart for JHipster Online on Red Hat OpenShift (application 2.41.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 generator-jhipster@8.11; 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.
  Optional mcpWorker (on by default) adds a Node MCP HTTP worker on port 8083 with APPLICATION_MCPWORKER_*; set enabled false to disable.
  Includes JDL Studio sidecar, optional in-cluster MariaDB (`mariadb.enabled`, default true),
  OpenShift Route, optional in-cluster deploy RBAC, and JDL AI. Runtime images on
  Quay (2.41.1-quarkus / 2.41.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.

# OpenShift 4.12+ ships Kubernetes 1.25; Developer Sandbox and current OCP are well above this floor.
kubeVersion: ">=1.25.0-0"

# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application

sources:
  - https://github.com/maximilianoPizarro/jhipster-online-helm-chart
  - https://github.com/redhat-developer-demos/jhipster-online

keywords:
  - jhipster
  - spring
  - openshift
  - quarkus
  - jdl-ai
  - vllm
  - jhipster8
  - dotnet
  - python
  - mcp

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.1.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "2.41.1"

home: https://maximilianopizarro.github.io/jhipster-online-helm-chart/

maintainers: # (optional)
  - name: Maximiliano Pizarro
    email: maximiliano.pizarro.5@gmail.com
    url: http://www.linkedin.com/in/maximiliano-gregorio-pizarro-consultor-it

icon: https://raw.githubusercontent.com/maximilianoPizarro/jhipster-online-helm-chart/main/rethat-jhipster.png

#dependencies:
#- name: mariadb
#  version: "20.2.2"
#  repository: "oci://registry-1.docker.io/bitnamicharts"

annotations:
  charts.openshift.io/name: JHipster Online
  charts.openshift.io/provider: Red Hat Developer Demos
  charts.openshift.io/supportURL: https://github.com/maximilianoPizarro/jhipster-online-helm-chart/issues
  artifacthub.io/license: Apache-2.0
  artifacthub.io/containsSecurityUpdates: "true"
  artifacthub.io/images: |
    - name: jhipster-online-quarkus
      image: quay.io/maximilianopizarro/jhipster-online:2.41.1-quarkus
    - name: jhipster-online-spring-boot
      image: quay.io/maximilianopizarro/jhipster-online:2.41.1-spring-boot
    - name: jhipster8-worker
      image: quay.io/maximilianopizarro/jhipster-online-jhipster8-worker:2.41.1-jhipster8-worker
    - name: pyhipster-worker
      image: quay.io/maximilianopizarro/jhipster-online-pyhipster-worker:2.41.1-pyhipster-worker
    - name: mcp-worker
      image: quay.io/maximilianopizarro/jhipster-online-mcp-worker:2.41.1-mcp-worker
    - name: jdl-studio
      image: quay.io/maximilianopizarro/jdl-studio:latest
  artifacthub.io/links: |
    - name: Source (Application)
      url: https://github.com/redhat-developer-demos/jhipster-online
    - name: Source (Helm Chart)
      url: https://github.com/maximilianoPizarro/jhipster-online-helm-chart
    - name: Container Images (Quay.io)
      url: https://quay.io/repository/maximilianopizarro/jhipster-online
