executor: drop --address=127.0.0.1 from kubectl

The kubectl we use is actually OpenShift and the version we're
using does not include support for the `--address` option.

However, based on testing, by default, 127.0.0.1 is the address
it listens on so we can drop that parameter for now.

Change-Id: Ic0f056078ec40189d16350f7ea6529e8c5f9f685
This commit is contained in:
Mohammed Naser 2020-03-26 16:47:58 -04:00
parent 4eb1212b9d
commit d799987bba
1 changed files with 0 additions and 1 deletions

View File

@ -343,7 +343,6 @@ class KubeFwd(object):
'--context=%s' % self.context,
'-n', self.namespace,
'port-forward',
'--address', '127.0.0.1',
'pod/%s' % self.pod, ':19885'],
close_fds=True,
stdout=subprocess.PIPE,