From 999bae7cec41a51ba49da0b5d2e5d34c89a12cc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Va=C5=A1ek?= Date: Tue, 27 Aug 2024 16:47:33 +0200 Subject: [PATCH] fixup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Matej VaĊĦek --- pkg/pipelines/tekton/templates.go | 3 +++ pkg/pipelines/tekton/templates_pack.go | 3 +++ pkg/pipelines/tekton/templates_s2i.go | 3 +++ 3 files changed, 9 insertions(+) diff --git a/pkg/pipelines/tekton/templates.go b/pkg/pipelines/tekton/templates.go index d202f6e096..bbe4d0ce17 100644 --- a/pkg/pipelines/tekton/templates.go +++ b/pkg/pipelines/tekton/templates.go @@ -58,6 +58,9 @@ const ( value: git-clone - name: version value: "0.9" + podTemplate: + securityContext: + fsGroup: 65532 workspaces: - name: output workspace: source-workspace` diff --git a/pkg/pipelines/tekton/templates_pack.go b/pkg/pipelines/tekton/templates_pack.go index 88a2d76c40..fe62f3a931 100644 --- a/pkg/pipelines/tekton/templates_pack.go +++ b/pkg/pipelines/tekton/templates_pack.go @@ -103,6 +103,9 @@ metadata: {{end}} generateName: {{.PipelineRunName}} spec: + podTemplate: + securityContext: + fsGroup: 65532 params: - name: gitRepository value: {{.RepoUrl}} diff --git a/pkg/pipelines/tekton/templates_s2i.go b/pkg/pipelines/tekton/templates_s2i.go index b78fc47a90..dc06bf20e9 100644 --- a/pkg/pipelines/tekton/templates_s2i.go +++ b/pkg/pipelines/tekton/templates_s2i.go @@ -108,6 +108,9 @@ metadata: {{end}} generateName: {{.PipelineRunName}} spec: + podTemplate: + securityContext: + fsGroup: 65532 params: - name: gitRepository value: {{.RepoUrl}}