MQTT event listener to sync ssh keys between keycloak and gerrit

Clone this repo:
  1. db83330 Fix Gerrit user lookup; Add support for Keycloak URLs with Quarkus by Matthieu Huin · 5 months ago master 0.0.4
  2. ee7494f Run gerrit update in a goroutine, add MQTT authentication by Matthieu Huin · 6 months ago 0.0.3
  3. f7a1d3e Add -check flag by Matthieu Huin · 6 months ago 0.0.2
  4. 1dd0cac Add proper logging by Matthieu Huin · 6 months ago 0.0.1
  5. 9ee61de Add Gerrit logic by Matthieu Huin · 6 months ago

Github SSH key updater

This service listens on keycloak's MQTT stream for github login events on gerrit. It updates a user's SSH key on gerrit if needed.

Usage

build container

podman build --file Dockerfile --tag gsku

run container

podman run -v /path/to/config_file:/etc/github-ssh-key-updater:Z gsku

Testing

go test ./...