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 share-process-namespace annotation #334

Closed
wants to merge 1 commit into from

Conversation

wolffberg
Copy link
Contributor

Many Helm Charts do not include an option to add the shareProcessNamespace switch to deployments.

Sharing the process namespace is needed to restart the pod on secret rotation as discussed in #196.

This PR will enable adding the switch through annotations using the mutating webhook as discussed in kubernetes-sigs/external-dns#2715.

@wolffberg wolffberg force-pushed the share-process-namespace branch from 12055c3 to 06af380 Compare April 25, 2022 06:45
@wolffberg
Copy link
Contributor Author

@jasonodonnell @tvoran
Sorry for the direct tag but can one of you take a look at this PR?
Thanks in advance 🎉

@swenson
Copy link

swenson commented Dec 5, 2022

I believe this can now be accomplished using the new vault.hashicorp.com/agent-json-patch annotation on the agent? Please let me know if I am mistaken though.

@swenson
Copy link

swenson commented Dec 5, 2022

Oh, nevermind, the JSON patch is on the container, but sharedProcessNamespace needs to be on the pod.

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 -- this PR looks great! I appreciate the tests. I think it will require some updates since we changed the JSON patch library that we use, though.

I can take over the PR if you like, or I'm happy to approve it after it has been updated.

@benashz
Copy link
Contributor

benashz commented Dec 13, 2022

@wolffberg thanks for your contribution. If you have some spare cycles to resolve the conflicts we can merge your PR. If not then we'd be happy to take it over.

Thanks!

@benashz benashz self-assigned this Dec 13, 2022
@benashz
Copy link
Contributor

benashz commented Dec 15, 2022

Going to take this PR over.

@benashz
Copy link
Contributor

benashz commented Dec 15, 2022

Moved to #408

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