issues
search
patrickdappollonio
/
kubectl-slice
Split multiple Kubernetes files into smaller files with ease. Split multi-YAML files into individual files.
MIT License
296
stars
22
forks
source link
Code improvements and version updates
#68
Closed
patrickdappollonio
closed
1 year ago
patrickdappollonio
commented
1 year ago
This PR:
Uses testify/assert to reduce the number of lines written in tests and increase
yours truly's proficiency
🤣
Upgrades several stuff like:
Dependencies (moved back to Cobra now that the package doesn't add additional dependencies; updated GHA versions)
Sort order (now includes
IngressClass
)
Goreleaser (now there's a
name_template
that's deprecated that is no longer in use)
The number of empty whitespaces before, between and after a file has been removed to make it more predictable
While I consider this a small change since the behaviour of the YAML code doesn't change here, I would request people to provide a review on this
Unit tests with fixtures for the core program
I plan to expand this further so any drop-in file can be unit-tested.
This PR:
IngressClass
)name_template
that's deprecated that is no longer in use)