mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-24 11:48: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:
@@ -130,6 +130,8 @@ function repoChartClicked() {
|
||||
setHashParam("chart", elm.installed_name)
|
||||
window.location.reload()
|
||||
} else {
|
||||
popUpUpgrade(elm)
|
||||
const contexts = $("body").data("contexts")
|
||||
contextNamespace = contexts.filter(obj => {return obj.Name === getHashParam("context")})[0].Namespace
|
||||
popUpUpgrade(elm, contextNamespace)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user