Releases: kubernetes/git-sync
v3.1.4
-
Better logging of commands we run
-
Add
--askpass-url
flag to get username/password from a URL (e.g. http://metadata) -
Add
--add-user
flag to tell git-sync to write the current UID/GID to /etc/passwd. This enables git-over-SSH as an arbitrary UID. -
Change git credential from cache to store.
Available at k8s.gcr.io/git-sync:v3.1.4
v3.1.3
-
Added submodules support. Repos which have submodules will have those submodules synced automatically. The
--depth
flag applies to submodules as well as the main repo. -
Send the git hash of the sync to webhooks in the "Gitsync-Hash" HTTP header.
-
Handle being run as pid 1 by catching SIGCHLD and forwarding other signals. This should eliminate zombie processes when running in docker containers or Kubernetes pods.
-
Build with Go 1.13
Available at k8s.gcr.io/git-sync:v3.1.3
v3.1.2
v3.1.1
v3.1.0
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