def __init__(self, name, obj_type, config=None): K8sObject.__init__(self, config=config, obj_type=obj_type, name=name)
def __init__(self, config=None, name=None): K8sObject.__init__(self, config=config, obj_type='Service', name=name) self.model = Service(name=name, namespace=self.config.namespace)
def __init__(self, config=None, name=None): K8sObject.__init__(self, config=config, obj_type='Secret', name=name) self.model = Secret(name=name, namespace=self.config.get_namespace())