diff --git a/tasks/git-clone-checkout/task.yaml b/tasks/git-clone-checkout/task.yaml index a734891..d8ebbd6 100644 --- a/tasks/git-clone-checkout/task.yaml +++ b/tasks/git-clone-checkout/task.yaml @@ -1,4 +1,5 @@ --- + apiVersion: tekton.dev/v1 kind: Task metadata: @@ -145,15 +146,3 @@ spec: printf "%s" "${RESULT_SHA}" > "$(results.commit.path)" printf "%s" "${PARAM_URL}" > "$(results.url.path)" - podTemplate: - securityContext: - runAsNonRoot: true - seccompProfile: - type: RuntimeDefault - container: - securityContext: - allowPrivilegeEscalation: false - runAsNonRoot: true - capabilities: - drop: - - ALL \ No newline at end of file