This release includes several noteworthy changes:
-
Explicitly set
GIT_SYNC_ROOT=/tmp/git
in the container image so it is easier to use as non-root with a volume. -
Update Go to 1.15 and debian-base image to buster-v1.4.0
-
Add a
--git-config
flag for arbitrary git settings (45bba18 for more info) -
Use a newer git version (from debian backports)
-
Change the symlink target to just the SHA. This allows users to call readlink() on the link and learn the current checked out SHA.
-
Fix cases of exit(0) when errors occurred and running as pid1 inside a container.
-
Copy all license files for all deps into the container image at
/LICENSES/
-
Move the exec-hook to AFTER the symlink flip.
-
Add a a
--error-file
flag to export runtime errors. This is useful to be able to inspect the status when running as a sidecar container. (8ea4492)
Available for all supported platforms at k8s.gcr.io/git-sync/git-sync:v3.3.0