-
Notifications
You must be signed in to change notification settings - Fork 97
[patch] Don't set SLS domain by default #1822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did we set up existing MAS instances to use the route that we are now effectively deprecating (in most scenario)?
I assume the result of this change is that the slscfg that will be used in most installs will now be one that is using the kubernetes service.
What is the expected behaviour in this scenario:
- Install first MAS instance + SLS using older version of the CLI
- Install second MAS instance using new version of the CLI
When the second install runs it will refresh the SLS instance ... and presumably this will result in the removal of the route. So did we set up the first MAS instance using that route?
When you install using an older version of CLI, SLS will have a Route. If you then install over it using a newer CLI with this change then nothing will happen to the Route. The domain field will still be present in the LicenseService CR. This is the behaviour I was aiming for. I did not want to break anyone's environment if they already have a Route because they could be using it off-cluster too. When patching the LicenseService CR with a spec that doesn't have the domain field would not remove it. By default, Kubernetes only updates fields that are in both the local template and CR, and adds the remaining new fields. Moreover, SLS does not currently have the logic of removing a Route when the domain field is removed from the CR. This was discovered during this work and I will add that into SLS. |
commit 593108c Author: karol-czarnecki <[email protected]> Date: Mon Jul 21 07:41:02 2025 +0100 [patch] Fix airgap support for kmodels in AI Service (#1832) commit 9bdf64f Author: David Parker <[email protected]> Date: Thu Jul 17 10:27:07 2025 +0100 [patch] Fix min release for odf-dependencies (#1837) commit cafe13f Author: faangbait <[email protected]> Date: Thu Jul 17 03:38:22 2025 -0500 [patch] Remove spec.name from Grafana v5 dashboards (#1818) commit 16854a2 Author: Terence Quinn <[email protected]> Date: Thu Jul 17 03:32:39 2025 -0500 [minor] Add support for image mirroring to AWS ACR (#1791) commit 3c55c38 Author: faangbait <[email protected]> Date: Thu Jul 17 03:30:21 2025 -0500 [patch] Shorten and standardize s3 bucket access point name (#1739) commit 8a9648c Author: caemar <[email protected]> Date: Thu Jul 17 10:28:59 2025 +0200 [patch] Add options to custom-archive-credentials secret (#1585) commit 44bb896 Author: David Parker <[email protected]> Date: Thu Jul 17 09:24:52 2025 +0100 [patch] Set Fyre master nodes to 4cpu 8gb mem (#1836) commit 2573a5c Author: joaopauloksn <[email protected]> Date: Wed Jul 16 19:46:45 2025 -0300 [major] Avoid usage of an additional variable to install Manage foundation (#1807) Co-authored-by: Joao Paulo Karol Nunes <[email protected]> commit 4831d50 Author: Rawa <[email protected]> Date: Wed Jul 16 23:22:40 2025 +0100 [patch] Don't set SLS domain by default (#1822) Co-authored-by: Rawa Resul <[email protected]>
Issue
Description
3.12.0
creates a Route usingv1
asapiVersion
but it needs to beroute.openshift.io/v1
otherwise fails. This is fixed in3.12.1
.sls_domain
which forces SLS to create a Route. This logic is wrong. By removing this we also create a workaround for SLS up to3.12.0
to bypass this issue.Test Results
sls_domain
--> Installed SLS using service url.sls_domain
--> Installed SLS and created Route.sls_domain
then ran role again withsls_domain
--> Installed SLS and created Route.sls_domain
then ran role again withoutsls_domain
--> Installed SLS and created Route; second run did not remove Route.