Skip to content

Commit 0e3769c

Browse files
committed
chore: temporarily pass secret store as envvars for testing
1 parent ca95871 commit 0e3769c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/k6runner/local.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ func (r Local) Run(ctx context.Context, script Script) (*RunResponse, error) {
100100
// Add secretStore configuration if available
101101
if script.SecretStore.Url != "" && script.SecretStore.Token != "" {
102102
if script.SecretStore.Url != "" {
103-
args = append(args, "--secret-store-url", script.SecretStore.Url)
103+
args = append(args, "--env", "SECRET_STORE_URL="+script.SecretStore.Url)
104104
}
105105
if script.SecretStore.Token != "" {
106-
args = append(args, "--secret-store-token", script.SecretStore.Token)
106+
args = append(args, "--env", "SECRET_STORE_TOKEN="+script.SecretStore.Token)
107107
}
108108
}
109109

0 commit comments

Comments
 (0)