From 2dbca2cbd6ebad9aac033397716d5b5167d4ba38 Mon Sep 17 00:00:00 2001 From: Vincent Demeester Date: Tue, 30 Aug 2022 17:27:56 +0200 Subject: [PATCH] Add // #nosec :) Signed-off-by: Vincent Demeester --- pkg/apis/pipeline/paths.go | 1 + pkg/pod/creds_init.go | 1 + 2 files changed, 2 insertions(+) diff --git a/pkg/apis/pipeline/paths.go b/pkg/apis/pipeline/paths.go index 5a15b2014e1..5f568b0d8d1 100644 --- a/pkg/apis/pipeline/paths.go +++ b/pkg/apis/pipeline/paths.go @@ -25,6 +25,7 @@ const ( HomeDir = "/tekton/home" // CredsDir is the directory where credentials are placed to meet the legacy credentials // helpers image (aka "creds-init") contract + // #nosec CredsDir = "/tekton/creds" // StepsDir is the directory used for a step to store any metadata related to the step StepsDir = "/tekton/steps" diff --git a/pkg/pod/creds_init.go b/pkg/pod/creds_init.go index 117c805e7a9..393210c09ef 100644 --- a/pkg/pod/creds_init.go +++ b/pkg/pod/creds_init.go @@ -33,6 +33,7 @@ import ( ) const ( + // #nosec credsInitHomeMountPrefix = "tekton-creds-init-home" sshKnownHosts = "known_hosts" )