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

Run chartmuseum binary as nonroot user in container #167

Merged
merged 2 commits into from
Sep 10, 2018

Conversation

verwilst
Copy link
Contributor

@verwilst verwilst commented Sep 9, 2018

Chartmuseum is currently running as root in the container. This conflicts with Kubernetes clusters that have PodSecurityPolicy support enabled.

Warning Failed 5s (x3 over 18s) kubelet, k8s-prod-worker02 Error: container has runAsNonRoot and image will run as root

This PR adds a user to the container and runs chartmuseum as it.

Signed-off-by: Bart Verwilst <bart@verwilst.be>
Signed-off-by: Bart Verwilst <bart@verwilst.be>
@jdolitsky jdolitsky merged commit 969274c into helm:master Sep 10, 2018
@jdolitsky
Copy link
Contributor

@verwilst great thanks!!

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.

2 participants