diff --git a/charts/qovery/values-aws.yaml b/charts/qovery/values-aws.yaml index e726597..875603d 100644 --- a/charts/qovery/values-aws.yaml +++ b/charts/qovery/values-aws.yaml @@ -108,8 +108,13 @@ ingress-nginx: enable-real-ip: "false" # set-by-customer # customize log-format / set-by-customer # default format can be found in the template: https://github.com/nginxinc/kubernetes-ingress/blob/v3.5.2/internal/configs/version1/nginx.tmpl#L44 + # nginx_controller_log_format_upstream can be a json that why we pass it in the value file log-format-upstream: > + {%- if nginx_controller_log_format_upstream %} + set-by-customer + {%- else %} $remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" "$http_x_forwarded_for" + {%- endif %} log-format-escaping-json: "false" # set-by-customer log-format-escaping-none: "false" # set-by-customer # the Ingress Class name to be used by Ingresses (use "nginx-qovery" for Qovery application/container deployments) diff --git a/charts/qovery/values-demo-aws.yaml b/charts/qovery/values-demo-aws.yaml index 602af02..553cc78 100644 --- a/charts/qovery/values-demo-aws.yaml +++ b/charts/qovery/values-demo-aws.yaml @@ -108,8 +108,13 @@ ingress-nginx: enable-real-ip: "false" # set-by-customer # customize log-format / set-by-customer # default format can be found in the template: https://github.com/nginxinc/kubernetes-ingress/blob/v3.5.2/internal/configs/version1/nginx.tmpl#L44 + # nginx_controller_log_format_upstream can be a json that why we pass it in the value file log-format-upstream: > + {%- if nginx_controller_log_format_upstream %} + set-by-customer + {%- else %} $remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" "$http_x_forwarded_for" + {%- endif %} log-format-escaping-json: "false" # set-by-customer log-format-escaping-none: "false" # set-by-customer # the Ingress Class name to be used by Ingresses (use "nginx-qovery" for Qovery application/container deployments) diff --git a/charts/qovery/values-demo-gcp.yaml b/charts/qovery/values-demo-gcp.yaml index 43eba01..8cbff2f 100644 --- a/charts/qovery/values-demo-gcp.yaml +++ b/charts/qovery/values-demo-gcp.yaml @@ -104,8 +104,13 @@ ingress-nginx: enable-real-ip: "false" # set-by-customer # customize log-format / set-by-customer # default format can be found in the template: https://github.com/nginxinc/kubernetes-ingress/blob/v3.5.2/internal/configs/version1/nginx.tmpl#L44 + # nginx_controller_log_format_upstream can be a json that why we pass it in the value file log-format-upstream: > + {%- if nginx_controller_log_format_upstream %} + set-by-customer + {%- else %} $remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" "$http_x_forwarded_for" + {%- endif %} log-format-escaping-json: "false" # set-by-customer log-format-escaping-none: "false" # set-by-customer # the Ingress Class name to be used by Ingresses (use "nginx-qovery" for Qovery application/container deployments) diff --git a/charts/qovery/values-demo-scaleway.yaml b/charts/qovery/values-demo-scaleway.yaml index 4bff8b9..7f6b629 100644 --- a/charts/qovery/values-demo-scaleway.yaml +++ b/charts/qovery/values-demo-scaleway.yaml @@ -108,8 +108,13 @@ ingress-nginx: enable-real-ip: "false" # set-by-customer # customize log-format / set-by-customer # default format can be found in the template: https://github.com/nginxinc/kubernetes-ingress/blob/v3.5.2/internal/configs/version1/nginx.tmpl#L44 + # nginx_controller_log_format_upstream can be a json that why we pass it in the value file log-format-upstream: > + {%- if nginx_controller_log_format_upstream %} + set-by-customer + {%- else %} $remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" "$http_x_forwarded_for" + {%- endif %} log-format-escaping-json: "false" # set-by-customer log-format-escaping-none: "false" # set-by-customer # the Ingress Class name to be used by Ingresses (use "nginx-qovery" for Qovery application/container deployments) diff --git a/charts/qovery/values-gcp.yaml b/charts/qovery/values-gcp.yaml index d76ee2e..5b9efd2 100644 --- a/charts/qovery/values-gcp.yaml +++ b/charts/qovery/values-gcp.yaml @@ -104,8 +104,13 @@ ingress-nginx: enable-real-ip: "false" # set-by-customer # customize log-format / set-by-customer # default format can be found in the template: https://github.com/nginxinc/kubernetes-ingress/blob/v3.5.2/internal/configs/version1/nginx.tmpl#L44 + # nginx_controller_log_format_upstream can be a json that why we pass it in the value file log-format-upstream: > + {%- if nginx_controller_log_format_upstream %} + set-by-customer + {%- else %} $remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" "$http_x_forwarded_for" + {%- endif %} log-format-escaping-json: "false" # set-by-customer log-format-escaping-none: "false" # set-by-customer # the Ingress Class name to be used by Ingresses (use "nginx-qovery" for Qovery application/container deployments) diff --git a/charts/qovery/values-scaleway.yaml b/charts/qovery/values-scaleway.yaml index 950aedc..80c11c4 100644 --- a/charts/qovery/values-scaleway.yaml +++ b/charts/qovery/values-scaleway.yaml @@ -108,8 +108,13 @@ ingress-nginx: enable-real-ip: "false" # set-by-customer # customize log-format / set-by-customer # default format can be found in the template: https://github.com/nginxinc/kubernetes-ingress/blob/v3.5.2/internal/configs/version1/nginx.tmpl#L44 + # nginx_controller_log_format_upstream can be a json that why we pass it in the value file log-format-upstream: > + {%- if nginx_controller_log_format_upstream %} + set-by-customer + {%- else %} $remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" "$http_x_forwarded_for" + {%- endif %} log-format-escaping-json: "false" # set-by-customer log-format-escaping-none: "false" # set-by-customer # the Ingress Class name to be used by Ingresses (use "nginx-qovery" for Qovery application/container deployments)