Skip to content

Releases: kubernetes/git-sync

v3.1.4

08 Jan 00:09
2eb8bf2
Compare
Choose a tag to compare
  • 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

25 Nov 23:38
cbad455
Compare
Choose a tag to compare
  • 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

26 Jul 21:16
1bbe7d3
Compare
Choose a tag to compare

Available as k8s.gcr.io/git-sync:v3.1.2

Update base image to k8s.gcr.io/debian-base:1.0.0

v3.1.1

14 Feb 16:15
7bb3262
Compare
Choose a tag to compare

Available as k8s.gcr.io/git-sync:v3.1.1

Fix SSH support and add a working example.

v3.1.0

25 Jan 18:50
3286e39
Compare
Choose a tag to compare

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

v3.0.1

26 Nov 23:56
Compare
Choose a tag to compare

Available as k8s.gcr.io/git-sync:v3.0.1.

  • Add --cookie-file option to specify a git http cookie

  • Better support for running as non-root

  • Clean up failed clones in case of crashes

  • Use rev-parse instead of rev-list, to better support non-annotated tags

v2.0.6

07 Feb 05:30
af91ea2
Compare
Choose a tag to compare

Several minor fixes, rolled up.

  • Don't set GIT_SYNC_DEST in Dockerfile.

  • Flip the known_hosts enforcement to true so the git hosts actually get verified.

  • Update to golang-1.9

  • Fix one-shot sync of a rev

v2.0.5

30 May 04:53
Compare
Choose a tag to compare
Merge pull request #58 from pieterlange/fix/check-hostkeys

Use secure defaults (check hostkeys)

v2.0.4

04 Jan 01:55
Compare
Choose a tag to compare

Remove chmod command since we can specify permissions for Secret Volumes

Available as a Docker image at gcr.io/google_containers/git-sync-amd64:v2.0.4

v2.0.3

02 Nov 06:15
Compare
Choose a tag to compare

Fix non-master branches and tags