From 02296c955b826432d288c613b629d345e5d1dc4a Mon Sep 17 00:00:00 2001 From: Salah Al Saleh Date: Wed, 24 Jan 2024 19:44:03 +0000 Subject: [PATCH] fix patch --- .github/workflows/arm64-arc-runner-set.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/arm64-arc-runner-set.yaml b/.github/workflows/arm64-arc-runner-set.yaml index f996802171..f6128334a2 100644 --- a/.github/workflows/arm64-arc-runner-set.yaml +++ b/.github/workflows/arm64-arc-runner-set.yaml @@ -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}}]'