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

[Helm] Add snippet to main section of nginx/gateway configuration for adding custom modules #9059

Open
boniek83 opened this issue Aug 20, 2024 · 0 comments
Labels
good first issue Good for newcomers helm

Comments

@boniek83
Copy link
Contributor

Is your feature request related to a problem? Please describe.

I want to add my own module to nginx/gateway in easy way.

Describe the solution you'd like

Equivalent of httpSnippet or serverSnippet but for adding modules (or other things) in appropriate section of the configuration file, like so (mainSnippet is just a proposition):

        {{- with .Values.gateway.nginx.config.mainSnippet }}
        {{ . }}
        {{- end }}
        worker_processes  5;  ## Default: 1
        error_log  /dev/stderr {{ .Values.gateway.nginx.config.errorLogLevel }};
        pid        /tmp/nginx.pid;
        worker_rlimit_nofile 8192;

        events {
          worker_connections  4096;  ## Default: 1024
        }

        http {

Describe alternatives you've considered

The only alternative is to maintain whole configuration file yourself.

@boniek83 boniek83 changed the title Add snippet to main section of nginx/gateway configuration for adding custom modules [Helm] Add snippet to main section of nginx/gateway configuration for adding custom modules Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers helm
Projects
None yet
Development

No branches or pull requests

2 participants