Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NODE-5565 [Sidecar] Add configuration parameter for Nginx extended lo…
Browse files Browse the repository at this point in the history
…gging
braek-neck committed Jan 17, 2025
1 parent 0da3e69 commit a2cb675
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.0
1.6.0
4 changes: 4 additions & 0 deletions files/template.yaml.tpl
Original file line number Diff line number Diff line change
@@ -114,6 +114,10 @@ volumes:
value: "{{ .Config.nginx.tarantoolUpstream.server.maxConns }}"
- name: NGINX_TARANTOOL_UPSTREAM_SERVER_MAX_CONNS
value: "{{ .Config.nginx.tarantoolUpstream.server.failTimeout }}"
- name: SIDECAR_NGINX_LOGS_EXTENDED
value: "{{ .Config.sidecar.nginx.logs.extended }}"
- name: SIDECAR_NGINX_LOGS_FORMAT
value: "{{ .Config.sidecar.nginx.logs.format }}"
{{ if (isSet .ObjectMeta.Annotations (withAP "nginx-http-include")) -}}
- name: NGINX_HTTP_INCLUDE
value: "{{ index .ObjectMeta.Annotations (withAP `nginx-http-include`) }}"
2 changes: 1 addition & 1 deletion helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -23,6 +23,6 @@ annotations:
- name: sidecar
image: wallarm/sidecar:5.2.11
- name: sidecar-controller
image: wallarm/sidecar-controller:1.4.0
image: wallarm/sidecar-controller:1.6.0
- name: node-helpers
image: wallarm/node-helpers:5.2.11
7 changes: 6 additions & 1 deletion helm/values.yaml
Original file line number Diff line number Diff line change
@@ -208,6 +208,11 @@ config:
### Default configuration for sidecar init and regular containers
###
sidecar:
### Nginx sidecar-proxy log config
nginx:
logs:
extended: false
format: text
### Image for all (init and regular) containers in sidecar schema
###
image:
@@ -787,7 +792,7 @@ controller:
image:
registry: docker.io
image: wallarm/sidecar-controller
tag: 1.4.0
tag: 1.6.0
pullPolicy: IfNotPresent
# -- Admission webhook configuration
# @default -- *See below for details*

0 comments on commit a2cb675

Please sign in to comment.