Skip to content

helm(nginx): update dependency version#34

Open
shimoncohen wants to merge 4 commits into
masterfrom
helm-update-version
Open

helm(nginx): update dependency version#34
shimoncohen wants to merge 4 commits into
masterfrom
helm-update-version

Conversation

@shimoncohen

Copy link
Copy Markdown
Contributor
Question Answer
Bug fix
New feature
Breaking change
Deprecations
Documentation
Tests added
Chore

@shimoncohen shimoncohen self-assigned this Apr 5, 2026

@asafmas-rnd asafmas-rnd left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

Comment thread helm/config/default.conf
# route.yaml -> annotations: -> haproxy.router.openshift.io/timeout: 30s
# The following value MUST be smaller to avoid unwanted behaviour (timeout with status code 200)
# Calculation: average (without cache) multiplied by "factor" which should correlates with response time while high load
proxy_read_timeout 3s;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

proxy_read_timeout 3s;
Should be marked and located above
'#' proxy_read_timeout 3s;

Comment thread helm/config/default.conf
server {
listen {{ .Values.env.port }};
# the domain name it will serve for
server_name heights;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it be {{ $serviceName }} ?

Comment thread helm/config/default.conf
# large_client_header_buffers 4 12288; # 12K
# fastcgi_read_timeout 300;
add_header 'Access-Control-Allow-Origin' {{ .Values.nginx.nginx.allowedOrigins | default "*" | squote }};
add_header 'Access-Control-Allow-Headers' {{ .Values.nginx.nginx.allowedHeaders | default "*" | squote }};

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the -Max-Age is added below and here?
Why is it in both "server {" section and "location / " do we need both?

Comment thread helm/config/default.conf

location /liveness {
access_log off;
return 200;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add "log_not_found off;" as is done in many other nginx services?

Comment thread helm/config/default.conf
if ($request_method = 'POST') {
add_header 'Access-Control-Allow-Origin' '*' always;
add_header 'Access-Control-Allow-Origin' {{ .Values.nginx.nginx.allowedOrigins | default "*" | squote }} always;
add_header 'Access-Control-Allow-Methods' 'POST, OPTIONS' always;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about other methods?
If dem will have DELETE or PUT in the future?

Comment thread helm/config/default.conf
otel_span_attr opa.reason $opa_reason;
{{ end }}

proxy_pass http://heights;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't it be {{ $serviceName }}? Do we have a service port configuration?

Comment thread helm/values.yaml Outdated
@@ -78,7 +78,6 @@ nginx:
replicaCount: 1
image:
repository: nginx

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we have MC labels for nginx?

Comment thread helm/Chart.yaml
- name: nginx
version: 2.1.2
version: 2.1.3
repository: oci://acrarolibotnonprod.azurecr.io/helm/common

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where are the MC labels?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants