Skip to content

Commit eecbf12

Browse files
authored
chore: upgrade api7 to v3.2.14.0 (#125)
Signed-off-by: Nic <[email protected]>
1 parent 65377e0 commit eecbf12

File tree

3 files changed

+214
-15
lines changed

3 files changed

+214
-15
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.15.0
18+
version: 0.16.0
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.0.0"
24+
appVersion: "3.2.14"
2525

2626
dependencies:
2727
- name: prometheus

charts/api7/README.md

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

3-
![Version: 0.15.0](https://img.shields.io/badge/Version-0.15.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.0.0](https://img.shields.io/badge/AppVersion-3.0.0-informational?style=flat-square)
3+
![Version: 0.16.0](https://img.shields.io/badge/Version-0.16.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.2.14](https://img.shields.io/badge/AppVersion-3.2.14-informational?style=flat-square)
44

55
A Helm chart for Kubernetes
66

@@ -21,14 +21,103 @@ A Helm chart for Kubernetes
2121
| dashboard.extraEnvVars | list | `[]` | |
2222
| dashboard.image.pullPolicy | string | `"Always"` | |
2323
| dashboard.image.repository | string | `"api7/api7-ee-3-integrated"` | |
24-
| dashboard.image.tag | string | `"v3.2.13.0"` | |
24+
| dashboard.image.tag | string | `"v3.2.14.0"` | |
2525
| dashboard.keyCertSecret | string | `""` | |
2626
| dashboard.replicaCount | int | `1` | |
2727
| dashboard_configuration.console.addr | string | `"http://127.0.0.1:3000"` | |
2828
| dashboard_configuration.database.dsn | string | `"postgres://api7ee:changeme@api7-postgresql:5432/api7ee"` | |
29+
| dashboard_configuration.database.max_idle_conns | int | `2` | |
30+
| dashboard_configuration.database.max_open_conns | int | `30` | |
2931
| dashboard_configuration.log.level | string | `"warn"` | |
3032
| dashboard_configuration.log.output | string | `"stderr"` | |
31-
| dashboard_configuration.login.source | string | `"DB"` | |
33+
| dashboard_configuration.plugins[0] | string | `"real-ip"` | |
34+
| dashboard_configuration.plugins[10] | string | `"referer-restriction"` | |
35+
| dashboard_configuration.plugins[11] | string | `"uri-blocker"` | |
36+
| dashboard_configuration.plugins[12] | string | `"request-validation"` | |
37+
| dashboard_configuration.plugins[13] | string | `"authz-casbin"` | |
38+
| dashboard_configuration.plugins[14] | string | `"authz-casdoor"` | |
39+
| dashboard_configuration.plugins[15] | string | `"wolf-rbac"` | |
40+
| dashboard_configuration.plugins[16] | string | `"multi-auth"` | |
41+
| dashboard_configuration.plugins[17] | string | `"ldap-auth"` | |
42+
| dashboard_configuration.plugins[18] | string | `"forward-auth"` | |
43+
| dashboard_configuration.plugins[19] | string | `"saml-auth"` | |
44+
| dashboard_configuration.plugins[1] | string | `"error-page"` | |
45+
| dashboard_configuration.plugins[20] | string | `"opa"` | |
46+
| dashboard_configuration.plugins[21] | string | `"authz-keycloak"` | |
47+
| dashboard_configuration.plugins[22] | string | `"proxy-mirror"` | |
48+
| dashboard_configuration.plugins[23] | string | `"proxy-cache"` | |
49+
| dashboard_configuration.plugins[24] | string | `"api-breaker"` | |
50+
| dashboard_configuration.plugins[25] | string | `"limit-req"` | |
51+
| dashboard_configuration.plugins[26] | string | `"gzip"` | |
52+
| dashboard_configuration.plugins[27] | string | `"kafka-proxy"` | |
53+
| dashboard_configuration.plugins[28] | string | `"grpc-transcode"` | |
54+
| dashboard_configuration.plugins[29] | string | `"grpc-web"` | |
55+
| dashboard_configuration.plugins[2] | string | `"client-control"` | |
56+
| dashboard_configuration.plugins[30] | string | `"public-api"` | |
57+
| dashboard_configuration.plugins[31] | string | `"data-mask"` | |
58+
| dashboard_configuration.plugins[32] | string | `"opentelemetry"` | |
59+
| dashboard_configuration.plugins[33] | string | `"datadog"` | |
60+
| dashboard_configuration.plugins[34] | string | `"echo"` | |
61+
| dashboard_configuration.plugins[35] | string | `"loggly"` | |
62+
| dashboard_configuration.plugins[36] | string | `"splunk-hec-logging"` | |
63+
| dashboard_configuration.plugins[37] | string | `"skywalking-logger"` | |
64+
| dashboard_configuration.plugins[38] | string | `"google-cloud-logging"` | |
65+
| dashboard_configuration.plugins[39] | string | `"sls-logger"` | |
66+
| dashboard_configuration.plugins[3] | string | `"proxy-control"` | |
67+
| dashboard_configuration.plugins[40] | string | `"tcp-logger"` | |
68+
| dashboard_configuration.plugins[41] | string | `"rocketmq-logger"` | |
69+
| dashboard_configuration.plugins[42] | string | `"udp-logger"` | |
70+
| dashboard_configuration.plugins[43] | string | `"file-logger"` | |
71+
| dashboard_configuration.plugins[44] | string | `"clickhouse-logger"` | |
72+
| dashboard_configuration.plugins[45] | string | `"ext-plugin-post-resp"` | |
73+
| dashboard_configuration.plugins[46] | string | `"serverless-post-function"` | |
74+
| dashboard_configuration.plugins[47] | string | `"azure-functions"` | |
75+
| dashboard_configuration.plugins[48] | string | `"aws-lambda"` | |
76+
| dashboard_configuration.plugins[49] | string | `"openwhisk"` | |
77+
| dashboard_configuration.plugins[4] | string | `"zipkin"` | |
78+
| dashboard_configuration.plugins[50] | string | `"consumer-restriction"` | |
79+
| dashboard_configuration.plugins[51] | string | `"acl"` | |
80+
| dashboard_configuration.plugins[52] | string | `"basic-auth"` | |
81+
| dashboard_configuration.plugins[53] | string | `"cors"` | |
82+
| dashboard_configuration.plugins[54] | string | `"csrf"` | |
83+
| dashboard_configuration.plugins[55] | string | `"fault-injection"` | |
84+
| dashboard_configuration.plugins[56] | string | `"hmac-auth"` | |
85+
| dashboard_configuration.plugins[57] | string | `"jwt-auth"` | |
86+
| dashboard_configuration.plugins[58] | string | `"key-auth"` | |
87+
| dashboard_configuration.plugins[59] | string | `"openid-connect"` | |
88+
| dashboard_configuration.plugins[5] | string | `"ext-plugin-pre-req"` | |
89+
| dashboard_configuration.plugins[60] | string | `"limit-count"` | |
90+
| dashboard_configuration.plugins[61] | string | `"redirect"` | |
91+
| dashboard_configuration.plugins[62] | string | `"request-id"` | |
92+
| dashboard_configuration.plugins[63] | string | `"proxy-rewrite"` | |
93+
| dashboard_configuration.plugins[64] | string | `"response-rewrite"` | |
94+
| dashboard_configuration.plugins[65] | string | `"workflow"` | |
95+
| dashboard_configuration.plugins[66] | string | `"proxy-buffering"` | |
96+
| dashboard_configuration.plugins[67] | string | `"tencent-cloud-cls"` | |
97+
| dashboard_configuration.plugins[68] | string | `"soap"` | |
98+
| dashboard_configuration.plugins[69] | string | `"openfunction"` | |
99+
| dashboard_configuration.plugins[6] | string | `"mocking"` | |
100+
| dashboard_configuration.plugins[70] | string | `"graphql-proxy-cache"` | |
101+
| dashboard_configuration.plugins[71] | string | `"ext-plugin-post-req"` | |
102+
| dashboard_configuration.plugins[72] | string | `"inspect"` | |
103+
| dashboard_configuration.plugins[73] | string | `"graphql-limit-count"` | |
104+
| dashboard_configuration.plugins[74] | string | `"elasticsearch-logger"` | |
105+
| dashboard_configuration.plugins[75] | string | `"kafka-logger"` | |
106+
| dashboard_configuration.plugins[76] | string | `"body-transformer"` | |
107+
| dashboard_configuration.plugins[77] | string | `"traffic-split"` | |
108+
| dashboard_configuration.plugins[78] | string | `"degraphql"` | |
109+
| dashboard_configuration.plugins[79] | string | `"http-logger"` | |
110+
| dashboard_configuration.plugins[7] | string | `"serverless-pre-function"` | |
111+
| dashboard_configuration.plugins[80] | string | `"cas-auth"` | |
112+
| dashboard_configuration.plugins[81] | string | `"traffic-label"` | |
113+
| dashboard_configuration.plugins[82] | string | `"oas-validator"` | |
114+
| dashboard_configuration.plugins[83] | string | `"api7-traffic-split"` | |
115+
| dashboard_configuration.plugins[84] | string | `"limit-conn"` | |
116+
| dashboard_configuration.plugins[85] | string | `"prometheus"` | |
117+
| dashboard_configuration.plugins[86] | string | `"syslog"` | |
118+
| dashboard_configuration.plugins[87] | string | `"ip-restriction"` | |
119+
| dashboard_configuration.plugins[8] | string | `"batch-requests"` | |
120+
| dashboard_configuration.plugins[9] | string | `"ua-restriction"` | |
32121
| dashboard_configuration.prometheus.addr | string | `"http://api7-prometheus-server:9090"` | |
33122
| dashboard_configuration.prometheus.basic_auth.password | string | `""` | |
34123
| dashboard_configuration.prometheus.basic_auth.username | string | `""` | |
@@ -46,11 +135,15 @@ A Helm chart for Kubernetes
46135
| dashboard_configuration.server.listen.disable | bool | `true` | |
47136
| dashboard_configuration.server.listen.host | string | `"0.0.0.0"` | |
48137
| dashboard_configuration.server.listen.port | int | `7080` | |
138+
| dashboard_configuration.server.status.disable | bool | `false` | |
139+
| dashboard_configuration.server.status.host | string | `"127.0.0.1"` | |
140+
| dashboard_configuration.server.status.port | int | `7081` | |
49141
| dashboard_configuration.server.tls.cert_file | string | `""` | |
50142
| dashboard_configuration.server.tls.disable | bool | `false` | |
51143
| dashboard_configuration.server.tls.host | string | `"0.0.0.0"` | |
52144
| dashboard_configuration.server.tls.key_file | string | `""` | |
53145
| dashboard_configuration.server.tls.port | int | `7443` | |
146+
| dashboard_configuration.session_options_config.max_age | int | `86400` | |
54147
| dashboard_configuration.session_options_config.same_site | string | `"lax"` | |
55148
| dashboard_configuration.session_options_config.secure | bool | `false` | |
56149
| dashboard_service.ingress.annotations | object | `{}` | |
@@ -84,9 +177,11 @@ A Helm chart for Kubernetes
84177
| dp_manager.extraEnvVars | list | `[]` | |
85178
| dp_manager.image.pullPolicy | string | `"Always"` | |
86179
| dp_manager.image.repository | string | `"api7/api7-ee-dp-manager"` | |
87-
| dp_manager.image.tag | string | `"v3.2.13.0"` | |
180+
| dp_manager.image.tag | string | `"v3.2.14.0"` | |
88181
| dp_manager.replicaCount | int | `1` | |
89182
| dp_manager_configuration.database.dsn | string | `"postgres://api7ee:changeme@api7-postgresql:5432/api7ee"` | |
183+
| dp_manager_configuration.database.max_idle_conns | int | `2` | |
184+
| dp_manager_configuration.database.max_open_conns | int | `30` | |
90185
| dp_manager_configuration.log.level | string | `"warn"` | |
91186
| dp_manager_configuration.log.output | string | `"stderr"` | |
92187
| dp_manager_configuration.prometheus.addr | string | `"http://api7-prometheus-server:9090"` | |
@@ -100,6 +195,9 @@ A Helm chart for Kubernetes
100195
| dp_manager_configuration.prometheus.tls.server_name | string | `""` | |
101196
| dp_manager_configuration.server.listen.host | string | `"0.0.0.0"` | |
102197
| dp_manager_configuration.server.listen.port | int | `7900` | |
198+
| dp_manager_configuration.server.status.disable | bool | `false` | |
199+
| dp_manager_configuration.server.status.host | string | `"127.0.0.1"` | |
200+
| dp_manager_configuration.server.status.port | int | `7901` | |
103201
| dp_manager_configuration.server.tls.host | string | `"0.0.0.0"` | |
104202
| dp_manager_configuration.server.tls.port | int | `7943` | |
105203
| dp_manager_service.ingress.annotations | object | `{}` | |

charts/api7/values.yaml

Lines changed: 110 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dashboard:
1010
repository: api7/api7-ee-3-integrated
1111
pullPolicy: Always
1212
# Overrides the image tag whose default is the chart appVersion.
13-
tag: "v3.2.13.0"
13+
tag: "v3.2.14.0"
1414
extraEnvVars: []
1515

1616
dp_manager:
@@ -19,7 +19,7 @@ dp_manager:
1919
repository: api7/api7-ee-dp-manager
2020
pullPolicy: Always
2121
# Overrides the image tag whose default is the chart appVersion.
22-
tag: "v3.2.13.0"
22+
tag: "v3.2.14.0"
2323
extraEnvVars: []
2424

2525
developer_portal:
@@ -30,7 +30,6 @@ developer_portal:
3030
# Overrides the image tag whose default is the chart appVersion.
3131
tag: "v0.0.5"
3232
extraEnvVars: []
33-
3433

3534
imagePullSecret: ""
3635
nameOverride: ""
@@ -209,18 +208,21 @@ dashboard_configuration:
209208
port: 7443
210209
key_file: "" # the file path of private key, (e.g. /app/certs/tls.key)
211210
cert_file: "" # the file path of certificate, (e.g. /app/certs/tls.crt)
211+
status:
212+
disable: false
213+
host: "127.0.0.1"
214+
port: 7081
212215
session_options_config:
213216
same_site: "lax" # means the value SameSiteNoneMode
214217
secure: false
215-
login:
216-
source: DB
218+
max_age: 86400
217219
log:
218220
level: warn
219221
output: stderr
220222
database:
221223
dsn: "postgres://api7ee:changeme@api7-postgresql:5432/api7ee"
222-
# max_idle_conns: 10
223-
# max_open_conns: 30
224+
max_idle_conns: 2
225+
max_open_conns: 30
224226
prometheus:
225227
addr: "http://api7-prometheus-server:9090"
226228
basic_auth: # access the prometheus with basic-auth
@@ -249,6 +251,101 @@ dashboard_configuration:
249251
# bucket: "to-push-ha-data"
250252
# cron_spec: "@every 1m"
251253

254+
plugins:
255+
- real-ip
256+
- error-page
257+
- client-control
258+
- proxy-control
259+
- zipkin
260+
#- skywalking
261+
- ext-plugin-pre-req
262+
- mocking
263+
- serverless-pre-function
264+
- batch-requests
265+
- ua-restriction
266+
- referer-restriction
267+
- uri-blocker
268+
- request-validation
269+
- authz-casbin
270+
- authz-casdoor
271+
- wolf-rbac
272+
- multi-auth
273+
- ldap-auth
274+
- forward-auth
275+
- saml-auth
276+
- opa
277+
- authz-keycloak
278+
#- error-log-logger
279+
- proxy-mirror
280+
- proxy-cache
281+
- api-breaker
282+
- limit-req
283+
#- node-status
284+
- gzip
285+
- kafka-proxy
286+
#- dubbo-proxy
287+
- grpc-transcode
288+
- grpc-web
289+
- public-api
290+
- data-mask
291+
- opentelemetry
292+
- datadog
293+
- echo
294+
- loggly
295+
- splunk-hec-logging
296+
- skywalking-logger
297+
- google-cloud-logging
298+
- sls-logger
299+
- tcp-logger
300+
- rocketmq-logger
301+
- udp-logger
302+
- file-logger
303+
- clickhouse-logger
304+
- ext-plugin-post-resp
305+
- serverless-post-function
306+
- azure-functions
307+
- aws-lambda
308+
- openwhisk
309+
- consumer-restriction
310+
- acl
311+
- basic-auth
312+
- cors
313+
- csrf
314+
- fault-injection
315+
- hmac-auth
316+
- jwt-auth
317+
- key-auth
318+
- openid-connect
319+
- limit-count
320+
- redirect
321+
- request-id
322+
- proxy-rewrite
323+
- response-rewrite
324+
- workflow
325+
- proxy-buffering
326+
- tencent-cloud-cls
327+
- soap
328+
- openfunction
329+
- graphql-proxy-cache
330+
- ext-plugin-post-req
331+
- inspect
332+
#- log-rotate
333+
- graphql-limit-count
334+
- elasticsearch-logger
335+
- kafka-logger
336+
- body-transformer
337+
- traffic-split
338+
- degraphql
339+
- http-logger
340+
- cas-auth
341+
- traffic-label
342+
- oas-validator
343+
- api7-traffic-split
344+
- limit-conn
345+
- prometheus
346+
- syslog
347+
- ip-restriction
348+
252349
dp_manager_configuration:
253350
server:
254351
listen:
@@ -257,13 +354,17 @@ dp_manager_configuration:
257354
tls:
258355
host: "0.0.0.0"
259356
port: 7943
357+
status:
358+
disable: false
359+
host: "127.0.0.1"
360+
port: 7901
260361
log:
261362
level: warn
262363
output: stderr
263364
database:
264365
dsn: "postgres://api7ee:changeme@api7-postgresql:5432/api7ee"
265-
# max_idle_conns: 10
266-
# max_open_conns: 30
366+
max_idle_conns: 2
367+
max_open_conns: 30
267368
prometheus:
268369
addr: "http://api7-prometheus-server:9090"
269370
basic_auth: # access the prometheus with basic-auth

0 commit comments

Comments
 (0)