Über Open CoDE Software Wiki Diskussionen GitLab

Skip to content

Add Policies for Kubelinter

Rainer Molitor requested to merge kubelint into dev

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:

  1. Add Code in policy-generator.py to automatically create a .kube-linter.yaml file
  2. Add Descriptions and structure to policy-spec.yaml which specifies the kube-linter templates to use
  3. Add the autogenerated kubelint-yaml file

Merge request reports

Loading