Skip to content

Commit

Permalink
chore: rename default secret label (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
fivenp authored Nov 14, 2023
1 parent 1f48caf commit 0a5b5ef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/client/tests/v3/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const (
var testSecretDefaultLabels = map[string]string{
"testkube": testkubeTestSecretLabel,
"testkubeSecretType": "variables",
"visibility": "testkube",
"createdBy": "testkube",
}

//go:generate mockgen -source=./test.go -destination=./mock_tests.go -package=tests "github.com/kubeshop/testkube-operator/pkg/client/tests/v3" Interface
Expand Down
2 changes: 1 addition & 1 deletion pkg/client/testsuites/v3/testsuites.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const (
var testsuiteSecretDefaultLabels = map[string]string{
"testkube": testkubeTestsuiteSecretLabel,
"testkubeSecretType": "variables",
"visibility": "testkube",
"createdBy": "testkube",
}

//go:generate mockgen -destination=./mock_testsuites.go -package=v3 "github.com/kubeshop/testkube-operator/pkg/client/testsuites/v3" Interface
Expand Down
2 changes: 1 addition & 1 deletion pkg/secret/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func NewSpec(id, namespace, label string, labels, stringData map[string]string)
ObjectMeta: metav1.ObjectMeta{
Name: id,
Namespace: namespace,
Labels: map[string]string{"testkube": label, "visibility": "testkube"},
Labels: map[string]string{"testkube": label, "createdBy": "testkube"},
},
Type: v1.SecretTypeOpaque,
StringData: stringData,
Expand Down

0 comments on commit 0a5b5ef

Please sign in to comment.