From b9f8f50b5521bcea951d451e55f929f79c9b0dad Mon Sep 17 00:00:00 2001 From: Filipe Regadas Date: Thu, 18 Mar 2021 21:45:18 +0000 Subject: [PATCH] rebase master Signed-off-by: Filipe Regadas --- pkg/controller/nodes/task/taskexec_context.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pkg/controller/nodes/task/taskexec_context.go b/pkg/controller/nodes/task/taskexec_context.go index 4495c1e24..39a60e0c8 100644 --- a/pkg/controller/nodes/task/taskexec_context.go +++ b/pkg/controller/nodes/task/taskexec_context.go @@ -64,14 +64,6 @@ func (t taskExecutionMetadata) GetMaxAttempts() uint32 { return t.maxAttempts } -func (t taskExecutionMetadata) GetSecurityContext() core.SecurityContext { - return core.SecurityContext{ - RunAs: &core.Identity{ - K8SServiceAccount: t.GetK8sServiceAccount(), - }, - } -} - type taskExecutionContext struct { handler.NodeExecutionContext tm taskExecutionMetadata