Skip to content

Commit

Permalink
fix: don't store sensitive values
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io>
  • Loading branch information
vsukhin committed Feb 11, 2025
1 parent bd8a06f commit 6af47d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/testworkflows/testworkflowexecutor/prepared.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ func (e *IntermediateExecution) RewriteSensitiveDataCall(handler func(name strin
func (e *IntermediateExecution) StoreConfig(config map[string]string) *IntermediateExecution {
params := make(map[string]testkube.TestWorkflowExecutionConfigValue)
for k, v := range config {
if _, ok := e.cr.Spec.Config[k]; ok {
if s, ok := e.cr.Spec.Config[k]; ok && !s.Sensitive {
params[k] = testkube.TestWorkflowExecutionConfigValue{Value: v}
}
}
Expand Down

0 comments on commit 6af47d9

Please sign in to comment.