From bcd7fbfde73ebf6e0cbd13a511802f3ec50cbb45 Mon Sep 17 00:00:00 2001 From: Md Safiyat Reza Date: Mon, 18 Jan 2021 12:40:20 +0530 Subject: [PATCH] Default `floating_ip_enabled` to true in cluster template This matches the default value in the Magnum API backend. Signed-off-by: Md Safiyat Reza Change-Id: Idf74601b8efa195bae756005cc8f4b83400eac87 --- .../cluster-templates/workflow/workflow.service.js | 2 +- ...d-default_in-cluster-template-true-ce06118f0e6064ba.yaml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/bugfix-set-floating_ip_enabled-default_in-cluster-template-true-ce06118f0e6064ba.yaml diff --git a/magnum_ui/static/dashboard/container-infra/cluster-templates/workflow/workflow.service.js b/magnum_ui/static/dashboard/container-infra/cluster-templates/workflow/workflow.service.js index e23763ee..86c053a6 100644 --- a/magnum_ui/static/dashboard/container-infra/cluster-templates/workflow/workflow.service.js +++ b/magnum_ui/static/dashboard/container-infra/cluster-templates/workflow/workflow.service.js @@ -494,7 +494,7 @@ fixed_subnet: "", dns_nameserver: "", master_lb_enabled: "", - floating_ip_enabled: "", + floating_ip_enabled: true, labels: "" }; diff --git a/releasenotes/notes/bugfix-set-floating_ip_enabled-default_in-cluster-template-true-ce06118f0e6064ba.yaml b/releasenotes/notes/bugfix-set-floating_ip_enabled-default_in-cluster-template-true-ce06118f0e6064ba.yaml new file mode 100644 index 00000000..b70cea43 --- /dev/null +++ b/releasenotes/notes/bugfix-set-floating_ip_enabled-default_in-cluster-template-true-ce06118f0e6064ba.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Setting the `floating_ip_enabled` check box in the cluster_template + creation form to true by default, so as to match with the default in the + backend.