ClusterLabs / fence-agents

Fence agents
104 stars 160 forks source link

fence_kubevirt: take default namespace from context #464

Closed dankenigsberg closed 2 years ago

dankenigsberg commented 2 years ago

If --namespace is not provided to kubectl, a default one is taken from kubeconfig context. Let fence_kubevirt behave similarly.

Signed-off-by: Dan Kenigsberg danken@redhat.com

knet-ci-bot commented 2 years ago

Can one of the admins verify this patch?

dankenigsberg commented 2 years ago

/cc @nirarg @oalbrigt

oalbrigt commented 2 years ago

ok to test

oalbrigt commented 2 years ago

Can you run make xml-upload and attach the updated metadata to the commit?

oalbrigt commented 2 years ago

Thanks.