File tree Expand file tree Collapse file tree 4 files changed +24
-7
lines changed
Expand file tree Collapse file tree 4 files changed +24
-7
lines changed Original file line number Diff line number Diff line change 2525 uses : actions/checkout@v6
2626
2727 - name : Set up Docker Buildx
28- uses : docker/setup-buildx-action@v3
28+ uses : docker/setup-buildx-action@v4
2929
3030 - name : Set up Git
3131 run : |
4040 rm -rf helm-${HELM_VERSION}-linux-arm64.tar.gz linux-arm64
4141
4242 - name : Log in to GitHub Container Registry
43- uses : docker/login-action@v3
43+ uses : docker/login-action@v4
4444 with :
4545 registry : ghcr.io
4646 username : ${{ github.actor }}
Original file line number Diff line number Diff line change 5353 git config --global user.email '${{ vars.APP_ID }}+buildandpublish[bot]@users.noreply.github.com'
5454
5555 - name : Set up Docker Buildx
56- uses : docker/setup-buildx-action@v3
56+ uses : docker/setup-buildx-action@v4
5757
5858 - name : Install helm
5959 run : |
6363 rm -rf helm-${HELM_VERSION}-linux-arm64.tar.gz linux-arm64
6464
6565 - name : Log in to GitHub Container Registry
66- uses : docker/login-action@v3
66+ uses : docker/login-action@v4
6767 with :
6868 registry : ghcr.io
6969 username : ${{ github.actor }}
Original file line number Diff line number Diff line change @@ -142,6 +142,22 @@ data:
142142 limit_req_zone $binary_remote_addr zone=login:{{ .Values.nginx.rate_limit_login.zone_memory_size }} rate={{ .Values.nginx.rate_limit_login.requests_per_second }}r/s;
143143 {{- end }}
144144
145+ {{- if .Values.nginx.accessLog.excludeReadinessProbe }}
146+ # Exclude readiness probe from access log
147+ geo $remote_addr $log_client_ip {
148+ default 1;
149+ 10.0.0.0/8 0;
150+ 172.16.0.0/12 0;
151+ 192.168.0.0/16 0;
152+ }
153+ map "$request_uri $http_user_agent" $loggable {
154+ {{- with .Values.nginx.readinessProbe }}
155+ ~*^{{ replace "." `\.` .httpGet.path }}.*kube-probe $log_client_ip;
156+ {{- end }}
157+ default 1;
158+ }
159+ {{- end }}
160+
145161 server {
146162 listen 8080;
147163 server_name {{ index $.Values.ingress.hosts 0 "host" | quote }};
@@ -255,7 +271,7 @@ data:
255271 {{- end }}
256272
257273 {{- if .Values.nginx.accessLog.enabled }}
258- access_log /dev/stdout {{ if .Values.nginx.accessLog.logUpstreamTime }}upstream_time{{ else }}main{{- end }};
274+ access_log /dev/stdout {{ if .Values.nginx.accessLog.logUpstreamTime }}upstream_time{{ else }}main{{- end }}{{ if .Values.nginx.accessLog.excludeReadinessProbe }} if=$loggable{{- end }} ;
259275 {{- else }}
260276 access_log off;
261277 {{- end }}
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ karpenter:
8181nginx :
8282 image :
8383 repository : public.ecr.aws/nginx/nginx
84- tag : 1.29.4 -alpine-slim
84+ tag : 1.29.5 -alpine-slim
8585 pullPolicy : IfNotPresent
8686 resources : {}
8787 disallow_robots : false
9999 accessLog :
100100 enabled : true
101101 logUpstreamTime : true
102+ excludeReadinessProbe : true
102103 fastcgi_buffer_size : 16k
103104 fastcgi_buffers_number : 16
104105 fastcgi_buffers_size : 8k
@@ -180,7 +181,7 @@ offload:
180181 fileName : wpoffload_private.pem
181182 errorPages :
182183 enabled : false
183- image : public.ecr.aws/aws-cli/aws-cli:2.32.18
184+ image : public.ecr.aws/aws-cli/aws-cli:2.34.6
184185 path : /var/www/html/error-pages
185186
186187
You can’t perform that action at this time.
0 commit comments