Skip to content

Commit ac9ef91

Browse files
authored
chore: upgrade api7 and gateway to v3.8.17 (#228)
Signed-off-by: Nic <[email protected]>
1 parent 9e56e57 commit ac9ef91

File tree

6 files changed

+37
-18
lines changed

6 files changed

+37
-18
lines changed

charts/api7/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.17.30
18+
version: 0.17.31
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "3.8.16"
24+
appVersion: "3.8.17"
2525

2626
maintainers:
2727
- name: API7

charts/api7/README.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# api7ee3
22

3-
![Version: 0.17.30](https://img.shields.io/badge/Version-0.17.30-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.8.16](https://img.shields.io/badge/AppVersion-3.8.16-informational?style=flat-square)
3+
![Version: 0.17.31](https://img.shields.io/badge/Version-0.17.31-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.8.17](https://img.shields.io/badge/AppVersion-3.8.17-informational?style=flat-square)
44

55
A Helm chart for Kubernetes
66

@@ -29,7 +29,7 @@ A Helm chart for Kubernetes
2929
| dashboard.extraVolumes | list | `[]` | |
3030
| dashboard.image.pullPolicy | string | `"Always"` | |
3131
| dashboard.image.repository | string | `"api7/api7-ee-3-integrated"` | |
32-
| dashboard.image.tag | string | `"v3.8.16"` | |
32+
| dashboard.image.tag | string | `"v3.8.17"` | |
3333
| dashboard.keyCertSecret | string | `""` | |
3434
| dashboard.livenessProbe.failureThreshold | int | `30` | |
3535
| dashboard.livenessProbe.initialDelaySeconds | int | `180` | |
@@ -54,7 +54,7 @@ A Helm chart for Kubernetes
5454
| dashboard_configuration.developer_proxy.cache_failure_ttl | int | `15` | |
5555
| dashboard_configuration.developer_proxy.cache_success_count | int | `256` | |
5656
| dashboard_configuration.developer_proxy.cache_success_ttl | int | `15` | |
57-
| dashboard_configuration.log.level | string | `"warn"` | |
57+
| dashboard_configuration.log.level | string | `"warn"` | Allowed values: `debug`, `info`, `warn`, `error` |
5858
| dashboard_configuration.log.output | string | `"stderr"` | |
5959
| dashboard_configuration.prometheus.addr | string | `"http://api7-prometheus-server:9090"` | |
6060
| dashboard_configuration.prometheus.basic_auth.password | string | `""` | |
@@ -72,6 +72,11 @@ A Helm chart for Kubernetes
7272
| dashboard_configuration.prometheus.whitelist[2] | string | `"/api/v1/format_query"` | |
7373
| dashboard_configuration.prometheus.whitelist[3] | string | `"/api/v1/series"` | |
7474
| dashboard_configuration.prometheus.whitelist[4] | string | `"/api/v1/labels"` | |
75+
| dashboard_configuration.security.ip_restriction.allow_list | list | `[]` | empty means allow all |
76+
| dashboard_configuration.security.ip_restriction.deny_list | list | `[]` | |
77+
| dashboard_configuration.security.ip_restriction.message | string | `"Access denied"` | |
78+
| dashboard_configuration.security.ip_restriction.response_code | int | `403` | |
79+
| dashboard_configuration.security.trusted_proxies | list | `["0.0.0.0/0","::/0"]` | A list of network origins (IPv4 addresses, IPv4 CIDRs, IPv6 addresses or IPv6 CIDRs) from which to trust request's headers("X-Forwarded-For", "X-Real-IP") that contain alternative client IP. |
7580
| dashboard_configuration.server.listen.disable | bool | `true` | |
7681
| dashboard_configuration.server.listen.host | string | `"0.0.0.0"` | |
7782
| dashboard_configuration.server.listen.port | int | `7080` | |
@@ -105,7 +110,7 @@ A Helm chart for Kubernetes
105110
| developer_portal.extraVolumes | list | `[]` | |
106111
| developer_portal.image.pullPolicy | string | `"Always"` | |
107112
| developer_portal.image.repository | string | `"api7/api7-ee-developer-portal"` | |
108-
| developer_portal.image.tag | string | `"v3.8.16"` | |
113+
| developer_portal.image.tag | string | `"v3.8.17"` | |
109114
| developer_portal.keyCertSecret | string | `""` | |
110115
| developer_portal.livenessProbe.failureThreshold | int | `10` | |
111116
| developer_portal.livenessProbe.initialDelaySeconds | int | `60` | |
@@ -120,7 +125,7 @@ A Helm chart for Kubernetes
120125
| developer_portal_configuration.database.max_idle_time | string | `"30s"` | |
121126
| developer_portal_configuration.database.max_open_conns | int | `30` | |
122127
| developer_portal_configuration.enable | bool | `true` | |
123-
| developer_portal_configuration.log.level | string | `"warn"` | |
128+
| developer_portal_configuration.log.level | string | `"warn"` | Allowed values: `debug`, `info`, `warn`, `error` |
124129
| developer_portal_configuration.log.output | string | `"stderr"` | |
125130
| developer_portal_configuration.server.listen.host | string | `"0.0.0.0"` | |
126131
| developer_portal_configuration.server.listen.port | int | `4321` | |
@@ -145,7 +150,7 @@ A Helm chart for Kubernetes
145150
| dp_manager.extraVolumes | list | `[]` | |
146151
| dp_manager.image.pullPolicy | string | `"Always"` | |
147152
| dp_manager.image.repository | string | `"api7/api7-ee-dp-manager"` | |
148-
| dp_manager.image.tag | string | `"v3.8.16"` | |
153+
| dp_manager.image.tag | string | `"v3.8.17"` | |
149154
| dp_manager.livenessProbe.failureThreshold | int | `10` | |
150155
| dp_manager.livenessProbe.initialDelaySeconds | int | `60` | |
151156
| dp_manager.livenessProbe.periodSeconds | int | `3` | |
@@ -161,7 +166,7 @@ A Helm chart for Kubernetes
161166
| dp_manager_configuration.database.dsn | string | `"postgres://api7ee:changeme@api7-postgresql:5432/api7ee"` | |
162167
| dp_manager_configuration.database.max_idle_time | string | `"30s"` | |
163168
| dp_manager_configuration.database.max_open_conns | int | `30` | |
164-
| dp_manager_configuration.log.level | string | `"warn"` | |
169+
| dp_manager_configuration.log.level | string | `"warn"` | Allowed values: `debug`, `info`, `warn`, `error` |
165170
| dp_manager_configuration.log.output | string | `"stderr"` | |
166171
| dp_manager_configuration.prometheus.addr | string | `"http://api7-prometheus-server:9090"` | |
167172
| dp_manager_configuration.prometheus.basic_auth.password | string | `""` | |

charts/api7/values.yaml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dashboard:
1818
repository: api7/api7-ee-3-integrated
1919
pullPolicy: Always
2020
# Overrides the image tag whose default is the chart appVersion.
21-
tag: "v3.8.16"
21+
tag: "v3.8.17"
2222
# Resources of the deployment.
2323
# It has a higher priority than the common resources configuration:
2424
# when this field is configured, it is used first in the deployment,
@@ -54,7 +54,7 @@ dp_manager:
5454
repository: api7/api7-ee-dp-manager
5555
pullPolicy: Always
5656
# Overrides the image tag whose default is the chart appVersion.
57-
tag: "v3.8.16"
57+
tag: "v3.8.17"
5858
# Resources of the deployment.
5959
# It has a higher priority than the common resources configuration:
6060
# when this field is configured, it is used first in the deployment,
@@ -92,7 +92,7 @@ developer_portal:
9292
repository: api7/api7-ee-developer-portal
9393
pullPolicy: Always
9494
# Overrides the image tag whose default is the chart appVersion.
95-
tag: "v3.8.16"
95+
tag: "v3.8.17"
9696

9797
extraEnvVars: []
9898
extraVolumes: []
@@ -318,6 +318,7 @@ dashboard_configuration:
318318
secure: false
319319
max_age: 86400
320320
log:
321+
# -- Allowed values: `debug`, `info`, `warn`, `error`
321322
level: warn
322323
output: stderr
323324
database:
@@ -371,8 +372,19 @@ dashboard_configuration:
371372
# config_bucket: "to-push-config-data"
372373
# cron_spec: "@every 1m"
373374

374-
# security:
375-
# content_security_policy: "default-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data:"
375+
security:
376+
# content_security_policy: "default-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data:"
377+
378+
# -- A list of network origins (IPv4 addresses, IPv4 CIDRs, IPv6 addresses or IPv6 CIDRs) from which to trust
379+
# request's headers("X-Forwarded-For", "X-Real-IP") that contain alternative client IP.
380+
trusted_proxies: ["0.0.0.0/0", "::/0"]
381+
ip_restriction:
382+
# -- empty means allow all
383+
allow_list: []
384+
# -0 empty means deny none
385+
deny_list: []
386+
message: "Access denied"
387+
response_code: 403
376388

377389
dp_manager_configuration:
378390
server:
@@ -391,6 +403,7 @@ dp_manager_configuration:
391403
host: "127.0.0.1"
392404
port: 7902
393405
log:
406+
# -- Allowed values: `debug`, `info`, `warn`, `error`
394407
level: warn
395408
output: stderr
396409
database:
@@ -435,6 +448,7 @@ developer_portal_configuration:
435448
host: "127.0.0.1"
436449
port: 4322
437450
log:
451+
# -- Allowed values: `debug`, `info`, `warn`, `error`
438452
level: warn
439453
output: stderr
440454
database:

charts/gateway/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ type: application
1414
# This is the chart version. This version number should be incremented each time you make changes
1515
# to the chart and its templates, including the app version.
1616
# Versions are expected to follow Semantic Versioning (https://semver.org/)
17-
version: 0.2.34
17+
version: 0.2.35
1818

1919
# This is the version number of the application being deployed. This version number should be
2020
# incremented each time you make changes to the application. Versions are not expected to
2121
# follow Semantic Versioning. They should reflect the version the application is using.
22-
appVersion: "3.8.16"
22+
appVersion: "3.8.17"
2323

2424
maintainers:
2525
- name: API7

charts/gateway/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ The command removes all the Kubernetes components associated with the chart and
205205
| logs.accessLogFormatEscape | string | `"default"` | Allows setting json or default characters escaping in variables |
206206
| logs.enableAccessLog | bool | `true` | Enable access log or not, default true |
207207
| logs.errorLog | string | `"/dev/stderr"` | Error log path |
208-
| logs.errorLogLevel | string | `"warn"` | Error log level |
208+
| logs.errorLogLevel | string | `"warn"` | Error log level, Allowed values: `debug`, `info`, `notice`, `warn`, `error`, `crit`, `alert`, `or` `emerg` |
209209
| nameOverride | string | `""` | |
210210
| nginx.enableCPUAffinity | bool | `true` | |
211211
| nginx.envs | list | `[]` | |

charts/gateway/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ logs:
462462
accessLogFormatEscape: default
463463
# -- Error log path
464464
errorLog: "/dev/stderr"
465-
# -- Error log level
465+
# -- Error log level, Allowed values: `debug`, `info`, `notice`, `warn`, `error`, `crit`, `alert`, `or` `emerg`
466466
errorLogLevel: "warn"
467467

468468
dns:

0 commit comments

Comments
 (0)