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

fix(kubernetes): Randomize nsPatch file name #225

Merged
merged 1 commit into from
Feb 27, 2020

Conversation

robert-milan
Copy link
Contributor

This PR randomizes the file name used for nsPatch

Previously, in a multi user environment with a shared /tmp directory users would run into a problem if the tk-kubectx-namespace.yaml file was not cleaned up properly. If the file was created by a different user on the system, this would sometimes lead to tanka failing to create the file for another user.

@sh0rez sh0rez changed the title Randomize file name used for nsPatch fix(kubernetes): Randomize nsPatch file name Feb 27, 2020
@sh0rez sh0rez added component/kubernetes Working with Kubernetes clusters kind/bug Something isn't working labels Feb 27, 2020
Copy link
Member

@sh0rez sh0rez left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@sh0rez sh0rez merged commit cd84c7c into master Feb 27, 2020
@sh0rez sh0rez deleted the randomize-temp-context-file branch February 27, 2020 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/kubernetes Working with Kubernetes clusters kind/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants