generator-jhipster icon indicating copy to clipboard operation
generator-jhipster copied to clipboard

jhipster kubernetes doesn't generate keycloak yaml

Open dkirrane opened this issue 6 years ago • 12 comments

Overview of the issue

I generated an app with keycloak for oidc and postgres for db. I then used the kubernetes subgenerator. It generates the yaml for the app & postgres but not keycloak

Motivation for or Use Case

Kubernetes integration

Reproduce the error

Run

jhipster (selecting keycloak option)
jhipster kubernetes
# Result: no K8s yaml generated for keycloak
Related issues
Suggest a Fix
JHipster Version(s)

JHipster Docker Image tag: v5.2.1

JHipster configuration

jhipster info Using JHipster version installed locally in current project's node_modules Executing jhipster:info Options: Welcome to the JHipster Information Sub-Generator

JHipster Version(s)
[email protected] /home/jhipster/app
`-- [email protected]

JHipster configuration, a .yo-rc.json file generated in the root folder
.yo-rc.json file
{
  "generator-jhipster": {
    "promptValues": {
      "packageName": "com.mycompany.myapp"
    },
    "jhipsterVersion": "5.2.1",
    "applicationType": "monolith",
    "baseName": "app",
    "packageName": "com.mycompany.myapp",
    "packageFolder": "com/mycompany/myapp",
    "serverPort": "8080",
    "authenticationType": "oauth2",
    "cacheProvider": "no",
    "websocket": false,
    "databaseType": "sql",
    "devDatabaseType": "postgresql",
    "prodDatabaseType": "postgresql",
    "searchEngine": false,
    "messageBroker": false,
    "serviceDiscoveryType": false,
    "buildTool": "maven",
    "enableSwaggerCodegen": false,
    "clientFramework": "angularX",
    "useSass": false,
    "clientPackageManager": "yarn",
    "testFrameworks": [],
    "jhiPrefix": "jhi",
    "enableTranslation": false,
    "appsFolders": [
      "app"
    ],
    "directoryPath": "../",
    "jwtSecretKey": "replaced-by-jhipster-info",
    "dockerRepositoryName": "mydocker.registry.mycompnay.com",
    "dockerPushCommand": "docker push",
    "kubernetesNamespace": "default",
    "kubernetesServiceType": "Ingress",
    "ingressDomain": "mycompnay.com",
    "monitoring": "no",
    "istio": "no",
    "istioRoute": false
  }
}
JDL for the Entity configuration(s) entityName.json files generated in the .jhipster directory
JDL entity definitions

Environment and Tools

openjdk version "1.8.0_171" OpenJDK Runtime Environment (build 1.8.0_171-8u171-b11-0ubuntu0.18.04.1-b11) OpenJDK 64-Bit Server VM (build 25.171-b11, mixed mode)

git version 2.17.1

node: v8.11.4

npm: 6.4.0

yeoman: 2.0.5

yarn: 1.9.4

Browsers and Operating System

Latest Chrome & Docker for Windows

  • [x] Checking this box is mandatory (this is just to show you read everything)

dkirrane avatar Aug 22 '18 08:08 dkirrane

Could you follow the guidelines and post your config, so I can try to reproduce?

jdubois avatar Aug 22 '18 08:08 jdubois

jhipster info updated

dkirrane avatar Aug 24 '18 13:08 dkirrane

I have a working example, but without using a helm chart, thats why I closed the PR as we wanted to go with a helm directly I think.

atomfrede avatar Jul 03 '19 09:07 atomfrede

@jhipster/developers As we have not yet made any progress using helm charts I could reactive my PR. If I remember correctly everything worked fine for monolith already.

atomfrede avatar Jul 03 '19 12:07 atomfrede

@st4rtx please don't spam everybody if you don't participate in solving the issue, this pollutes the thread and annoys the 780 people who are watching the repo

jdubois avatar Jul 03 '19 12:07 jdubois

@jdubois ok i delete it but say me how can i find the solution ?

st4rtx avatar Jul 03 '19 13:07 st4rtx

@st4rtx If you need specific help you can use stackoverflow or at least tell what your concrete problem is. My old PR contains everything to deploy a single keycloak instance in kubernetes and connects a jhipster application to it.

atomfrede avatar Jul 03 '19 15:07 atomfrede

@atomfrede i search at your PR but i dont find any things about keycloak ok kube

st4rtx avatar Jul 07 '19 10:07 st4rtx

@st4rtx : the PR is here https://github.com/jhipster/generator-jhipster/issues/8464

pascalgrimaud avatar Aug 09 '19 06:08 pascalgrimaud

ran into this issue w/ @mraible yesterday 😄

saturnism avatar Feb 12 '20 20:02 saturnism

@saturnism Do you really care? If so, where's the PR?! 😉

mraible avatar Oct 08 '20 07:10 mraible

This issue is stale because it has been open 30 days with no activity. Our core developers tend to be more verbose on denying. If there is no negative comment, possibly this feature will be accepted. We are accepting PRs :smiley:. Comment or this will be closed in 7 days

github-actions[bot] avatar Nov 08 '20 00:11 github-actions[bot]