Skip to content

Commit

Permalink
patch add
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed Jan 24, 2024
1 parent c121a63 commit e783ad3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/arm64-arc-runner-set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
schedule:
- cron: "0 17 * * 0" # 5pm UTC on Sundays
workflow_dispatch: {}
pull_request:

jobs:
create-controller:
Expand Down Expand Up @@ -68,5 +69,5 @@ jobs:
kubectl patch autoscalingrunnerset arc-runner-set \
--namespace arc-runners \
--type merge \
--patch '{"spec":{"template":{"spec":{"containers":[{"name":"runner","securityContext":{"privileged":true}}]}}}}'
--type json \
--patch '[{"op": "add", "path": "/spec/template/spec/containers/0/securityContext/privileged", "value": true}]'

0 comments on commit e783ad3

Please sign in to comment.