[bitnami/grafana-loki] Add support to override client_max_body_size in nginx (#32955)

* [bitnami/grafana-loki] Add support to override client_max_body_size in nginx

Signed-off-by: Junaid Ali <jonnie36@yahoo.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* Fix typo

Signed-off-by: Junaid Ali <jonnie36@yahoo.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* Update from client_max_body_size logic to config to cover more customizations

Signed-off-by: Junaid Ali <jonnie36@yahoo.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

---------

Signed-off-by: Junaid Ali <jonnie36@yahoo.com>
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
Co-authored-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
Junaid Ali
2025-04-16 10:49:17 +02:00
committed by GitHub
parent 00d63efcda
commit 9354dd0645
5 changed files with 18 additions and 4 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 4.7.10 (2025-04-09)
## 4.8.0 (2025-04-14)
* [bitnami/grafana-loki] Release 4.7.10 ([#32927](https://github.com/bitnami/charts/pull/32927))
* [bitnami/grafana-loki] Add support to override client_max_body_size in nginx ([#32955](https://github.com/bitnami/charts/pull/32955))
## <small>4.7.10 (2025-04-09)</small>
* [bitnami/grafana-loki] Release 4.7.10 (#32927) ([f530b84](https://github.com/bitnami/charts/commit/f530b844a26186b9c4852af11c582d3df61af5f2)), closes [#32927](https://github.com/bitnami/charts/issues/32927)
## <small>4.7.9 (2025-04-09)</small>

View File

@@ -56,4 +56,4 @@ maintainers:
name: grafana-loki
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/grafana-loki
version: 4.7.10
version: 4.8.0

View File

@@ -450,6 +450,7 @@ The [Bitnami grafana-loki](https://github.com/bitnami/containers/tree/main/bitna
| `gateway.service.externalTrafficPolicy` | Gateway service external traffic policy | `Cluster` |
| `gateway.service.annotations` | Additional custom annotations for Gateway service | `{}` |
| `gateway.service.extraPorts` | Extra ports to expose in the Gateway service | `[]` |
| `gateway.service.nginx.config` | to override configurations i.e (client_max_body_size) in nginx http block | `""` |
| `gateway.networkPolicy.enabled` | Specifies whether a NetworkPolicy should be created | `true` |
| `gateway.networkPolicy.allowExternal` | Don't require server label for connections | `true` |
| `gateway.networkPolicy.allowExternalEgress` | Allow the pod to access any range of port and all destinations. | `true` |
@@ -1657,4 +1658,4 @@ Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.

View File

@@ -34,6 +34,10 @@ data:
fastcgi_temp_path /tmp/fastcgi_temp;
uwsgi_temp_path /tmp/uwsgi_temp;
scgi_temp_path /tmp/scgi_temp;
{{- if .Values.gateway.service.nginx.config }}
{{- include "common.tplvalues.render" (dict "value" .Values.gateway.service.nginx.config "context" $) | nindent 8 }}
{{- end }}
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] $status ' '"$request" $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"';

View File

@@ -1083,6 +1083,11 @@ gateway:
## @param gateway.service.extraPorts Extra ports to expose in the Gateway service
##
extraPorts: []
## @param gateway.service.nginx.config to override configurations i.e (client_max_body_size) in nginx http block
##
nginx:
config: ""
## Network Policies
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
##