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

Enable nats to run using nonroot user #1

Closed
wants to merge 1 commit into from

Conversation

tamalsaha
Copy link
Owner

I am trying to run nats in k8s as nonroot user. nats-server is listening to port 443 for wss protocol. This change allows nats-server to bind to port 443 .

The reason this is required is because k8s does not support ambient capabilities yet.

ingress-nginx project also uses this in their Dockerfile to allow nonroot user
https://github.com/kubernetes/ingress-nginx/blob/48fbdfe3ba0c0e258890c970e2561caecea532dd/rootfs/Dockerfile#L70

Signed-off-by: Tamal Saha tamal@appscode.com

@tamalsaha tamalsaha closed this Apr 20, 2024
@tamalsaha tamalsaha deleted the tamalsaha-patch-1 branch April 20, 2024 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant