-
Notifications
You must be signed in to change notification settings - Fork 244
CNTRLPLANE-1544: staticpod: guard: Use user namespace #2031
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
Conversation
@tchap: This pull request references CNTRLPLANE-1544 which is a valid jira issue. In response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
pkg/operator/staticpod/controller/guard/manifests/guard-pod.yaml
Outdated
Show resolved
Hide resolved
pkg/operator/staticpod/controller/guard/manifests/guard-pod.yaml
Outdated
Show resolved
Hide resolved
since the guard pod is used by more than one static pod, maybe we should create proof PRs for all of them? |
@tchap: This pull request references CNTRLPLANE-1544 which is a valid jira issue. In response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
/hold until we create and test proof PRs for all affected components. |
I think that the guard pods are normal pods not static pods. |
do we need to set scc to use |
nope, everyone has access to it |
I think all of the security knobs you've set here are good, but it may be tricky to debug problems if you do them all at once. The kernel isn't very informative why things fail when they do. If the tests pass in all of the components that inherit this, that's fine, but I would recommend starting with |
@haircommander thank you for your input. @haircommander what is your recommendation for setting the scc? Would it be better to set the |
if this is creating static pods are they subject to SCC? I would expect not, as static pods don't go through apiserver to be created |
I don't think this creates a static pod. I think the guard-pod is just a regular pod. Since setting |
@haircommander one more question, are we right that it’s safe to set |
Yes that seems safe to me! |
yeah just hostUsers: false would work with me |
Yeah, honestly I don't think we have to care about And yeah, I've just checked, these are not static pods, sorry for the confusion. |
@tchap: This pull request references CNTRLPLANE-1544 which is a valid jira issue. In response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
I ended up setting only |
@tchap can we just set |
Ok, amended. |
@tchap: This pull request references CNTRLPLANE-1544 which is a valid jira issue. In response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
I still need to create testing PRs for all components using guard pods, will get to that later today, I hope. |
/lgtm /hold |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: p0lyn0mial, tchap The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@tchap: This pull request references CNTRLPLANE-1544 which is a valid jira issue. In response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
@tchap: This pull request references CNTRLPLANE-1544 which is a valid jira issue. In response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
@tchap: This pull request references CNTRLPLANE-1544 which is a valid jira issue. In response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
@tchap: This pull request references CNTRLPLANE-1544 which is a valid jira issue. In response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
@tchap: This pull request references CNTRLPLANE-1544 which is a valid jira issue. In response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
@tchap: This pull request references CNTRLPLANE-1544 which is a valid jira issue. In response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
@tchap: This pull request references CNTRLPLANE-1544 which is a valid jira issue. In response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
@tchap: This pull request references CNTRLPLANE-1544 which is a valid jira issue. In response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
@tchap: This pull request references CNTRLPLANE-1544 which is a valid jira issue. In response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
tests are green in the components repo /hold cancel |
@tchap: all tests passed! Full PR test history. Your PR dashboard. Instructions 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-sigs/prow repository. I understand the commands that are listed here. |
Test for Downstream Components