diff --git a/magnum_ui/static/dashboard/container-infra/cluster-templates/update/update.service.js b/magnum_ui/static/dashboard/container-infra/cluster-templates/update/update.service.js index 6d7eb017..e905f987 100644 --- a/magnum_ui/static/dashboard/container-infra/cluster-templates/update/update.service.js +++ b/magnum_ui/static/dashboard/container-infra/cluster-templates/update/update.service.js @@ -71,6 +71,8 @@ ? response.data.server_type : ""; config.model.public = response.data.public ? response.data.public : false; + config.model.hidden = response.data.hidden + ? response.data.hidden : false; config.model.registry_enabled = response.data.registry_enabled ? response.data.registry_enabled : false; config.model.tls_disabled = response.data.tls_disabled 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 15e7235c..29bd5e00 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 @@ -110,6 +110,10 @@ title: gettext('Public'), type: 'boolean' }, + 'hidden': { + title: gettext('Hidden'), + type: 'boolean' + }, 'registry_enabled': { title: gettext('Enable Registry'), type: 'boolean' @@ -269,13 +273,15 @@ { key: 'public' }, + { + key: 'hidden' + }, { key: 'registry_enabled' }, { key: 'tls_disabled' } - ] } ], @@ -467,6 +473,7 @@ coe: "", server_type: "", public: "", + hidden: "", registry_enabled: "", tls_disabled: "", image_id: "", diff --git a/releasenotes/notes/bugfix-cluster-template-hidden-arg-38909eaa92bd8d56.yaml b/releasenotes/notes/bugfix-cluster-template-hidden-arg-38909eaa92bd8d56.yaml new file mode 100644 index 00000000..8fff36f8 --- /dev/null +++ b/releasenotes/notes/bugfix-cluster-template-hidden-arg-38909eaa92bd8d56.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Fix an issue where a user was unable to create or update a cluster template + on Horizon due to missing hidden option expected by the API.