Available as k8s.gcr.io/git-sync:v3.1.0
- Support a timeout flag for sync operations (
--timeout
, default 120 seconds) - Support calling a webhook on each sync (
--webhook-*
, default disabled) - Make SSH key file and known-hosts file flags (
--ssh-key-file
,--ssh-known-hosts-file
) - Allow unlimited failures-and-retries (
max-sync-failures=-1
, default is still 0) - Add an optional HTTP server (set
--http-bind
to enable, default disabled) - Add a liveness-probe compatible HTTP endpoint at / (if HTTP enabled)
- Add prometheus metrics (
--http-metrics
, depends on HTTP enabled, default on) - Add pprof endpoint (
--http-pprof
, depends on HTTP enabled, default off) - Respect
--depth
more completely