From 2f42e643110a5cd977f5447941b7ef65052d0baa Mon Sep 17 00:00:00 2001 From: tkdchen Date: Mon, 1 Apr 2024 17:15:02 +0800 Subject: [PATCH] Give write permission to e2e-tests task (#883) STONEBLD-1832 Pull secret is required to be available for the e2e tests in order to fetch image data from registry.redhat.io. The task needs the capability in order to write the registry authentication credential into auth file. Signed-off-by: Chenxiong Qi --- .tekton/tasks/e2e-test.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.tekton/tasks/e2e-test.yaml b/.tekton/tasks/e2e-test.yaml index c514c7a3dd..c121764ed8 100644 --- a/.tekton/tasks/e2e-test.yaml +++ b/.tekton/tasks/e2e-test.yaml @@ -27,7 +27,9 @@ spec: "--ginkgo.timeout=2h" ] securityContext: - runAsUser: 1000 + capabilities: + add: + - SETFCAP env: - name: APP_SUFFIX value: "$(params.app_suffix)"