diff --git a/VERSION b/VERSION index 9a48aad..a9e3e23 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v0.4.6 +v0.4.7 diff --git a/client/js/akt/AKTClusterConfig.js b/client/js/akt/AKTClusterConfig.js index 2818697..a6ad724 100644 --- a/client/js/akt/AKTClusterConfig.js +++ b/client/js/akt/AKTClusterConfig.js @@ -122,7 +122,6 @@ export class AKTClusterConfig{ }) if(canConfigureKubernetes){ - $('#ingressPortsMessage').show(); $('#initCluster').removeClass('cancel').addClass('save'); let k8sConfigEnhanced = this.autoConfigureK8sData(configData); this.renderKubernetesConfig(configData); @@ -259,7 +258,9 @@ export class AKTClusterConfig{ } } }) - + if(ingressName != ''){ + $('#ingressPortsMessage').show(); + } configData.nodes.map(node=>{ if(!node.selected){ return; diff --git a/client/js/akt/AKTDashboard.js b/client/js/akt/AKTDashboard.js index 13f3962..5fad77e 100644 --- a/client/js/akt/AKTDashboard.js +++ b/client/js/akt/AKTDashboard.js @@ -100,8 +100,9 @@ export class AKTDashboard { }) this.socket.on('kubesprayVersionStatus',data=>{ console.log('kubespray version status',data); - if(data.local != data.latest){ + if(data.local != data.latest && data.latest.trim() != ''){ //show kubespray update option + //ensure its not blank $('.options #kubesprayUpdateAvailable').show(); $('.options #kubesprayUpdateAvailable').off('click').on('click',()=>{ //show modal