jhipster / generator-jhipster

JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures.
https://www.jhipster.tech
Apache License 2.0
21.48k stars 4.02k forks source link

jhipster kubernetes doesn't generate keycloak yaml #8143

Closed dkirrane closed 1 year ago

dkirrane commented 6 years ago
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)
app@0.0.0 /home/jhipster/app
`-- generator-jhipster@5.2.1
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

jdubois commented 6 years ago

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

dkirrane commented 6 years ago

jhipster info updated

atomfrede commented 5 years ago

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 commented 5 years ago

@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.

jdubois commented 5 years ago

@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

st4rtx commented 5 years ago

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

atomfrede commented 5 years ago

@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.

st4rtx commented 5 years ago

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

pascalgrimaud commented 5 years ago

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

saturnism commented 4 years ago

ran into this issue w/ @mraible yesterday 😄

mraible commented 3 years ago

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

github-actions[bot] commented 3 years ago

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