{"action":"created","issue":{"url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/issues/96","repository_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak","labels_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/issues/96/comments","events_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/issues/96/events","html_url":"https://github.com/jboss-dockerfiles/keycloak/pull/96","id":279828073,"node_id":"MDExOlB1bGxSZXF1ZXN0MTU2NzgzMTM0","number":96,"title":"Added Kubernetes JGroups KUBE_PING support","user":{"login":"rayscunningham","id":4732295,"node_id":"MDQ6VXNlcjQ3MzIyOTU=","avatar_url":"https://avatars1.githubusercontent.com/u/4732295?v=4","gravatar_id":"","url":"https://api.github.com/users/rayscunningham","html_url":"https://github.com/rayscunningham","followers_url":"https://api.github.com/users/rayscunningham/followers","following_url":"https://api.github.com/users/rayscunningham/following{/other_user}","gists_url":"https://api.github.com/users/rayscunningham/gists{/gist_id}","starred_url":"https://api.github.com/users/rayscunningham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rayscunningham/subscriptions","organizations_url":"https://api.github.com/users/rayscunningham/orgs","repos_url":"https://api.github.com/users/rayscunningham/repos","events_url":"https://api.github.com/users/rayscunningham/events{/privacy}","received_events_url":"https://api.github.com/users/rayscunningham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":27,"created_at":"2017-12-06T16:54:11Z","updated_at":"2018-06-26T13:28:40Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/pulls/96","html_url":"https://github.com/jboss-dockerfiles/keycloak/pull/96","diff_url":"https://github.com/jboss-dockerfiles/keycloak/pull/96.diff","patch_url":"https://github.com/jboss-dockerfiles/keycloak/pull/96.patch"},"body":"Created 'server-kubernetes' subfolder with Dockerfile to build with all the JGroups KUBE_PING module dependencies for JGroups 3.   It uses the jboss cli to configure.  I was able to successfully deploy and run in Google Kubernetes Engine (GKE) backed by Postgres DB.  Please see the server-kubernetes/README.md for additional info. \r\n\r\nModified service/docker-entrypoint.sh for optionally enabling where 'JGROUPS_PROTOCOL=kubernetes'\r\n\r\nif [ $JGROUPS_PROTOCOL ]; then\r\n    echo \"[KEYCLOAK DOCKER IMAGE] Using JGroups $JGROUPS_PROTOCOL\"\r\n    /bin/sh /opt/jboss/keycloak/bin/change-jgroups.sh $JGROUPS_PROTOCOL\r\nfi\r\n\r\nThis has not been tested yet in any live Production environment.  I am leaving it to the community to help test this out further.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/issues/comments/400308347","html_url":"https://github.com/jboss-dockerfiles/keycloak/pull/96#issuecomment-400308347","issue_url":"https://api.github.com/repos/jboss-dockerfiles/keycloak/issues/96","id":400308347,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDMwODM0Nw==","user":{"login":"deitch","id":282526,"node_id":"MDQ6VXNlcjI4MjUyNg==","avatar_url":"https://avatars3.githubusercontent.com/u/282526?v=4","gravatar_id":"","url":"https://api.github.com/users/deitch","html_url":"https://github.com/deitch","followers_url":"https://api.github.com/users/deitch/followers","following_url":"https://api.github.com/users/deitch/following{/other_user}","gists_url":"https://api.github.com/users/deitch/gists{/gist_id}","starred_url":"https://api.github.com/users/deitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deitch/subscriptions","organizations_url":"https://api.github.com/users/deitch/orgs","repos_url":"https://api.github.com/users/deitch/repos","events_url":"https://api.github.com/users/deitch/events{/privacy}","received_events_url":"https://api.github.com/users/deitch/received_events","type":"User","site_admin":false},"created_at":"2018-06-26T13:28:40Z","updated_at":"2018-06-26T13:28:40Z","author_association":"NONE","body":"> we will need something to change the ping protocol itself for k8s. This seems like its best handled by a docker-entrypoint script (in a similar fashion this PR is attempting to do\r\n\r\nYep, @rhusar , an env var or command-line option is the \"standard\" containerized way of doing this, so makes sense to have something that consumes it.\r\n\r\n"}}
{"actor":{"display_login":"deitch"}}