Skip to content

Conversation

@dlaw4608
Copy link
Contributor

@dlaw4608 dlaw4608 commented Jan 9, 2026

Noticed that when using scaffolding tool to create a controller with -optional-create-dependency, but without -required-create-dependency, an empty line would appear at the top of the step 00-create-resources-missing-deps.yaml, check it out here .

As shown in #580 the empty line needs to be removed to fix kuttl warnings.

…ndency/00-create-resources-missing-deps.yaml

		      when using scaffolding tool to create a controller with -optional-create-dependency,
		      but without -required-create-dependency.

Why Fix it: Should want to fix the template because this will generate an obscure warning when running the kuttl tests.

What Fixed it: Replaced left trim with a right trim at the end of requiredCreateDependencies loop
	       and the beginning of the next loop OptionalCreateDependencies.

Signed-off-by: Daniel Lawton <dlawton@redhat.com>
@github-actions github-actions bot added the semver:patch No API change label Jan 9, 2026
Copy link
Contributor

@winiciusallan winiciusallan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver:patch No API change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants