Skip to content

Automate base domain help text on Clusters page

Enrique Alcántara requested to merge 57357-automate-base-domain-help-text into master

What does this MR do?

When Ingress is installed in the cluster page view, updates the cluster’s "Base domain field" help text to include information about using ingress subdomain without having to refresh the page.

Implementation strategy

  • Wrap alternative help text in a span element and add a js- class selector to allow JavaScript to reference the element.
  • Obtain a reference of the alternative help text DOM element and store it in a property of the cluster bundle.
  • Create a method like clusterBundle.updateContainer that displays alternative help text if the Ingress application status changed and it is installed.

PS: This is my boring solution attempt. We have to migrate this form to VueJS eventually for a cleaner implementation.

What are the relevant issue numbers?

Closes #57357 (closed)

Does this MR meet the acceptance criteria?

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading