We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03eec53 commit 8a76dbdCopy full SHA for 8a76dbd
pkg/credentials/common/constants.go
@@ -2,6 +2,8 @@ package common
2
3
// Secret key constants used in credential files,
4
// so as to avoid reliance on corev1.Secret.
5
+//
6
+//nolint:gosec // for known Kubernetes secret-type constants, not real credentials
7
const (
8
BasicAuthUsernameKey = "username"
9
BasicAuthPasswordKey = "password"
pkg/credentials/gitcreds/creds.go
@@ -19,6 +19,7 @@ package gitcreds
19
import (
20
"flag"
21
"fmt"
22
+
23
"github.com/tektoncd/pipeline/pkg/credentials/common"
24
credmatcher "github.com/tektoncd/pipeline/pkg/credentials/matcher"
25
credwriter "github.com/tektoncd/pipeline/pkg/credentials/writer"
0 commit comments