Skip to content

Trino deployment wizard does not preserve "Enable OPA" state when navigating back #38

Description

@alex-mabrouk

Describe the Bug

When creating a new Trino instance, the Enable OPA switch does not preserve the user-selected value when navigating between wizard steps.

If the user disables Enable OPA, proceeds to the Review step, and then navigates back to the Parameters step, the switch is enabled again even though it was previously turned off.

The UI should preserve the state of the form while navigating through the deployment wizard.

Steps to Reproduce

  1. Perform a fresh OKDP installation.
  2. Create a new Trino instance.
  3. Go to the Parameters step.
  4. Disable the Enable OPA switch.
  5. Click Next to go to the Review step.
  6. Click Back to return to the Parameters step.
  7. Observe the state of the Enable OPA switch.

Step 1
Image
Step 2
Image
Step 3
Image

Expected Behavior

The deployment wizard should preserve all user-entered values while navigating between steps.

After returning to the Parameters step, the Enable OPA switch should remain disabled.

Actual Behavior

The Enable OPA switch is automatically re-enabled after navigating back from the Review step, even though the user previously disabled it.

Environment

Kubernetes version

Details
$ kubectl version

Client Version: v1.36.2
Kustomize Version: v5.8.1
Server Version: v1.32.2

Helm version

Details
$ helm version

version.BuildInfo{
  Version:"v4.2.2",
  GitCommit:"b05881cf967a5a09e19866799d0edfd40675803a",
  GitTreeState:"clean",
  GoVersion:"go1.26.4",
  KubeClientVersion:"v1.36"
}

Chart / component version

  • Trino 480.0.0-p05

Cluster setup

  • Fresh OKDP installation
  • Kubernetes cluster

Logs

Anything else we need to know?

The issue appears to be related to the deployment wizard state management.

The value is correctly propagated to the Review step after clicking Next, but navigating back to the Parameters step resets the Enable OPA switch to its default value instead of preserving the user's previous selection.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions