aboutsummaryrefslogtreecommitdiffstats
path: root/kud/tests/plugin_fw_v2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'kud/tests/plugin_fw_v2.sh')
-rwxr-xr-xkud/tests/plugin_fw_v2.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/kud/tests/plugin_fw_v2.sh b/kud/tests/plugin_fw_v2.sh
index f19e0f90..6c8d8424 100755
--- a/kud/tests/plugin_fw_v2.sh
+++ b/kud/tests/plugin_fw_v2.sh
@@ -56,8 +56,7 @@ while [[ $# -gt 0 ]]; do
case $arg in
"--external" )
- service_host=$(kubectl cluster-info | grep "Kubernetes master" | \
- awk -F ":" '{print $2}' | awk -F "//" '{print $2}')
+ service_host=$(control_plane_ip)
shift
;;
* )