Skip to content

Commit

Permalink
Move nosec comments inline
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Frittoli <andrea.frittoli@uk.ibm.com>
  • Loading branch information
afrittoli authored and tekton-robot committed Sep 9, 2022
1 parent edbca30 commit c1225d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions pkg/apis/pipeline/paths.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +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"
CredsDir = "/tekton/creds" // #nosec
// StepsDir is the directory used for a step to store any metadata related to the step
StepsDir = "/tekton/steps"
)
3 changes: 1 addition & 2 deletions pkg/pod/creds_init.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ import (
)

const (
// #nosec
credsInitHomeMountPrefix = "tekton-creds-init-home"
credsInitHomeMountPrefix = "tekton-creds-init-home" // #nosec
sshKnownHosts = "known_hosts"
)

Expand Down

0 comments on commit c1225d9

Please sign in to comment.