v3.3.5
This is a minor release. It includes the following changes and also picks up the latest base image, which addresses some vulnerabilities.
- Flag
--sync-hook-command($GIT_SYNC_HOOK_COMMAND) is deprecated (but still works). Use--exechook-command($GIT_SYNC_EXECHOOK_COMMAND) instead (functionally identical). This adds flags--exechook-timeout($GIT_SYNC_EXECHOOK_TIMEOUT) and--exechook-backoff($GIT_SYNC_EXECHOOK_BACKOFF) to parallel webhooks. - Fix a bug that can mis-attribute callers in log-lines.
- Create git worktrees using the specific SHA rather than branch name. This allows to change branches with persistent volumes. Otherwise should be functionally identical.
- Add flag
password-file($GIT_SYNC_PASSWORD_FILE), which reads the password from a file and this is considered as safer than reading from env or flag directly.--passwordand--password-filecan't be specified at the same time.- If
--usernameis specified, then one of--passwordor--password-filemust be specified.
Available for all supported platforms at k8s.gcr.io/git-sync/git-sync:v3.3.5