Releases: kubernetes/git-sync
v3.1.7
- Add a metric for askpass calls
- Fix multi-arch builds, so they actually work
- Add
socatto the image so users can set up proxying - Better flag input checking
- Better logs and error messages
- Add
--submodulesflag with option to NOT recursively clone submodules
Available at k8s.gcr.io/git-sync/git-sync:v3.1.7
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Note the new image pull path includes a "sub-dir" which is different than previous releases!
v3.1.6
Fix bugs that would race on wait(), causing occasional errors or panics.
Fix bug with signals that come in and caused us to miss SIGCHLD.
Fix bugs which mixed stderr with stdout, causing problems with some git configurations that issue warnings.
Move to go 1.14
Available at k8s.gcr.io/git-sync:v3.1.6
v3.1.5
v3.1.4
-
Better logging of commands we run
-
Add
--askpass-urlflag to get username/password from a URL (e.g. http://metadata) -
Add
--add-userflag 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
--depthflag 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-bindto 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
--depthmore completely