You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the problem is not dedicated to a specific function, but how kpt reads/writes and preserves the yaml content during passing them to the KRM functions. @droot do you mind taking a look at this issue?
Expected behavior
kpt fn eval
preserves all comments in a yam file.Actual behavior
kpt fn eval
removes objects/documents made up of only comments.Information
kpt version: 1.0.0-beta.31
In our packages we use these "comment only" objects for headers/context for humans and would like to preserve them
Steps to reproduce the behavior
kpt fn eval
functionkpt fn eval --image gcr.io/kpt-fn/search-replace:v0.2.0 --exclude-kind 'Namespace' -- 'by-path=metadata.name' "put-value=test-ns"
The text was updated successfully, but these errors were encountered: