Description of problem: In automation for ocp 3.6 reference architecture, the tmplate needs to auto configure sso as the identity provider. As part of that a client must be automatically added. kcreg.sh executed within the container provides that functionality. kcreg.sh uses keycloak-client-registration-cli-2.5.7.Final-redhat-2.jar, which is not in the docker container. It is in the full sso71 tar ball. Version-Release number of selected component (if applicable): sso 71 template on ocp 3.6 How reproducible: Steps to Reproduce: 1.Use https://github.com/glennswest/createsso.git script is create_login.sh which auto creates a sso71 container on ocp 3.6 2. run create_login.sh 3. ocp rsh {podname} 4. /opt/eap/bin/kcreg.sh Actual results: sh-4.2$ ./kcreg.sh Picked up JAVA_TOOL_OPTIONS: -Duser.home=/home/jboss -Duser.name=jboss Error: Could not find or load main class org.keycloak.client.registration.cli.KcRegMain sh-4.2$ Expected results: kcreg runs, and prints header Additional info:
this is signifcant major functionality that is missing in the openshift image guys. It burens a burned a huge amount of my time, and forced me to write signficant code that was totally un-needed with this functioanltiy. Its a missing package in the container. Doc actually specifically mentions using this vs using the rest api. Yet the container does not have the tool. This makes automations really difficult and documentation misleading at best.
As this is not an openshift issue and the owning team tracks issues via JIRA, I am closing this bug.