From c4a2829fb47493a6f53ef76183ede00cec788897 Mon Sep 17 00:00:00 2001 From: Westly Wright Date: Thu, 5 Mar 2020 15:11:02 -0700 Subject: [PATCH] Add drain options to k3s imported clusters edit --- .../components/k3s-cluster-info/template.hbs | 29 +++++++++++++++++++ translations/en-us.yaml | 2 ++ 2 files changed, 31 insertions(+) diff --git a/lib/shared/addon/components/k3s-cluster-info/template.hbs b/lib/shared/addon/components/k3s-cluster-info/template.hbs index a2ae629ec..e31ed4c68 100644 --- a/lib/shared/addon/components/k3s-cluster-info/template.hbs +++ b/lib/shared/addon/components/k3s-cluster-info/template.hbs @@ -17,6 +17,35 @@ +
+
+
+ {{input + id="drain-master-nodes" + class="form-control" + type="checkbox" + checked=k3sConfig.k3supgradeStrategy.drainServerNodes + }} + +
+
+
+
+ {{input + id="drain-worker-nodes" + class="form-control" + type="checkbox" + checked=k3sConfig.k3supgradeStrategy.drainWorkerNodes + disabled=(not editing) + }} + +
+
+