Skip to content

Commit

Permalink
fix patch
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed Jan 24, 2024
1 parent e783ad3 commit 02296c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/arm64-arc-runner-set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,9 @@ jobs:
oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set
# bubblewrap (which is a sandbox tool used by melange) requires privileged docker containers.
# bubblewrap also requires setting seccompProfile to unconfined.
# issue reference: https://github.com/containers/bubblewrap/issues/505
kubectl patch autoscalingrunnerset arc-runner-set \
--namespace arc-runners \
--type json \
--patch '[{"op": "add", "path": "/spec/template/spec/containers/0/securityContext/privileged", "value": true}]'
--patch '[{"op": "add", "path": "/spec/template/spec/containers/0/securityContext", "value": {"privileged": true}}]'

0 comments on commit 02296c9

Please sign in to comment.