Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kubernetes/helm/gateway-helm-chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: gateway
kubeVersion: ">=1.24.0-0"
description: Helm chart for deploying the Gateway Operator components
version: 1.2.0-rc
version: 1.2.0
appVersion: "1.2.0"
type: application
home: https://github.com/wso2/api-platform
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{{- $controller := .Values.gateway.controller -}}
{{- $hpa := $controller.hpa -}}
{{- if and $controller.deployment.enabled $hpa.enabled }}
{{- if ne .Values.gateway.config.controller.storage.type "postgres" }}
{{- fail "gateway.controller.hpa requires gateway.config.controller.storage.type=postgres — SQLite does not support multiple replicas." }}
{{- if not (has .Values.gateway.config.controller.storage.type (list "postgres" "sqlserver")) }}
{{- fail "gateway.controller.hpa requires gateway.config.controller.storage.type to be postgres or sqlserver — SQLite does not support multiple replicas." }}
{{- end }}
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,12 @@ data:
[policy_engine]
tracing_service_name = {{ $pe.tracing_service_name | default "" | quote }}

[policy_engine.request_body]
max_decompressed_bytes = {{ $pe.request_body.max_decompressed_bytes | int64 }}

[policy_engine.response_body]
max_decompressed_bytes = {{ $pe.response_body.max_decompressed_bytes | int64 }}

[policy_engine.server]
extproc_port = {{ $pe.server.extproc_port }}

Expand Down
8 changes: 8 additions & 0 deletions kubernetes/helm/gateway-helm-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,14 @@ gateway:
# Service name reported to the tracing backend (see gateway.config.tracing below)
tracing_service_name: policy-engine

# Caps decompressed bytes buffered per body (buffered mode) or per chunk
# (streaming)
request_body:
max_decompressed_bytes: 10485760

response_body:
max_decompressed_bytes: 10485760

server:
# ext_proc port for gRPC server
extproc_port: 9001
Expand Down
Loading