param(
  [string]$ClusterName = "dsys",
  [string]$KindConfigPath = ".\kubernetes\kind-config.yaml",
  [string]$ApiImage = "search-first-dis-storage:latest",
  [switch]$SkipBuildApiImage,
  [switch]$RecreateCluster,
  [int]$WaitTimeoutSeconds = 600
)

$scriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
$deployClusterScript = Join-Path $scriptDir "deploy-cluster.ps1"

& $deployClusterScript `
  -ClusterName $ClusterName `
  -KindConfigPath $KindConfigPath `
  -ApiImage $ApiImage `
  -SkipBuildApiImage:$SkipBuildApiImage `
  -RecreateCluster:$RecreateCluster `
  -WaitTimeoutSeconds $WaitTimeoutSeconds

