Is this a request for help?: yes
Is this a BUG REPORT or FEATURE REQUEST? (choose one): bug-report
Version of Helm and Kubernetes: 2.12.1, 1.10.x
Which chart: keycloak 4.0.8
What happened:
installed with following values:
keycloak:
password: "my-secret"
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: internal
ingress.kubernetes.io/affinity: cookie
hosts:
- keycloak.me.com
tls:
- hosts:
- keycloak.me.com

What you expected to happen:
expect to be able to login with user = keycloak and password = my-secret
How to reproduce it (as minimally and precisely as possible):
helm install with above values
Anything else we need to know:
Confirmed
Same error on our own
Chart version: 4.0.8
Same issue
Chart version: 4.0.8
same issue
chart version: 4.3.0
work around:
kubectl port-forward svc/keycloak-http 8080:80 -n {my-ns}
then hit localhost:8080 and punch in your initial admin user...
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.
This issue is being automatically closed due to inactivity.
Same error.
I'm going to try to fix it.
I am also hitting same issue with stable version. Is keycloak helm chart can be configured to create initial user ?
@okgolove, you have any suggestions ?
there is always this as a work around
@shiva075gowda hi! Haven't any time to work on this. As far as I remember enabling PVC has resolved the problem.
If I have any news I will write about.
BTW, keycloak chart is deprecated and moved here https://github.com/codecentric/helm-charts
Goto .../keycloak/services/src/main/java/org/keycloak/services/resources/WelcomeResource.java this file and find isLocal() method set the return value as true.
When you trying to login with new DB even you are hosted, It will redirect to Admin user registration page.
I tried with docker.
Goto
.../keycloak/services/src/main/java/org/keycloak/services/resources/WelcomeResource.javathis file and find isLocal() method set the return value as true.When you trying to login with new DB even you are hosted, It will redirect to Admin user registration page.
I tried with docker.
did you install keycloak application?
docker run -p "8080:8080" -e KEYCLOAK_USER=admin -e KEYCLOAL_PASSWORD=pass jboss/keycloak
this command also giving same error
docker run -p "8080:8080" -e KEYCLOAK_USER=admin -e KEYCLOAL_PASSWORD=pass jboss/keycloak
You have typo in your command (KEYCLOAL). KEYCLOAK_PASSWORD solved the problem for me
Goto
.../keycloak/services/src/main/java/org/keycloak/services/resources/WelcomeResource.javathis file and find isLocal() method set the return value as true.
When you trying to login with new DB even you are hosted, It will redirect to Admin user registration page.
I tried with docker.did you install keycloak application?
docker run -p "8080:8080" -e KEYCLOAK_USER=admin -e KEYCLOAL_PASSWORD=pass jboss/keycloak
this command also giving same error
There is typo error in the above command. Please use the below command,
docker run -p "8080:8080" -e KEYCLOAK_USER=admin -e KEYCLOAK
_PASSWORD=pass jboss/keycloak
it is done. my mistake, thanks for response
Most helpful comment
You have typo in your command (KEYCLOAL). KEYCLOAK_PASSWORD solved the problem for me