Closed kernelogic closed 1 month ago
Does the generator only works with micro-service, not monolith?
I'm experiencing the same issue with JHipster 8.6.0.
The sub-generator is supposed to ask what type of application we have (monolith vs microservce), so it should work with both and it used to work for me with JHipster v7.
Additionally, when I run the generator in the parent folder of my app, then it asks the questions, but when I give it the location of my monolith app, it fails saying it didn't find any monolith apps there.
I tried to reproduce this by cloning this repository and removing the kubernetes
directory. Then, I created a new k8s
directory, navigated into it, and ran jhipster kubernetes
. It worked as expected with the 8.7.0 release.
Please reopen this issue if there is still a problem with the latest version.
Overview of the issue
jhipster k8s command generates nothing
Motivation for or Use Case
I tried to deploy a monolith jhipster app I just created, to a configured Azure AKS, however after running jhipster k8s, it didn't ask my any question and doesn't seem generate all the files it needed.
Reproduce the error
"jhipster app" to create app "jhipster k8s" to generate k8s config "bash ./kubctl-apply.sh -f" to deploy this is the output
Related issues
Suggest a Fix
JHipster Version(s)
v8.1.0
JHipster configuration, a
.yo-rc.json
file generated in the root folder.yo-rc.json file
Environment and Tools
openjdk version "21.0.2" 2024-01-16 LTS OpenJDK Runtime Environment Temurin-21.0.2+13 (build 21.0.2+13-LTS) OpenJDK 64-Bit Server VM Temurin-21.0.2+13 (build 21.0.2+13-LTS, mixed mode)
git version 2.39.3 (Apple Git-145)
node: v18.18.2 npm: 9.8.1
Docker version 25.0.2, build 29cf629
JDL for the Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryJDL entity definitions
Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryBrowsers and Operating System
MacOS 14.3