mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Merge pull request #93023 from krzysied/adapter_apply
Using kubectl apply to create metric adapter
This commit is contained in:
commit
131f42d263
@ -265,7 +265,7 @@ func CreateAdapter(adapterDeploymentFile string) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
stat, err := framework.RunKubectl("", "create", "-f", adapterURL)
|
||||
stat, err := framework.RunKubectl("", "apply", "-f", adapterURL)
|
||||
framework.Logf(stat)
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user