Skip to content

Issues with SBOMScanner Backend Installation via SBOMScanner UI Extension  #558

Description

@esther-suse

Description:
The current installation process for the SBOMScanner backend through the UI extension is interrupted by a missing namespace error.
Additionally, the sequence of configuration steps is unintuitive for the end user.

Steps to Reproduce:

  1. In a fresh installed K3S VM, Navigate to the SBOMScanner page and click "Start Installation."
  2. Step 1: Click "Add the CNPG Helm repository."
  3. Step 2: Provide credentials for the SBOMScanner Helm repository, uncheck "Skip TLS Verification" and "Insecure Plain HTTP," and click "Add SBOMScanner repository."
  4. Step 3: Click "Install CloudNativePG" and wait for successful deployment.
  5. Return to the SBOMScanner page to begin the SBOMScanner Installation. Input the Image Pull Secret, click "Next," then click "Install."

Actual Results:
The installation fails with the error: namespace "cattle-sbomscanner-system" not found.
The user must manually create the namespace via CLI before the installation can proceed.

Expected Results:
The cattle-sbomscanner-system namespace should be created automatically by the extension during the installation process.

Issue about Logical Workflow :
The current logic mixes repository configuration for two different components.
To improve the user experience, I propose grouping the "Repository Add" and "Install" actions for each component together.

Current Logic: Add the CNPG Helm repository --> Add the SBOMScanner Helm repository --> Install CloudNativePG --> Install SBOMScanner

Proposed Logic: Add the CNPG Helm repository --> Install CloudNativePG --> Add the SBOMScanner Helm --> Install SBOMScanner

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Fields

No fields configured for Bug.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions