Skip to content

Creating an unknown feature flag breaks the Global Settings > Feature Flags #17226

@valaparthvi

Description

@valaparthvi

Setup

  • Rancher version: head/2.14 (v2.14-985c2d143c019e7812431b3e3adb2effe7d92f7c-head)
  • Rancher UI Extensions: release-2.14 ae2d748
  • Browser type & version: Chrome

Describe the bug

If an unknown feature flag is created via Import YAML or kubectl, Global Settings > Feature Flags page breaks and is unable to show existing Feature Flags.

To Reproduce

  1. Create an unknown feature flag via Import YAML or kubectl.
apiVersion: management.cattle.io/v3
kind: Feature
metadata:
  name: unknown-flag
spec:
  value: true
  1. Go to Global Settings > Feature Flags. The page will be broken, it will not display any features.
  2. Delete the feature and go back to Global Settings > Feature Flags. The page should display features again.

Result
If an unknown feature is added, the feature flag page breaks, it is completely blank. But it resumes working once the feature is deleted.

Expected Result

The page should not break. Perhaps it can show error when an unknown feature is encountered.

Screenshots

Screencast.from.2026-04-13.15-21-46.webm

Additional context

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions