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

feat: Support scan latest revision for replicationController #1324

Merged

Conversation

deven0t
Copy link
Contributor

@deven0t deven0t commented Jun 26, 2023

In OCP, there is a kind called DeploymentConfig, which manages the replicationController, and as we have revisionHistory for Deployments, similarly there are revision history for Deployment Config as well. Due to which many replication contollers will be present in the cluster. We dont want to scan them as they are not active resource. So as part of this change, I have added following change

  • consider latest revision scan option to limit scanning of old replication controller
  • ignore system pods created from deploymentConfig

@deven0t deven0t requested a review from chen-keinan as a code owner June 26, 2023 08:22
@deven0t deven0t force-pushed the deven-support-deploymentConfig branch 3 times, most recently from af7d963 to 38b06b7 Compare June 26, 2023 12:43
In OCP, there is a kind called DeploymentConfig, which manages the replicationController, and as we have revisionHistory for Deployments, similarly there are revision history for Deployment Config as well. Due to which many replication contollers will be present in the cluster. We dont want to scan them as they are not active resource. So as part of this change, I have added following change
- consider latest revision scan option to limit scanning of old replication controller
- ignore system pods created from deploymentConfig
@deven0t deven0t force-pushed the deven-support-deploymentConfig branch from 38b06b7 to 4a0c6df Compare June 27, 2023 05:05
@chen-keinan
Copy link
Contributor

@deven0t lgtm 🚀

@chen-keinan chen-keinan merged commit 345e2c2 into aquasecurity:main Jun 27, 2023
@deven0t deven0t deleted the deven-support-deploymentConfig branch September 29, 2023 16:00
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

Successfully merging this pull request may close these issues.

2 participants