Repository navigation
Don't set safe.dir=* in main app - #993
Merged
Merged
Conversation
Contributor
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: thockin The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
thockin
force-pushed
the
dont_use_safe.dir_star
branch
2 times, most recently
from
June 29, 2026 18:27
036ea17 to
742869b
Compare
Instead, set it in tests. This requires a new flag `--add-git-config` which is like `--git-config` but uses repeated calls to the flag instead of a comma-separated value.
thockin
force-pushed
the
dont_use_safe.dir_star
branch
from
July 16, 2026 21:29
742869b to
8d2b637
Compare
vember31
added a commit
to vember31/home-ops
that referenced
this pull request
Oct 24, 2026
git-sync v4.8.0 stopped setting safe.directory=* (kubernetes/git-sync#993), so the jbops sidecar crashes with 'detected dubious ownership in repository at /add-ons'. Pass the replacement --git-config-add flag to restore it.
1 task
DavidIlie
added a commit
to DavidIlie/home-cluster
that referenced
this pull request
Oct 24, 2026
git-sync 4.8.0 no longer sets safe.directory=* (kubernetes/git-sync#993). The /subcleaner emptyDir is root-owned while git-sync runs as 1000, so git refuses it as dubious ownership and the sidecar crash-loops. Trust that one directory. Co-authored-by: Claude <noreply@anthropic.com>
will-white
added a commit
to will-white/home-k8s-cluster
that referenced
this pull request
Oct 25, 2026
git-sync v4.8.0 stopped setting safe.directory=* (kubernetes/git-sync#993). The add-ons emptyDir is root-owned (group via fsGroup), so the subcleaner sidecar aborted with 'detected dubious ownership' and crashlooped, taking the bazarr pod out of Ready. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
s0len
added a commit
to s0len/solen-ops
that referenced
this pull request
Oct 25, 2026
git-sync v4.8.0 stopped setting safe.directory=* (kubernetes/git-sync#993). The subcleaner sidecar's GITSYNC_ROOT is an emptyDir owned by root while git-sync runs as 568, so git rejected /add-ons with "detected dubious ownership" and the sidecar crash-looped, failing the HelmRelease upgrade. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Instead, set it in tests. This requires a new flag
--add-git-configwhich is like--git-configbut uses repeated calls to the flag instead of a comma-separated value.Also puts
/usr/lib/git-core/git-sh-i18n--envsubstback into the image since it shows up in error logs.