You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot change git branch that dodal is pointing to in P51 k8s container #1363
While I think this was related to running as p51detector, would a temporary workaround be to pass the config option inline in the git command (so the /.gitconfig file doesn't need to be edited)?
I think this may relate to securityContext not being propagated to the init container. Right now I don't think we can deterministically set / guess what user the init container will run at, and I have a feeling that this will cause permission errors when editing things the init container may have created (such as dependencies in the scratch area).
I made and closed a PR here but will make a proper ticket for it.
As discussed with @subughimire420 via Slack, the best approach right now is to have the main container run as UID 1000.
Activity
tpoliaw commentedon Jan 30, 2026
While I think this was related to running as
p51detector, would a temporary workaround be to pass the config option inline in the git command (so the/.gitconfigfile doesn't need to be edited)?subughimire420 commentedon Jan 30, 2026
This bypassed the "dubious ownership" safety check but did not fix permission issues. As such could not pull & checkout to my dodal branch.
dan-fernandes commentedon Feb 2, 2026
I think this may relate to
securityContextnot being propagated to the init container. Right now I don't think we can deterministically set / guess what user the init container will run at, and I have a feeling that this will cause permission errors when editing things the init container may have created (such as dependencies in the scratch area).I made and closed a PR here but will make a proper ticket for it.
As discussed with @subughimire420 via Slack, the best approach right now is to have the main container run as UID 1000.
abbiemery commentedon Feb 26, 2026
@subughimire420, @dan-fernandes did running as UID 1000 fix this? Is there anything left to be done on blueapi's side?
subughimire420 commentedon Feb 26, 2026
Running as UID 1000 fixed the issue, thanks.