File tree Expand file tree Collapse file tree 5 files changed +11
-2
lines changed Expand file tree Collapse file tree 5 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22appVersion : v0.0.0
33description : A Helm chart for Codefresh Internal Gateway
44name : internal-gateway
5- version : 0.7 .0
5+ version : 0.8 .0
66home : https://github.com/codefresh-io/helm-charts
77keywords :
88 - codefresh
Original file line number Diff line number Diff line change 11# internal-gateway
22
3- ![ Version: 0.7 .0] ( https://img.shields.io/badge/Version-0.7 .0-informational?style=flat-square ) ![ AppVersion: v0.0.0] ( https://img.shields.io/badge/AppVersion-v0.0.0-informational?style=flat-square )
3+ ![ Version: 0.8 .0] ( https://img.shields.io/badge/Version-0.8 .0-informational?style=flat-square ) ![ AppVersion: v0.0.0] ( https://img.shields.io/badge/AppVersion-v0.0.0-informational?style=flat-square )
44
55A Helm chart for Codefresh Internal Gateway
66
@@ -46,6 +46,7 @@ A Helm chart for Codefresh Internal Gateway
4646| nginx.config.resolver | string | ` nil ` | Allows to set a custom resolver |
4747| nginx.config.serverDirectives | object | ` {} ` | Allows appending custom directives to the server block (map) |
4848| nginx.config.serverSnippet | string | ` "" ` | Allows appending custom configuration to the server block (string) |
49+ | nginx.config.signadot | bool | ` false ` | Misc signadot configuration |
4950| nginx.config.verboseLogging | bool | ` false ` | Enable logging of 2xx and 3xx HTTP requests |
5051| nginx.config.workerConnections | string | ` "16384" ` | Sets the maximum number of simultaneous connections that can be opened by a worker process. |
5152| nginx.config.workerProcesses | string | ` "8" ` | Defines the number of worker processes. |
Original file line number Diff line number Diff line change 7272 listen 8080;
7373 listen [::]:8080;
7474
75+ {{- range $key , $val := $nginxConfig .serverDirectives } }
76+ { { printf " %s %s;" $key $val } }
77+ { {- end } }
78+
7579 { {- range $key , $val := $nginxConfig .locations } }
7680 { {- if $val .enabled } }
7781 location { { $key } } {
Original file line number Diff line number Diff line change @@ -5,7 +5,9 @@ authHeaderSet: |
55 proxy_set_header X-CF-Auth-Entity $auth_entity;
66locationSnippet: |
77 proxy_http_version 1.1;
8+ { {- if not .Values.signadot } }
89 proxy_set_header Host $host;
10+ { {- end } }
911 proxy_set_header Upgrade $http_upgrade;
1012 proxy_set_header Connection $connection_upgrade;
1113 proxy_set_header X-Request-ID $request_id;
Original file line number Diff line number Diff line change @@ -148,6 +148,8 @@ nginx:
148148 # !! Moved into separate template at `templates/nginx/configmap.yaml`
149149 # @default -- See below
150150 file : " "
151+ # -- Misc signadot configuration
152+ signadot : false
151153
152154# -- Controller parameters
153155# @default -- See below
You can’t perform that action at this time.
0 commit comments