Skip to content

test: improve error featureGates precheck messages#2598

Open
yaroslavborbat wants to merge 1 commit into
mainfrom
test/fix-hotplug-precheck
Open

test: improve error featureGates precheck messages#2598
yaroslavborbat wants to merge 1 commit into
mainfrom
test/fix-hotplug-precheck

Conversation

@yaroslavborbat

@yaroslavborbat yaroslavborbat commented Jul 6, 2026

Copy link
Copy Markdown
Member

Description

Improve feature gate precheck errors: print ready kubectl patch command for missing gates; treat absent featureGates as empty list.

Why do we need it, and what problem does it solve?

Hotplug precheck failures did not show how to enable the required feature gate.

What is the expected result?

Precheck error includes a command to enable the gate in ModuleConfig.

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

Changelog entries

section: test
type: fix
summary: "E2E feature gate precheck errors now include kubectl patch command to enable missing gates."
impact_level: low

Signed-off-by: Yaroslav Borbat <yaroslav.borbat@flant.com>
@yaroslavborbat yaroslavborbat added this to the v1.10.0 milestone Jul 6, 2026
@yaroslavborbat yaroslavborbat marked this pull request as ready for review July 6, 2026 11:36
@yaroslavborbat yaroslavborbat requested a review from Isteb4k as a code owner July 6, 2026 11:37
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.

1 participant