-
Notifications
You must be signed in to change notification settings - Fork 75
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
envsubst: Argument list too long #303
Comments
Oh, maybe k8s is passing way more env variables besides the ones for modsec. |
Hi @fzipi , Thank you so much for your quick and helpful response to my issue. I’m happy to share that the solution worked perfectly! The problem was caused by Kubernetes injecting a large number of service environment variables into my pods, leading to the "Argument list too long" error when To resolve this, I added
|
Awesome, thanks for confirming. This is probably worth documenting in the README.md. Are you up for a PR? 😄 |
ping @imikiani |
Thank you so much for your kind words and for suggesting this! I truly appreciate the opportunity to contribute to this project—it’s an honor and a proud moment for me. I apologize for the delay in replying to your message. I would love to create a PR to document this solution. Could you please provide some guidance on where exactly to add the documentation? Should I include it at the end of the README.md, or is there a specific section where it would fit best? Looking forward to your advice so I can proceed correctly. Thank you again for your support and encouragement! |
I think it could fit at the very end of the README document, with a Thanks! |
When I run nginx based image of owasp/modsecurity-crs on top of kubernetes, I get error:
kubectl run mynginxtest --image=owasp/modsecurity-crs:4.8.0-nginx-202411071011
kubectl logs -f mynginxtest
The text was updated successfully, but these errors were encountered: