Skip to content

Commit

Permalink
added --runtime-config flag
Browse files Browse the repository at this point in the history
Signed-off-by: Namanl2001 <namanlakhwani@gmail.com>
  • Loading branch information
Namanl2001 committed Nov 15, 2021
1 parent 477bd63 commit 4c89617
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/testers/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ type Tester struct {
ImageConfigDir string `desc:"Path to image config files."`
Parallelism int `desc:"The number of nodes to run in parallel."`
GcpProjectType string `desc:"Explicitly indicate which project type to select from boskos."`
RuntimeConfig string `desc:"The runtime configuration for the API server. Format: a list of key=value pairs."`

// boskos struct field will be non-nil when the deployer is
// using boskos to acquire a GCP project
Expand Down Expand Up @@ -242,6 +243,7 @@ func (t *Tester) constructArgs() []string {
"IMAGE_CONFIG_DIR=" + t.ImageConfigDir,
"SSH_USER=" + t.sshUser,
"SSH_KEY=" + t.privateKey,
"RUNTIME_CONFIG=" + t.RuntimeConfig,
}
return append(defaultArgs, argsFromFlags...)
}
Expand Down

0 comments on commit 4c89617

Please sign in to comment.