X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=n2vc%2Fk8s_helm3_conn.py;h=7d6916821ab64b8fc0e2e29f600939f9fb964efc;hp=6afadbf042d65215403817381bee847d5d3238fe;hb=refs%2Fchanges%2F16%2F10616%2F9;hpb=c4da25cc55411e6cea1e83d29c206bce421f0728;ds=sidebyside diff --git a/n2vc/k8s_helm3_conn.py b/n2vc/k8s_helm3_conn.py index 6afadbf..7d69168 100644 --- a/n2vc/k8s_helm3_conn.py +++ b/n2vc/k8s_helm3_conn.py @@ -78,7 +78,25 @@ class K8sHelm3Connector(K8sHelmBaseConnector): db_dict: dict = None, kdu_name: str = None, namespace: str = None, + **kwargs, ): + """Install a helm chart + + :param cluster_uuid str: The UUID of the cluster to install to + :param kdu_model str: The name or path of a bundle to install + :param kdu_instance: Kdu instance name + :param atomic bool: If set, waits until the model is active and resets + the cluster on failure. + :param timeout int: The time, in seconds, to wait for the install + to finish + :param params dict: Key-value pairs of instantiation parameters + :param kdu_name: Name of the KDU instance to be installed + :param namespace: K8s namespace to use for the KDU instance + + :param kwargs: Additional parameters (None yet) + + :return: True if successful + """ _, cluster_id = self._get_namespace_cluster_id(cluster_uuid) self.log.debug("installing {} in cluster {}".format(kdu_model, cluster_id))