-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update README.md #239
Update README.md #239
Conversation
Signed-off-by: Florian Knip <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This likely relates to the container image that is used. So I do not think you can change it just like that without providing some more details.
It's dependent on the keycloak image, or image version. Wouldn't it make most sense -or at least be more intuitive - to have the path to the script similar to where it's located on the container instance that comes with what ever image is used here:
..to serve consistency with rest of the example? That was my assumption here in this case. docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
17512408edb1 quay.io/keycloak/keycloak:23.0.5 "/opt/keycloak/bin/k…" 14 hours ago Up 14 hours 0.0.0.0:8080->8080/tcp, 0.0.0.0:8443->8443/tcp docker-keycloak-1 docker exec -ti docker-keycloak-1 /bin/sh
ls /opt/keycloak/bin/
client federation-sssd-setup.sh kcadm.bat kcadm.sh kc.bat kcreg.bat kcreg.sh kc.sh |
If that is the path in the images used in the examples then yes, that would make sense. But you have to properly explain it so that others understand it and not just change the path without any proper explanation here or in the issue. |
The proposed fix looks good. When Keycloak container version was bumped last time (from pre-quarkus version of Keycloak) this line should have been adjusted as well. A deeper question for @flo-kn - Do you find value in this README.md file? It seems to me to unnecessarily rely on Keycloak command line client in order to demonstrate how Keycloak generates different Payload section of JWT token using the predefine realm (clients and users already configured) and depending on the client / user used.
|
To your question @mstruk Generally, I think it is good to have some lines in the README.md explaining how to verify functionality of the installation or in this case parts of the installation. If it's If you'd ask me for a suggestion to improve the readme a bit: In this case, I think setting another heading would be beneficial to give it more structure so that user knows in advance what next lines will be about: ## Verify Keycloak Functionality
Before we start with the demos the let's check first that keycloak is working correctly.
To do that connect to 'keycloak' contai.... E.g. around this area would be a suitable place: strimzi-kafka-oauth/examples/README.md Line 20 in 229daee
|
@scholzj Just updated the issue description. Hope, it's ok like that. IMO adding more to the guide other then the correct directory does not bring any benefit. Lemme know what you think. |
Discussed on the community call: @mstruk will take the ideas and use them as improvements to the README files. This PR should be closed. |
suggestion to fix path to sh script
closes #238