File tree Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ A Helm chart for installing ggbridge
76
76
| proxy.affinity | object | ` {} ` | Affinity for pod assignment |
77
77
| proxy.annotations | object | ` {} ` | Set proxy annotations |
78
78
| proxy.labels | object | ` {} ` | Set proxy labels |
79
+ | proxy.logLevel | string | ` "notice" ` | Set nginx sidecar container and proxy pod log level (default: notice) |
79
80
| proxy.networkPolicy.allowExternal | bool | ` true ` | When true, server will accept connections from any source |
80
81
| proxy.networkPolicy.enabled | bool | ` true ` | Specifies whether a NetworkPolicy should be created |
81
82
| proxy.networkPolicy.extraEgress | list | ` [] ` | Add extra egress rules to the NetworkPolicy |
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ load_module "/usr/lib/nginx/modules/ngx_stream_module.so";
19
19
20
20
worker_processes 1;
21
21
22
- error_log stderr notice ;
22
+ error_log stderr {{ .Values.proxy.logLevel }} ;
23
23
pid /var/run/nginx.pid ;
24
24
25
25
events {
Original file line number Diff line number Diff line change 5
5
6
6
{{ - $fullname := ternary ( include "ggbridge.server.fullname" $context ) ( include "ggbridge.client.fullname" $context ) ( eq $context .Values.mode "server" ) -}}
7
7
{{ - $ports := $context .Values.proxy.service.ports -}}
8
+ {{ - $logLevel := $context .Values.proxy.logLevel -}}
8
9
9
10
load_module "/usr/lib/nginx/modules/ngx_stream_module.so" ;
10
11
11
12
worker_processes 1;
12
13
13
- error_log stderr notice ;
14
+ error_log stderr {{ $logLevel }} ;
14
15
pid /var/run/nginx.pid ;
15
16
16
17
events {
Original file line number Diff line number Diff line change @@ -379,6 +379,8 @@ server:
379
379
annotations : {}
380
380
381
381
proxy :
382
+ # -- Set nginx sidecar container and proxy pod log level (default: notice)
383
+ logLevel : notice
382
384
# -- Number of pods for each deployment
383
385
replicaCount : 1
384
386
updateStrategy :
You can’t perform that action at this time.
0 commit comments