diff --git a/README.md b/README.md index bbfc403..bc442f1 100644 --- a/README.md +++ b/README.md @@ -42,9 +42,11 @@ To uninstall, run: helm plugin uninstall dashboard ``` +Note: In case standard Helm plugin way did not work for you, you can just download the appropriate [release package](https://github.com/komodorio/helm-dashboard/releases) for your platform, unpack it and just run `dashboard` binary from it. + ## Running -To use the plugin, your machine needs to have working `helm` and also `kubectl` commands. +To use the plugin, your machine needs to have working `helm` and also `kubectl` commands. Helm version 3.4.0+ is required. After installing, start the UI by running: diff --git a/pkg/dashboard/static/actions.js b/pkg/dashboard/static/actions.js index 8f79465..e58a7ae 100644 --- a/pkg/dashboard/static/actions.js +++ b/pkg/dashboard/static/actions.js @@ -112,7 +112,8 @@ $("#upgradeModal .btn-confirm").click(function () { }).done(function (data) { if (data.version) { setHashParam("section", null) - setHashParam("namespace", $("#upgradeModal .rel-ns").val()) + const ns = $("#upgradeModal .rel-ns").val(); + setHashParam("namespace", ns ? ns : "default") setHashParam("chart", $("#upgradeModal .rel-name").val()) setHashParam("revision", data.version) window.location.reload() diff --git a/pkg/dashboard/static/index.html b/pkg/dashboard/static/index.html index 132b0f9..a1e0607 100644 --- a/pkg/dashboard/static/index.html +++ b/pkg/dashboard/static/index.html @@ -44,9 +44,6 @@ -