mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-27 15:57:09 +00:00
tests: pass --overwrite-existing to aks get-credentials
By passing --overwrite-existing to `aks get-credentials` it will stop asking if I want to overwrite the existing credentials. This is handy for running the scripts locally. Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
This commit is contained in:
parent
3508f3a43a
commit
4f74617897
@ -146,6 +146,7 @@ function get_cluster_credentials() {
|
|||||||
test_type="${1:-k8s}"
|
test_type="${1:-k8s}"
|
||||||
|
|
||||||
az aks get-credentials \
|
az aks get-credentials \
|
||||||
|
--overwrite-existing \
|
||||||
-g "$(_print_rg_name ${test_type})" \
|
-g "$(_print_rg_name ${test_type})" \
|
||||||
-n "$(_print_cluster_name ${test_type})"
|
-n "$(_print_cluster_name ${test_type})"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user