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
{{ message }}
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.
ISSUE TYPE
BUG REPORT
SUMMARY
First of all, congrats on kubeaudit autofix, it's a great idea and we're looking forward to using it more.
kubeaudit autofix changes some spacing before comments of section that it is not changing, an example below
yamllint is used to verify yaml syntax errors detects this as a problem.
ENVIRONMENT
STEPS TO REPRODUCE
Do kubeaudit autofix on a yaml file that contains a double space followed by a comment
# comment here
EXPECTED RESULTS
Ideally kubeaudit would not touch that comment.
ACTUAL RESULTS
The spaces are changed
ADDITIONAL INFORMATION
There is also another case where kubeaudit adds an empty line which is also an error/warning in yamllint
The text was updated successfully, but these errors were encountered: