diff --git a/lib/global-admin/addon/components/cluster-row/template.hbs b/lib/global-admin/addon/components/cluster-row/template.hbs index a3520de24..e855bca28 100644 --- a/lib/global-admin/addon/components/cluster-row/template.hbs +++ b/lib/global-admin/addon/components/cluster-row/template.hbs @@ -38,9 +38,9 @@ {{cluster-template-revision-upgrade-notification cluster=model}}
{{or model.k3sConfig.kubernetesVersion.gitVersion model.version.gitVersion}}
+{{or model.k3sConfig.kubernetesVersion model.version.gitVersion}}
{{else}} {{model.displayProvider}} {{/if}} diff --git a/lib/shared/addon/components/cluster-driver/driver-import/component.js b/lib/shared/addon/components/cluster-driver/driver-import/component.js index 11c818493..3c0527e8a 100644 --- a/lib/shared/addon/components/cluster-driver/driver-import/component.js +++ b/lib/shared/addon/components/cluster-driver/driver-import/component.js @@ -43,7 +43,7 @@ export default Component.extend(ClusterDriver, { type: 'k3sConfig', serverConcurrency: 1, workerConcurrency: 1, - kubernetesVersion: { gitVersion: this.cluster.version.gitVersion } + kubernetesVersion: this.cluster.version.gitVersion })); } } diff --git a/lib/shared/addon/components/k3s-cluster-info/component.js b/lib/shared/addon/components/k3s-cluster-info/component.js index f4563e2c9..51678141d 100644 --- a/lib/shared/addon/components/k3s-cluster-info/component.js +++ b/lib/shared/addon/components/k3s-cluster-info/component.js @@ -13,7 +13,7 @@ export default Component.extend({ editing: false, k3sConfig: alias('cluster.k3sConfig'), allVersions: computed('k3s.allVersions.[]', function() { - const currentVersion = get(this, 'k3sConfig.kubernetesVersion.gitVersion'); + const currentVersion = get(this, 'k3sConfig.kubernetesVersion'); const allVersions = this.k3s.allVersions || []; const versionsMapped = []; diff --git a/lib/shared/addon/components/k3s-cluster-info/template.hbs b/lib/shared/addon/components/k3s-cluster-info/template.hbs index 7c0eb4369..8d20bb0f0 100644 --- a/lib/shared/addon/components/k3s-cluster-info/template.hbs +++ b/lib/shared/addon/components/k3s-cluster-info/template.hbs @@ -5,12 +5,12 @@