Skip to content

[patch] configure ingress controller during cli instead of suite install#2044

Open
dixitgsathwara wants to merge 9 commits intomasterfrom
ds-fix
Open

[patch] configure ingress controller during cli instead of suite install#2044
dixitgsathwara wants to merge 9 commits intomasterfrom
ds-fix

Conversation

@dixitgsathwara
Copy link
Contributor

@dixitgsathwara dixitgsathwara commented Feb 6, 2026

Description

  • patching ingress controller for the path based routing during the cli instead of suite install

Testing

image image

@dixitgsathwara dixitgsathwara requested a review from a team as a code owner February 6, 2026 14:18
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think at this point we should explain the requirements

Routing Configuration
Maximo Application Suite can be configured in one of two ways:

  • Single domain with path-based routing across the suite - https://{yourdomain)/admin
  • Single domain with subdomain-based routing across the suite - https://admin.{yourdomain}

Path-based routing requires a specific OpenShift ingress controller configuration, for more information refer to:
https://somelinktotheocpdocsaboutthistopic

We should know enough to substitute in the actual domain the user will be using at this point I think.

If the cluster doesn't support PBR, AND the user has the necessary permissions, show this additional message:

Your cluster ingress currently does not support path-based routing

Configure ingress namespace ownership policy to enable path-based routing for MAS? [y/n]

If they choose y and this fails we should handle it as a fatalError and exit

If the cluster doesn't support PBR AND the user DOES NOT have the necessary permissions, show something like this:

Your cluster ingress currently does not support path-based routing, if you wish to configure MAS with path-based routing contact your OpenShift administrator

Then show them the appropriate options only if PBR is supported after this. If the ingress still doesn't support PBR at this stage then we don't need to show them a prompt and just state something like:

MAS will be configured to use subdomain-based routing

Also, as we are adding new RBAC needs to the cli to get/set ingress controller, please include an update to: https://github.com/ibm-mas/cli/tree/master/rbac/install/user to reflect this, otherwise the minimal RBAC install will be broken.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants