-
Notifications
You must be signed in to change notification settings - Fork 764
Rename openshift to kubernetes #8195
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
Rename openshift to kubernetes #8195
Conversation
Over the last few months we started adding support for CIS EKS profiles, which is another kubernetes distribution. Until now, all kubernetes rules have been OpenShift-specific. Now that we're expanding the content to cover more kubernetes distributions, we should make the content platform agnostic. This commit renames the `applications/openshift/` directory to `applications/kubernetes/` so it's more generic. Even though almost all the content under this directory is OpenShift-specific, we will clean up individual rules to handle multiple platforms as needed. This is just the first step in making the content platform-agnostic.
|
In general I'm all for reuse and making the rules generic. However, are you sure we should also move rules that check OpenShift specific objects (SCCs, routes, ...) under kubernetes? One way to check for OCP specific. Grepping for Moreover, at least when it comes to CIS, there are some checks where OCP CIS differs from upstream kube CIS -- from the top of my head I can think about the default image pull policy rule. But I guess we can cross that bridge when we actually start implementing the profiles for other distros? |
That's a fair point. Initially - we wanted to try and organize the content so that distribution-specific rules were nested under a parent This lead us to flatten the rules under Thoughts? |
|
@rhmdnd: PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Ah, I missed this part! This is pretty much how we handle
OK, this sounds fine to me. Thank you for the explanation. |
Yep - The one clear downside is that rules are going to get more complicated as more Kubernetes distributions join the party (AKS/GKE) or even the CIS benchmark for kubernetes itself. |
|
@rhmdnd: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
@rhmdnd please resolve the conflicts |
|
Closing because of inactivity. Feel free to reopen if you want this to get merged. |
Over the last few months we started adding support for CIS EKS profiles,
which is another kubernetes distribution. Until now, all kubernetes
rules have been OpenShift-specific. Now that we're expanding the content
to cover more kubernetes distributions, we should make the content
platform agnostic.
This commit renames the
applications/openshift/directory toapplications/kubernetes/so it's more generic. Even though almost allthe content under this directory is OpenShift-specific, we will clean up
individual rules to handle multiple platforms as needed. This is just
the first step in making the content platform-agnostic.
Description:
Rationale:
Rationale here. Replace this text. Don't use the italics format!
Fixes # Issue number here (e.g. Updating sysctl XCCDF naming #26) or remove this line if no issue exists.