- # elif "file" == profile and result.hasattr("profile"):
- # p = result.pop("profile", None)
- # result["profile"] = _gen_kube_config(deploymentManagerId, p)
+ elif "sol018_helmcli" == profile:
+ result['deploymentManagementServiceEndpoint'] = \
+ profile_data['cluster_api_endpoint']
+
+ helmcli_profile = dict()
+ helmcli_profile["helmcli_host_with_port"], helmcli_profile[
+ "helmcli_username"], helmcli_profile["helmcli_password"] = \
+ config.get_helmcli_access()
+ helmcli_profile["helmcli_kubeconfig"] = _gen_kube_config(
+ deploymentManagerId, profile_data)
+ result['profileData'] = helmcli_profile
+ else:
+ return None