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

add support for enabling shareProcessNamespace #408

Merged
merged 4 commits into from
Dec 16, 2022

Conversation

benashz
Copy link
Contributor

@benashz benashz commented Dec 15, 2022

This PR completes the work started in #334.

@@ -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(
Copy link

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, fixed in 468c33b

Copy link

@swenson swenson left a 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.
@benashz benashz requested a review from swenson December 15, 2022 22:37
Copy link

@swenson swenson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

3 participants