def __init__(self, name, obj_type, config=None):
     K8sObject.__init__(self, config=config, obj_type=obj_type, name=name)
Example #2
0
 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)
Example #3
0
 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())