Skip to content
Merged
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 charts/gateway/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.31
version: 0.2.32

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
3 changes: 3 additions & 0 deletions charts/gateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ The command removes all the Kubernetes components associated with the chart and
| autoscaling.targetMemoryUtilizationPercentage | int | `80` | |
| autoscaling.version | string | `"v2"` | HPA version, the value is "v2" or "v2beta1", default "v2" |
| configurationSnippet | object | `{"httpAdmin":"","httpEnd":"","httpSrv":"","httpSrvLocation":"","httpStart":"","main":"","stream":""}` | Custom configuration snippet. |
| control.enabled | bool | `true` | Enable Control API |
| control.ip | string | `"127.0.0.1"` | which ip to listen on for Control API |
| control.port | int | `9090` | which port to use for Control API |
| deployment.certs | object | `{"cert":"","cert_key":"","certsSecret":"","mTLSCACert":"","mTLSCACertSecret":""}` | certs used for certificates in decoupled mode |
| deployment.certs.cert | string | `""` | cert name in certsSecret |
| deployment.certs.cert_key | string | `""` | cert key in certsSecret |
Expand Down
7 changes: 7 additions & 0 deletions charts/gateway/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,13 @@ data:
port: {{ .Values.api7ee.status_endpoint.port }}
{{- end }}

enable_control: {{ .Values.control.enabled }}
{{- if .Values.control.enabled }}
control:
ip: {{ default "127.0.0.1" .Values.control.ip }}
port: {{ default 9090 .Values.control.port }}
{{- end }}

disable_upstream_healthcheck: {{ .Values.api7ee.disable_upstream_healthcheck }}

# fine tune the parameters of LRU cache for some features like secret
Expand Down
8 changes: 8 additions & 0 deletions charts/gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -583,3 +583,11 @@ soapProxy:
tag: 1.0.0
# -- SOAP proxy image pull policy
pullPolicy: IfNotPresent

control:
# -- Enable Control API
enabled: true
# -- which ip to listen on for Control API
ip: "127.0.0.1"
# -- which port to use for Control API
port: 9090
Loading