mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-26 06:18:04 +00:00
Use namespace defined in kubeconfig as default in install view (#99)
* respect defualt namespace from kubeconfig * respect defualt namespace from kubeconfig * Replace exists with available - avoid confusion in status * use data attribute * remove commented line * fix
This commit is contained in:
@@ -70,7 +70,7 @@ function popUpUpgrade(elm, ns, name, verCur, lastRev) {
|
||||
$("#upgradeModalLabel .type").text("Install")
|
||||
$("#upgradeModal .ver-old").hide()
|
||||
$("#upgradeModal .rel-name").prop("disabled", false).val(elm.name.split("/").pop())
|
||||
$("#upgradeModal .rel-ns").prop("disabled", false).val("")
|
||||
$("#upgradeModal .rel-ns").prop("disabled", false).val(ns)
|
||||
}
|
||||
|
||||
$.getJSON("/api/helm/repo/search?name=" + elm.name).fail(function (xhr) {
|
||||
|
||||
Reference in New Issue
Block a user