summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/library/oc_serviceaccount_secret.py
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2017-02-13 17:10:02 -0500
committerJason DeTiberus <jdetiber@redhat.com>2017-02-13 17:10:02 -0500
commit51f8852ed1f18ded531eca7ac14743e3f6fe534b (patch)
tree60151ea76281ceba50b158546b4849012e198c01 /roles/lib_openshift/library/oc_serviceaccount_secret.py
parent9c09ffbd4b1c2dc9593c6fb1f312172c538f2bec (diff)
downloadopenshift-51f8852ed1f18ded531eca7ac14743e3f6fe534b.tar.gz
openshift-51f8852ed1f18ded531eca7ac14743e3f6fe534b.tar.bz2
openshift-51f8852ed1f18ded531eca7ac14743e3f6fe534b.tar.xz
openshift-51f8852ed1f18ded531eca7ac14743e3f6fe534b.zip
Fix cases where child classes override OpenShiftCLI values
Diffstat (limited to 'roles/lib_openshift/library/oc_serviceaccount_secret.py')
-rw-r--r--roles/lib_openshift/library/oc_serviceaccount_secret.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/lib_openshift/library/oc_serviceaccount_secret.py b/roles/lib_openshift/library/oc_serviceaccount_secret.py
index e22ccbfc2..ef10162c2 100644
--- a/roles/lib_openshift/library/oc_serviceaccount_secret.py
+++ b/roles/lib_openshift/library/oc_serviceaccount_secret.py
@@ -1391,7 +1391,7 @@ class OCServiceAccountSecret(OpenShiftCLI):
kind = 'sa'
def __init__(self, config, verbose=False):
''' Constructor for OpenshiftOC '''
- super(OCServiceAccountSecret, self).__init__(config.namespace, config.kubeconfig)
+ super(OCServiceAccountSecret, self).__init__(config.namespace, kubeconfig=config.kubeconfig, verbose=verbose)
self.config = config
self.verbose = verbose
self._service_account = None