Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE_REQUEST] DeploymentLike object type is too general #877

Open
ppogladic opened this issue Dec 6, 2024 · 0 comments
Open

[FEATURE_REQUEST] DeploymentLike object type is too general #877

ppogladic opened this issue Dec 6, 2024 · 0 comments

Comments

@ppogladic
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant