You can build a gear using this cartridge with the following command:
rhc app create keycloak http://cartreflect-claytondev.rhcloud.com/github/keycloak/openshift-keycloak-cartridge
It will take a few minutes to build, so be patient.
https://github.com/developercorey/openshift-wildfly-cartridge
To update the version of Keycloak in the cartridge follow these steps:
- Extract Keycloak dist
- Edit
standalone/deployments/auth-server.war/WEB-INF/web.xmlin extracted Keycloak dist and uncomment thesecurity-constraintelement that enables theconfidential transport-guarantee - Replace
versions/1/modules/basewithmodules/basefrom the extracted Keycloak dist - Replace
versions/1/standalone/deploymentswithstandalone/deploymentsfrom extracted Keycloak dist - Replace
versions/1/standalone/configuration/themeswithstandalone/configuration/themesfrom extracted Keycloak dist - Replace
versions/1/standalone/configuration/keycloak-sever.jsonwithstandalone/configuration/keycloak-sever.jsonfrom extracted Keycloak dist
To update WildFly version pull in changes from https://github.com/developercorey/openshift-wildfly-cartridge