Skip to content

Commit 71479c2

Browse files
authored
chore: upgrade api7 to v3.2.16.3 (#148)
Signed-off-by: ashing <[email protected]>
1 parent 700b575 commit 71479c2

File tree

3 files changed

+33
-204
lines changed

3 files changed

+33
-204
lines changed

charts/api7/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ 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.16.16
18+
version: 0.16.17
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

charts/api7/README.md

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

3-
![Version: 0.16.16](https://img.shields.io/badge/Version-0.16.16-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.2.16](https://img.shields.io/badge/AppVersion-3.2.16-informational?style=flat-square)
3+
![Version: 0.16.17](https://img.shields.io/badge/Version-0.16.17-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.2.16](https://img.shields.io/badge/AppVersion-3.2.16-informational?style=flat-square)
44

55
A Helm chart for Kubernetes
66

@@ -23,106 +23,20 @@ A Helm chart for Kubernetes
2323
| dashboard.extraVolumes | list | `[]` | |
2424
| dashboard.image.pullPolicy | string | `"Always"` | |
2525
| dashboard.image.repository | string | `"api7/api7-ee-3-integrated"` | |
26-
| dashboard.image.tag | string | `"v3.2.16.2"` | |
26+
| dashboard.image.tag | string | `"v3.2.16.3"` | |
2727
| dashboard.keyCertSecret | string | `""` | |
2828
| dashboard.replicaCount | int | `1` | |
2929
| dashboard_configuration.console.addr | string | `"http://127.0.0.1:3000"` | |
30+
| dashboard_configuration.consumer_proxy.cache_failure_count | int | `512` | |
31+
| dashboard_configuration.consumer_proxy.cache_failure_ttl | int | `60` | |
32+
| dashboard_configuration.consumer_proxy.cache_success_count | int | `512` | |
33+
| dashboard_configuration.consumer_proxy.cache_success_ttl | int | `60` | |
34+
| dashboard_configuration.consumer_proxy.enable | bool | `false` | |
3035
| dashboard_configuration.database.dsn | string | `"postgres://api7ee:changeme@api7-postgresql:5432/api7ee"` | |
3136
| dashboard_configuration.database.max_idle_conns | int | `2` | |
3237
| dashboard_configuration.database.max_open_conns | int | `30` | |
3338
| dashboard_configuration.log.level | string | `"warn"` | |
3439
| dashboard_configuration.log.output | string | `"stderr"` | |
35-
| dashboard_configuration.plugins[0] | string | `"real-ip"` | |
36-
| dashboard_configuration.plugins[10] | string | `"referer-restriction"` | |
37-
| dashboard_configuration.plugins[11] | string | `"uri-blocker"` | |
38-
| dashboard_configuration.plugins[12] | string | `"request-validation"` | |
39-
| dashboard_configuration.plugins[13] | string | `"authz-casbin"` | |
40-
| dashboard_configuration.plugins[14] | string | `"authz-casdoor"` | |
41-
| dashboard_configuration.plugins[15] | string | `"wolf-rbac"` | |
42-
| dashboard_configuration.plugins[16] | string | `"multi-auth"` | |
43-
| dashboard_configuration.plugins[17] | string | `"ldap-auth"` | |
44-
| dashboard_configuration.plugins[18] | string | `"forward-auth"` | |
45-
| dashboard_configuration.plugins[19] | string | `"saml-auth"` | |
46-
| dashboard_configuration.plugins[1] | string | `"error-page"` | |
47-
| dashboard_configuration.plugins[20] | string | `"opa"` | |
48-
| dashboard_configuration.plugins[21] | string | `"authz-keycloak"` | |
49-
| dashboard_configuration.plugins[22] | string | `"proxy-mirror"` | |
50-
| dashboard_configuration.plugins[23] | string | `"proxy-cache"` | |
51-
| dashboard_configuration.plugins[24] | string | `"api-breaker"` | |
52-
| dashboard_configuration.plugins[25] | string | `"limit-req"` | |
53-
| dashboard_configuration.plugins[26] | string | `"gzip"` | |
54-
| dashboard_configuration.plugins[27] | string | `"kafka-proxy"` | |
55-
| dashboard_configuration.plugins[28] | string | `"grpc-transcode"` | |
56-
| dashboard_configuration.plugins[29] | string | `"grpc-web"` | |
57-
| dashboard_configuration.plugins[2] | string | `"client-control"` | |
58-
| dashboard_configuration.plugins[30] | string | `"public-api"` | |
59-
| dashboard_configuration.plugins[31] | string | `"data-mask"` | |
60-
| dashboard_configuration.plugins[32] | string | `"opentelemetry"` | |
61-
| dashboard_configuration.plugins[33] | string | `"datadog"` | |
62-
| dashboard_configuration.plugins[34] | string | `"echo"` | |
63-
| dashboard_configuration.plugins[35] | string | `"loggly"` | |
64-
| dashboard_configuration.plugins[36] | string | `"splunk-hec-logging"` | |
65-
| dashboard_configuration.plugins[37] | string | `"skywalking-logger"` | |
66-
| dashboard_configuration.plugins[38] | string | `"google-cloud-logging"` | |
67-
| dashboard_configuration.plugins[39] | string | `"sls-logger"` | |
68-
| dashboard_configuration.plugins[3] | string | `"proxy-control"` | |
69-
| dashboard_configuration.plugins[40] | string | `"tcp-logger"` | |
70-
| dashboard_configuration.plugins[41] | string | `"rocketmq-logger"` | |
71-
| dashboard_configuration.plugins[42] | string | `"udp-logger"` | |
72-
| dashboard_configuration.plugins[43] | string | `"file-logger"` | |
73-
| dashboard_configuration.plugins[44] | string | `"clickhouse-logger"` | |
74-
| dashboard_configuration.plugins[45] | string | `"ext-plugin-post-resp"` | |
75-
| dashboard_configuration.plugins[46] | string | `"serverless-post-function"` | |
76-
| dashboard_configuration.plugins[47] | string | `"azure-functions"` | |
77-
| dashboard_configuration.plugins[48] | string | `"aws-lambda"` | |
78-
| dashboard_configuration.plugins[49] | string | `"openwhisk"` | |
79-
| dashboard_configuration.plugins[4] | string | `"zipkin"` | |
80-
| dashboard_configuration.plugins[50] | string | `"consumer-restriction"` | |
81-
| dashboard_configuration.plugins[51] | string | `"attach-consumer-label"` | |
82-
| dashboard_configuration.plugins[52] | string | `"acl"` | |
83-
| dashboard_configuration.plugins[53] | string | `"basic-auth"` | |
84-
| dashboard_configuration.plugins[54] | string | `"cors"` | |
85-
| dashboard_configuration.plugins[55] | string | `"csrf"` | |
86-
| dashboard_configuration.plugins[56] | string | `"fault-injection"` | |
87-
| dashboard_configuration.plugins[57] | string | `"hmac-auth"` | |
88-
| dashboard_configuration.plugins[58] | string | `"jwt-auth"` | |
89-
| dashboard_configuration.plugins[59] | string | `"key-auth"` | |
90-
| dashboard_configuration.plugins[5] | string | `"ext-plugin-pre-req"` | |
91-
| dashboard_configuration.plugins[60] | string | `"openid-connect"` | |
92-
| dashboard_configuration.plugins[61] | string | `"limit-count"` | |
93-
| dashboard_configuration.plugins[62] | string | `"redirect"` | |
94-
| dashboard_configuration.plugins[63] | string | `"request-id"` | |
95-
| dashboard_configuration.plugins[64] | string | `"proxy-rewrite"` | |
96-
| dashboard_configuration.plugins[65] | string | `"response-rewrite"` | |
97-
| dashboard_configuration.plugins[66] | string | `"workflow"` | |
98-
| dashboard_configuration.plugins[67] | string | `"proxy-buffering"` | |
99-
| dashboard_configuration.plugins[68] | string | `"tencent-cloud-cls"` | |
100-
| dashboard_configuration.plugins[69] | string | `"openfunction"` | |
101-
| dashboard_configuration.plugins[6] | string | `"mocking"` | |
102-
| dashboard_configuration.plugins[70] | string | `"graphql-proxy-cache"` | |
103-
| dashboard_configuration.plugins[71] | string | `"ext-plugin-post-req"` | |
104-
| dashboard_configuration.plugins[72] | string | `"graphql-limit-count"` | |
105-
| dashboard_configuration.plugins[73] | string | `"elasticsearch-logger"` | |
106-
| dashboard_configuration.plugins[74] | string | `"kafka-logger"` | |
107-
| dashboard_configuration.plugins[75] | string | `"body-transformer"` | |
108-
| dashboard_configuration.plugins[76] | string | `"traffic-split"` | |
109-
| dashboard_configuration.plugins[77] | string | `"degraphql"` | |
110-
| dashboard_configuration.plugins[78] | string | `"http-logger"` | |
111-
| dashboard_configuration.plugins[79] | string | `"cas-auth"` | |
112-
| dashboard_configuration.plugins[7] | string | `"serverless-pre-function"` | |
113-
| dashboard_configuration.plugins[80] | string | `"traffic-label"` | |
114-
| dashboard_configuration.plugins[81] | string | `"oas-validator"` | |
115-
| dashboard_configuration.plugins[82] | string | `"api7-traffic-split"` | |
116-
| dashboard_configuration.plugins[83] | string | `"limit-conn"` | |
117-
| dashboard_configuration.plugins[84] | string | `"prometheus"` | |
118-
| dashboard_configuration.plugins[85] | string | `"syslog"` | |
119-
| dashboard_configuration.plugins[86] | string | `"ip-restriction"` | |
120-
| dashboard_configuration.plugins[87] | string | `"mqtt-proxy"` | |
121-
| dashboard_configuration.plugins[88] | string | `"ai-proxy"` | |
122-
| dashboard_configuration.plugins[89] | string | `"ai-prompt-template"` | |
123-
| dashboard_configuration.plugins[8] | string | `"batch-requests"` | |
124-
| dashboard_configuration.plugins[90] | string | `"ai-prompt-decorator"` | |
125-
| dashboard_configuration.plugins[9] | string | `"ua-restriction"` | |
12640
| dashboard_configuration.prometheus.addr | string | `"http://api7-prometheus-server:9090"` | |
12741
| dashboard_configuration.prometheus.basic_auth.password | string | `""` | |
12842
| dashboard_configuration.prometheus.basic_auth.username | string | `""` | |
@@ -166,7 +80,7 @@ A Helm chart for Kubernetes
16680
| developer_portal.extraEnvVars | list | `[]` | |
16781
| developer_portal.image.pullPolicy | string | `"IfNotPresent"` | |
16882
| developer_portal.image.repository | string | `"api7/api7-developer-portal"` | |
169-
| developer_portal.image.tag | string | `"v0.1.2"` | |
83+
| developer_portal.image.tag | string | `"v0.1.3"` | |
17084
| developer_portal.keyCertSecret | string | `""` | |
17185
| developer_portal.replicaCount | int | `1` | |
17286
| developer_portal_configuration.enable | bool | `true` | |
@@ -188,7 +102,7 @@ A Helm chart for Kubernetes
188102
| dp_manager.extraVolumes | list | `[]` | |
189103
| dp_manager.image.pullPolicy | string | `"Always"` | |
190104
| dp_manager.image.repository | string | `"api7/api7-ee-dp-manager"` | |
191-
| dp_manager.image.tag | string | `"v3.2.16.2"` | |
105+
| dp_manager.image.tag | string | `"v3.2.16.3"` | |
192106
| dp_manager.replicaCount | int | `1` | |
193107
| dp_manager_configuration.database.dsn | string | `"postgres://api7ee:changeme@api7-postgresql:5432/api7ee"` | |
194108
| dp_manager_configuration.database.max_idle_conns | int | `2` | |
@@ -205,6 +119,9 @@ A Helm chart for Kubernetes
205119
| dp_manager_configuration.prometheus.tls.insecure_skip_verify | bool | `false` | |
206120
| dp_manager_configuration.prometheus.tls.key_file | string | `""` | |
207121
| dp_manager_configuration.prometheus.tls.server_name | string | `""` | |
122+
| dp_manager_configuration.rate_limit.count | int | `1000` | |
123+
| dp_manager_configuration.rate_limit.enable | bool | `false` | |
124+
| dp_manager_configuration.rate_limit.time_window | int | `1` | |
208125
| dp_manager_configuration.server.listen.host | string | `"0.0.0.0"` | |
209126
| dp_manager_configuration.server.listen.port | int | `7900` | |
210127
| dp_manager_configuration.server.status.disable | bool | `false` | |

charts/api7/values.yaml

Lines changed: 20 additions & 108 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.16.2"
13+
tag: "v3.2.16.3"
1414
# Resources of the deployment.
1515
# It has a higher priority than the common resources configuration:
1616
# when this field is configured, it is used first in the deployment,
@@ -33,7 +33,7 @@ dp_manager:
3333
repository: api7/api7-ee-dp-manager
3434
pullPolicy: Always
3535
# Overrides the image tag whose default is the chart appVersion.
36-
tag: "v3.2.16.2"
36+
tag: "v3.2.16.3"
3737
# Resources of the deployment.
3838
# It has a higher priority than the common resources configuration:
3939
# when this field is configured, it is used first in the deployment,
@@ -56,7 +56,7 @@ developer_portal:
5656
repository: api7/api7-developer-portal
5757
pullPolicy: IfNotPresent
5858
# Overrides the image tag whose default is the chart appVersion.
59-
tag: "v0.1.2"
59+
tag: "v0.1.3"
6060
# Specifies the name of Secret for developer portal TLS configuration, and files store under /app/certs directory
6161
keyCertSecret: ""
6262
extraEnvVars: []
@@ -277,111 +277,19 @@ dashboard_configuration:
277277
- "/api/v1/labels"
278278
console:
279279
addr: "http://127.0.0.1:3000"
280-
# fallback_cp:
281-
# aws_s3:
282-
# access_key: "access"
283-
# secret_key: "secret"
284-
# region: "ap-south-1"
285-
# bucket: "to-push-ha-data"
286-
# cron_spec: "@every 1m"
287-
288-
plugins:
289-
- real-ip
290-
- error-page
291-
- client-control
292-
- proxy-control
293-
- zipkin
294-
#- skywalking
295-
- ext-plugin-pre-req
296-
- mocking
297-
- serverless-pre-function
298-
- batch-requests
299-
- ua-restriction
300-
- referer-restriction
301-
- uri-blocker
302-
- request-validation
303-
- authz-casbin
304-
- authz-casdoor
305-
- wolf-rbac
306-
- multi-auth
307-
- ldap-auth
308-
- forward-auth
309-
- saml-auth
310-
- opa
311-
- authz-keycloak
312-
#- error-log-logger
313-
- proxy-mirror
314-
- proxy-cache
315-
- api-breaker
316-
- limit-req
317-
#- node-status
318-
- gzip
319-
- kafka-proxy
320-
#- dubbo-proxy
321-
- grpc-transcode
322-
- grpc-web
323-
- public-api
324-
- data-mask
325-
- opentelemetry
326-
- datadog
327-
- echo
328-
- loggly
329-
- splunk-hec-logging
330-
- skywalking-logger
331-
- google-cloud-logging
332-
- sls-logger
333-
- tcp-logger
334-
- rocketmq-logger
335-
- udp-logger
336-
- file-logger
337-
- clickhouse-logger
338-
- ext-plugin-post-resp
339-
- serverless-post-function
340-
- azure-functions
341-
- aws-lambda
342-
- openwhisk
343-
- consumer-restriction
344-
- attach-consumer-label
345-
- acl
346-
- basic-auth
347-
- cors
348-
- csrf
349-
- fault-injection
350-
- hmac-auth
351-
- jwt-auth
352-
- key-auth
353-
- openid-connect
354-
- limit-count
355-
- redirect
356-
- request-id
357-
- proxy-rewrite
358-
- response-rewrite
359-
- workflow
360-
- proxy-buffering
361-
- tencent-cloud-cls
362-
- openfunction
363-
- graphql-proxy-cache
364-
- ext-plugin-post-req
365-
#- log-rotate
366-
- graphql-limit-count
367-
- elasticsearch-logger
368-
- kafka-logger
369-
- body-transformer
370-
- traffic-split
371-
- degraphql
372-
- http-logger
373-
- cas-auth
374-
- traffic-label
375-
- oas-validator
376-
- api7-traffic-split
377-
- limit-conn
378-
- prometheus
379-
- syslog
380-
- ip-restriction
381-
- mqtt-proxy
382-
- ai-proxy
383-
- ai-prompt-template
384-
- ai-prompt-decorator
280+
consumer_proxy:
281+
enable: false
282+
cache_success_count: 512
283+
cache_success_ttl: 60
284+
cache_failure_count: 512
285+
cache_failure_ttl: 60
286+
# fallback_cp:
287+
# aws_s3:
288+
# access_key: "access"
289+
# secret_key: "secret"
290+
# region: "ap-south-1"
291+
# bucket: "to-push-ha-data"
292+
# cron_spec: "@every 1m"
385293

386294
dp_manager_configuration:
387295
server:
@@ -415,6 +323,10 @@ dp_manager_configuration:
415323
key_file: "" # the file path of the private key for requesting prometheus, (e.g. /app/prometheus/certs/tls.key)
416324
cert_file: "" # the file path of the certificate for requesting prometheus, (e.g. /app/prometheus/certs/tls.crt)
417325
ca_file: "" # the file path of the ca to verify the prometheus tls server. (e.g. /app/prometheus/certs/ca.crt)
326+
rate_limit:
327+
enable: false
328+
time_window: 1 # unit: second
329+
count: 1000
418330

419331
developer_portal_configuration:
420332
enable: true

0 commit comments

Comments
 (0)