Skip to content

[FEATURE_REQUEST] DeploymentLike object type is too general #877

@ppogladic

Description

@ppogladic

Description of the problem/feature request
In some cases, I would like to apply some rules only to specific object kinds - such as Deployment because there is no Deployment object kind I cannot do that. For instance, CronJob object kind in our case does not implement some checks required for Deployment.

Description of the existing behavior vs. expected behavior
I would like to include functionality to exclude object kinds in custom checks or divide DeploymentLike object to more granular checks per object kind (separate check object for Deployment, Pod, Job, CronJob). With this approach we would be able to write more granular checks.

Additional context
Our CronJobs do not have set readiness probes, while the deployments do have it. Because there is no exclude functionality, we cannot use it for the Deployments only.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions