From e52c7064e0817460502540b549acefbdf14a9b22 Mon Sep 17 00:00:00 2001 From: Westly Wright Date: Mon, 16 Dec 2019 17:14:35 -0700 Subject: [PATCH] Expose mtu on CNI network provider for RKE based clusters rancher/rancher#24460 --- .../form-network-config/component.js | 2 - .../form-network-config/template.hbs | 315 ++++++++++-------- translations/en-us.yaml | 3 + 3 files changed, 181 insertions(+), 139 deletions(-) diff --git a/lib/shared/addon/components/form-network-config/component.js b/lib/shared/addon/components/form-network-config/component.js index ba12105a3..a01f13517 100644 --- a/lib/shared/addon/components/form-network-config/component.js +++ b/lib/shared/addon/components/form-network-config/component.js @@ -47,8 +47,6 @@ export default Component.extend({ globalStore: service(), layout, - classNames: ['row'], - networkContent: NETWORKCHOICES, mode: 'new', isCustom: false, diff --git a/lib/shared/addon/components/form-network-config/template.hbs b/lib/shared/addon/components/form-network-config/template.hbs index 3f38c86c9..054ae6a87 100644 --- a/lib/shared/addon/components/form-network-config/template.hbs +++ b/lib/shared/addon/components/form-network-config/template.hbs @@ -1,166 +1,207 @@ -
- - - - {{#input-or-display - editable=(or (and (eq mode "new") (or (not applyClusterTemplate) override.hasOverride)) clusterTemplateCreate) - value=config.network.plugin - }} - {{new-select - id="network-plugin" - classNames="form-control" - content=networkContent - localizedLabel=true - value=config.network.plugin - }} - {{/input-or-display}} - - - {{#if cluster.windowsPreferedCluster}} -