Skip to content

Conversation

IvanJosipovic
Copy link
Contributor

Fix

This PR resolves the formatting problem where KubernetesYaml.Serialize() was introducing extra newlines in the output. Secrets and other multi-line values now serialize without unintended blank lines.

Before:
image
After:
image

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Aug 26, 2025
@brendandburns
Copy link
Contributor

Can you add a unit test so that we maintain this behavior going forward?

@tg123
Copy link
Member

tg123 commented Aug 26, 2025

LTGM could you please also fix the style warning introduced by new code

@tg123
Copy link
Member

tg123 commented Aug 27, 2025

i am going to publish new nuget by eod (pdt) any chance to take this fix?

@IvanJosipovic
Copy link
Contributor Author

@tg123, give me a few mins just adding some tests.

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Aug 27, 2025
Copy link
Member

@tg123 tg123 left a comment

Choose a reason for hiding this comment

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

/LGTM

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 27, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: IvanJosipovic, tg123

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants