-
Notifications
You must be signed in to change notification settings - Fork 154
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
render enhancements #59
Comments
May need a diffing ability to support policy YAML removals. Rendering is one way currently (YAML source => MD files), and when an MD is rendered, the source policy file is removed, the resulting MD has to be manually deleted. May be best to implement this as a flag like |
@chipzoller - do we need anything at this point, or should we close this? |
We could really use some fixes here including solving of the double slash and ability to render into a relative directory with ability to overwrite existing files. Currently the render program is a multi-step process when trying to refresh all the rendered policies. |
Chip, can you please provide more details on each requirement? These do not seem difficult to do, but want to make sure I understand the asks correctly. |
Yes, certainly.
Hopefully this all makes sense. |
Include #547 |
Double slashes still appear in output. |
Please create an issue with the full command details. |
From: kyverno/policies#7 (comment)
Might be good to make this process more "go newbie" friendly such as:
Add step to chmod +x the render binary after go build process.
May need to change the output of the build process to be something other than render if executed in the root of the website dir since render already exists as a directory.
Link to instructions on how to install go(?)
When I run render on the current state of the policies repo, it's generating title and linkTitle with dashes and not with spaces (as the MD files currently have). weight is also different. Haven't checked the code.
The text was updated successfully, but these errors were encountered: