Skip to content

Commit ea43733

Browse files
committed
Address suggestions from PR
1 parent a3ebe12 commit ea43733

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

charts/apisix/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ The command removes all the Kubernetes components associated with the chart and
128128
| apisix.status.ip | string | `"0.0.0.0"` | |
129129
| apisix.status.port | int | `7085` | |
130130
| apisix.stream_plugins | list | `[]` | Customize the list of APISIX stream_plugins to enable. By default, APISIX's [default stream_plugins](https://github.com/apache/apisix/blob/master/apisix/cli/config.lua#L294) are automatically used. |
131+
| apisix.trustedAddresses[0] | string | `"127.0.0.1"` | |
131132
| apisix.vault.enabled | bool | `false` | Enable or disable the vault integration |
132133
| apisix.vault.host | string | `""` | The host address where the vault server is running. |
133134
| apisix.vault.prefix | string | `""` | Prefix allows you to better enforcement of policies. |

charts/apisix/templates/configmap.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,9 @@ data:
176176
port: {{ default "7085" (.Values.apisix.status.port | toString) }}
177177
{{- end}}
178178
179-
{{ if .Values.apisix.trusted_addresses }}
179+
{{ if .Values.apisix.trustedAddresses }}
180180
trusted_addresses:
181-
{{- toYaml .Values.apisix.trusted_addresses | nindent 8 }}
181+
{{- toYaml .Values.apisix.trustedAddresses | nindent 8 }}
182182
{{ end }}
183183
184184
nginx_config: # config for render the template to genarate nginx.conf

charts/apisix/values.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,9 +585,8 @@ apisix:
585585
ip: "0.0.0.0"
586586
port: 7085
587587

588-
trusted_addresses:
588+
trustedAddresses:
589589
- 127.0.0.1
590-
- 172.18.0.0/16
591590

592591
# -- external etcd configuration. If etcd.enabled is false, these configuration will be used.
593592
externalEtcd:

0 commit comments

Comments
 (0)