Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
rebase master
Browse files Browse the repository at this point in the history
Signed-off-by: Filipe Regadas <[email protected]>
  • Loading branch information
regadas committed Mar 18, 2021
1 parent 8650e24 commit b9f8f50
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pkg/controller/nodes/task/taskexec_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b9f8f50

Please sign in to comment.