Add Policies for Kubelinter
This MR adds policy-generation for kubelinter.
Kubelinter is a linting tool, which is part of stackrox. Using kubelinter enables us, to shorten the feedback cycle for developers. They can integrate kubelinter as a pre-commit hook in their workflow and get direct feedback, opposing the RHACS system. Furthermore kubelinter can check for some Policies, which can't sufficiently be addressed with the stackrox/stackrox components.
This gives the user choice if he wants to introduce both tools or just use one.
The changes done in this PR are threefold:
- Add Code in
policy-generator.py
to automatically create a.kube-linter.yaml
file - Add Descriptions and structure to
policy-spec.yaml
which specifies the kube-linter templates to use - Add the autogenerated
kubelint-yaml
file