-
Notifications
You must be signed in to change notification settings - Fork 171
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
add support for enabling shareProcessNamespace #408
Conversation
agent-inject/agent/agent.go
Outdated
@@ -636,6 +645,10 @@ func (a *Agent) Patch() ([]byte, error) { | |||
a.ContainerVolumeMounts(), | |||
fmt.Sprintf("/spec/initContainers/%d/volumeMounts", i))...) | |||
} | |||
|
|||
// Add shareProcessNamespace | |||
a.Patches = append(a.Patches, updateShareProcessNamespace( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like this might need to be changed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, fixed in 468c33b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Clean up setShareProcessNamespace() a bit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR completes the work started in #334.