Merge "Fix function helm index"
diff --git a/src/com/mirantis/mk/Helm.groovy b/src/com/mirantis/mk/Helm.groovy
index c3b23fb..899bc36 100644
--- a/src/com/mirantis/mk/Helm.groovy
+++ b/src/com/mirantis/mk/Helm.groovy
@@ -8,8 +8,10 @@
 
 /**
  * Build index file for helm chart
+ * @param extra_params   additional params, e.g. --url repository_URL
+ * @param charts_dir     path to a directory
  */
 
-def helmIndex(){
-    sh("helm index")
-}
\ No newline at end of file
+def helmRepoIndex(extra_params='', charts_dir='.'){
+    sh("helm repo index ${extra_params} ${charts_dir}")
+}