The pod doesn't have securityContext when it create by workflow_call #3505
Labels
bug
Something isn't working
gha-runner-scale-set
Related to the gha-runner-scale-set mode
needs triage
Requires review from the maintainers
Checks
Controller Version
0.9.1
Deployment Method
Helm
Checks
To Reproduce
1.Deploy arc and arc-runner-set by helm, the arc-runner-set's value like this
Describe the bug
when running my workflow, I got error:
Error: EACCES: permission denied, open '/__w/_temp/_runner_file_commands/set_env_6fe63793-a7e7-41c6-8549-b41736783cc5'
watch my k8s pod, I found when running workflow, double pods will be created, it is
runner-name-wp8ht-runner-b22sr
andrunner-name-wp8ht-runner-b22sr-workflow
And I check these double pods, I found the
runner-name-wp8ht-runner-b22sr
has.spec.securityContext.fsGroup: 123
, I think this configure from my helm values.yaml, it is good, but therunner-name-wp8ht-runner-b22sr-workflow
doesn't have this, it's.spec.securityContext: {}
, I think this is why I gotpermission denied
errorDescribe the expected behavior
the
runner-name-wp8ht-runner-b22sr-workflow
has correct securityContextAdditional Context
Controller Logs
Runner Pod Logs
The text was updated successfully, but these errors were encountered: