Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove managed fields from raw output #48

Merged
merged 4 commits into from
May 10, 2024
Merged

Conversation

elmiko
Copy link
Owner

@elmiko elmiko commented May 10, 2024

this change was a little tricky and required marshaling the data out of the source yaml, removing the managed field section, and then unmarshaling back to a string. a new test file was added to account for the serialization choices that yaml-rust2 makes.

closes: #18

this change was a little tricky and required marshaling the data out
of the source yaml, removing the managed field section, and then
unmarshaling back to a string. a new test file was added to account for
the serialization choices that yaml-rust2 makes.
@elmiko elmiko force-pushed the remove-managed-fields-from-raw branch from 6dfe3d0 to 7583e6a Compare May 10, 2024 20:08
@elmiko elmiko force-pushed the remove-managed-fields-from-raw branch from eb4d6da to 06770e2 Compare May 10, 2024 20:14
if there is an issue dumping the mutated yaml, default to using the
original raw string.
@elmiko elmiko merged commit 585a067 into devel May 10, 2024
2 checks passed
@elmiko elmiko deleted the remove-managed-fields-from-raw branch May 10, 2024 21:13
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.

managedFields showing up in manifests
1 participant