Maintain original rule-yaml when adding CRD
Maintain original rule-yaml when adding CRD
Instead of parsing and dumping the rules yaml, this keeps the original file intact. This means that comments also remain in place.
To each generated rule file, comment gets added by jsonnet-tool that directs to the original file. I find this really handy, so I'd like to keep it.