KubeLinter is a static analysis tool that checks Kubernetes YAML files and Helm charts to ensure the applications represented in them adhere to best practices.
Description of the problem/feature request
I would like to ensure that my Deployment and Daemonset has priorityClassName value defined.
Description of the existing behavior vs. expected behavior
Current behavior: no error when a Deployment or Daemonset has no priorityClassName value.
Expected behavior: kube-linter should throw an error when priorityClassName is not defined.
Additional context
If this check is not requested enough by the community, is it possible to have a template which let me create a customCheck by myself.
The template could be take two parameters:
propertyName : string (ex priorityClassName)
possibleValues: array of string (possible values for priorityClassName )
Description of the problem/feature request I would like to ensure that my Deployment and Daemonset has priorityClassName value defined.
Description of the existing behavior vs. expected behavior Current behavior: no error when a Deployment or Daemonset has no priorityClassName value. Expected behavior: kube-linter should throw an error when priorityClassName is not defined.
Additional context If this check is not requested enough by the community, is it possible to have a template which let me create a customCheck by myself.
The template could be take two parameters:
Thanks Marc