jhipster-online-helm-chart

Deploy JHipster Online Helm Charts on Red Hat OpenShift

Redhat kubernetes Helm shell linkedin Artifact Hub

Stack with JHipster Online on Red Hat OpenShift.

This stack include:

JDL Studio

Installation

Charts Values Parameters

OAuth GitHub configure

Go to https://github.com/settings/developers to generate new OAuth App for this configuration:

-->values.yaml
...
  APPLICATION_GITHUB_HOST: https://github.com
  APPLICATION_GITHUB_CLIENT-ID: CLIENT-ID
  APPLICATION_GITHUB_CLIENT-SECRET: CLIENT-SECRET
...

Select JHipster Spring Boot or JHipster Quarkus mode generator

-->values.yaml
...
  APPLICATION_JHIPSTER-CMD_CMD: jhipster-quarkus
  OPENSHIFT_TEKTON_URL-PIPELINE: "https://raw.githubusercontent.com/redhat-developer-demos/jhipster-online/main/src/main/kubernetes/jhipster-pipeline-quarkus.yaml"
...
-->values.yaml
...
  APPLICATION_JHIPSTER-CMD_CMD: jhipster
  OPENSHIFT_TEKTON_URL-PIPELINE: "https://raw.githubusercontent.com/redhat-developer-demos/jhipster-online/main/src/main/kubernetes/jhipster-pipeline.yaml"
...

Developer Hub and DevSpaces configuration for your repo

-->values.yaml
...
  OPENSHIFT_DEVSPACE_URL-DEVFILE: "https://raw.githubusercontent.com/redhat-developer-demos/jhipster-online/main/src/main/kubernetes/jhipster-devspaces.yaml"
  OPENSHIFT_BACKSTAGE_URL-BACKSTAGE: "https://raw.githubusercontent.com/redhat-developer-demos/jhipster-online/main/src/main/kubernetes/catalog-info.yaml"
...

Add repository

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

Install Chart with parameters

helm install jhipster-online jhipster-online/jhipster-online --version 0.1.0 -f values.yaml
Example:
helm install jhipster-online jhipster-online/jhipster-online --version 0.1.0 -f values.yaml

NOTE. jhipster-online name is mandatory, not use my-jhipster-online sample name. If you use other name change the configmap ngnix and rollout deployment jhipster-online.

...
    location /jdl-studio/ {
      proxy_pass http://jhipster-online:8081/;   <-- update by the name set instance
      proxy_set_header X-Forwarded-For $remote_addr;
      proxy_set_header Host $host;
    }
...    

Uninstall Chart

helm uninstall jhipster-online

Package Steps

helm package -u . -d charts
helm repo index .

Package Info

Try on Red Hat OpenShift Dev Spaces, search by “JHipster Online” on the sample catalog and launch the code.

Open

Build Here. Go Anywhere.

Join Red Hat Developer for product trails, hands-on learning, tools, technologies, and community.

JOIN NOW