Skip to content

Commit d2a2056

Browse files
authored
feat: release api7 helm chart 0.3.0 (#76)
Signed-off-by: Nic <[email protected]>
1 parent 33f059d commit d2a2056

File tree

9 files changed

+42
-310
lines changed

9 files changed

+42
-310
lines changed

charts/api7/Chart.lock

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
dependencies:
2-
- name: etcd
3-
repository: https://charts.bitnami.com/bitnami
4-
version: 8.12.0
5-
- name: keycloak
6-
repository: https://charts.bitnami.com/bitnami
7-
version: 15.1.3
82
- name: prometheus
93
repository: https://charts.bitnami.com/bitnami
104
version: 0.1.4
11-
- name: api7
12-
repository: https://charts.api7.ai
13-
version: 1.7.4
14-
digest: sha256:c3d04a7dc0046e1039172b7a0a0357a323f9553e46c0b3025959a3e4f5b931ec
15-
generated: "2023-11-09T10:39:16.919833326+08:00"
5+
- name: postgresql
6+
repository: https://charts.bitnami.com/bitnami
7+
version: 12.12.10
8+
digest: sha256:6d0fae161d3148048fda2051df32ae93caf03d6718885c555961f67915629a1d
9+
generated: "2023-12-20T14:13:44.208746+08:00"

charts/api7/Chart.yaml

Lines changed: 5 additions & 15 deletions
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.2.0
18+
version: 0.3.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
@@ -24,22 +24,12 @@ version: 0.2.0
2424
appVersion: "3.0.0"
2525

2626
dependencies:
27-
- name: etcd
28-
condition: etcd.builtin
29-
version: "8.12.0"
30-
repository: "https://charts.bitnami.com/bitnami"
31-
32-
- name: keycloak
33-
condition: keycloak.builtin
34-
version: "15.1.3"
35-
repository: "https://charts.bitnami.com/bitnami"
36-
3727
- name: prometheus
3828
condition: prometheus.builtin
3929
version: "0.1.4"
4030
repository: "https://charts.bitnami.com/bitnami"
4131

42-
- name: api7
43-
condition: api7.builtin
44-
version: "1.7.4"
45-
repository: "https://charts.api7.ai"
32+
- name: postgresql
33+
condition: postgresql.builtin
34+
version: "12.12.10"
35+
repository: "https://charts.bitnami.com/bitnami"

charts/api7/README.md

Lines changed: 10 additions & 120 deletions
Original file line numberDiff line numberDiff line change
@@ -1,118 +1,21 @@
11
# api7ee3
22

3-
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.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.3.0](https://img.shields.io/badge/Version-0.3.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)
44

55
A Helm chart for Kubernetes
66

77
## Requirements
88

99
| Repository | Name | Version |
1010
|------------|------|---------|
11-
| https://charts.apiseven.com | apisix | 1.4.0 |
12-
| https://charts.bitnami.com/bitnami | etcd | 8.12.0 |
13-
| https://charts.bitnami.com/bitnami | keycloak | 15.1.3 |
11+
| https://charts.bitnami.com/bitnami | postgresql | 12.12.10 |
1412
| https://charts.bitnami.com/bitnami | prometheus | 0.1.4 |
1513

1614
## Values
1715

1816
| Key | Type | Default | Description |
1917
|-----|------|---------|-------------|
2018
| affinity | object | `{}` | |
21-
| apisix.admin.enabled | bool | `false` | |
22-
| apisix.apisix.image.pullPolicy | string | `"IfNotPresent"` | |
23-
| apisix.apisix.image.repository | string | `"hkccr.ccs.tencentyun.com/api7/api7-ee-3-gateway"` | |
24-
| apisix.apisix.image.tag | string | `"dev"` | |
25-
| apisix.builtin | bool | `true` | |
26-
| apisix.deployment.mode | string | `"traditional"` | |
27-
| apisix.deployment.role | string | `"traditional"` | |
28-
| apisix.etcd.enabled | bool | `false` | |
29-
| apisix.etcd.host[0] | string | `"http://api7ee3-dp-manager:7900"` | |
30-
| apisix.etcd.password | string | `"changeme"` | |
31-
| apisix.etcd.prefix | string | `"/gateway_groups/default"` | |
32-
| apisix.etcd.user | string | `"api7ee_readonly"` | |
33-
| apisix.plugins[0] | string | `"api7-agent"` | |
34-
| apisix.plugins[10] | string | `"fault-injection"` | |
35-
| apisix.plugins[11] | string | `"mocking"` | |
36-
| apisix.plugins[12] | string | `"serverless-pre-function"` | |
37-
| apisix.plugins[13] | string | `"cors"` | |
38-
| apisix.plugins[14] | string | `"ip-restriction"` | |
39-
| apisix.plugins[15] | string | `"ua-restriction"` | |
40-
| apisix.plugins[16] | string | `"referer-restriction"` | |
41-
| apisix.plugins[17] | string | `"csrf"` | |
42-
| apisix.plugins[18] | string | `"uri-blocker"` | |
43-
| apisix.plugins[19] | string | `"request-validation"` | |
44-
| apisix.plugins[1] | string | `"api7-traffic-split"` | |
45-
| apisix.plugins[20] | string | `"openid-connect"` | |
46-
| apisix.plugins[21] | string | `"cas-auth"` | |
47-
| apisix.plugins[22] | string | `"authz-casbin"` | |
48-
| apisix.plugins[23] | string | `"authz-casdoor"` | |
49-
| apisix.plugins[24] | string | `"wolf-rbac"` | |
50-
| apisix.plugins[25] | string | `"ldap-auth"` | |
51-
| apisix.plugins[26] | string | `"hmac-auth"` | |
52-
| apisix.plugins[27] | string | `"basic-auth"` | |
53-
| apisix.plugins[28] | string | `"jwt-auth"` | |
54-
| apisix.plugins[29] | string | `"key-auth"` | |
55-
| apisix.plugins[2] | string | `"real-ip"` | |
56-
| apisix.plugins[30] | string | `"consumer-restriction"` | |
57-
| apisix.plugins[31] | string | `"forward-auth"` | |
58-
| apisix.plugins[32] | string | `"opa"` | |
59-
| apisix.plugins[33] | string | `"authz-keycloak"` | |
60-
| apisix.plugins[34] | string | `"proxy-cache"` | |
61-
| apisix.plugins[35] | string | `"graphql-proxy-cache"` | |
62-
| apisix.plugins[36] | string | `"body-transformer"` | |
63-
| apisix.plugins[37] | string | `"proxy-mirror"` | |
64-
| apisix.plugins[38] | string | `"proxy-rewrite"` | |
65-
| apisix.plugins[39] | string | `"workflow"` | |
66-
| apisix.plugins[3] | string | `"ai"` | |
67-
| apisix.plugins[40] | string | `"api-breaker"` | |
68-
| apisix.plugins[41] | string | `"graphql-limit-count"` | |
69-
| apisix.plugins[42] | string | `"limit-conn"` | |
70-
| apisix.plugins[43] | string | `"limit-count"` | |
71-
| apisix.plugins[44] | string | `"limit-req"` | |
72-
| apisix.plugins[45] | string | `"traffic-label"` | |
73-
| apisix.plugins[46] | string | `"gzip"` | |
74-
| apisix.plugins[47] | string | `"traffic-split"` | |
75-
| apisix.plugins[48] | string | `"redirect"` | |
76-
| apisix.plugins[49] | string | `"response-rewrite"` | |
77-
| apisix.plugins[4] | string | `"client-control"` | |
78-
| apisix.plugins[50] | string | `"degraphql"` | |
79-
| apisix.plugins[51] | string | `"kafka-proxy"` | |
80-
| apisix.plugins[52] | string | `"grpc-transcode"` | |
81-
| apisix.plugins[53] | string | `"grpc-web"` | |
82-
| apisix.plugins[54] | string | `"soap"` | |
83-
| apisix.plugins[55] | string | `"public-api"` | |
84-
| apisix.plugins[56] | string | `"prometheus"` | |
85-
| apisix.plugins[57] | string | `"datadog"` | |
86-
| apisix.plugins[58] | string | `"elasticsearch-logger"` | |
87-
| apisix.plugins[59] | string | `"echo"` | |
88-
| apisix.plugins[5] | string | `"proxy-buffering"` | |
89-
| apisix.plugins[60] | string | `"loggly"` | |
90-
| apisix.plugins[61] | string | `"http-logger"` | |
91-
| apisix.plugins[62] | string | `"splunk-hec-logging"` | |
92-
| apisix.plugins[63] | string | `"skywalking-logger"` | |
93-
| apisix.plugins[64] | string | `"google-cloud-logging"` | |
94-
| apisix.plugins[65] | string | `"sls-logger"` | |
95-
| apisix.plugins[66] | string | `"tcp-logger"` | |
96-
| apisix.plugins[67] | string | `"kafka-logger"` | |
97-
| apisix.plugins[68] | string | `"rocketmq-logger"` | |
98-
| apisix.plugins[69] | string | `"syslog"` | |
99-
| apisix.plugins[6] | string | `"proxy-control"` | |
100-
| apisix.plugins[70] | string | `"udp-logger"` | |
101-
| apisix.plugins[71] | string | `"file-logger"` | |
102-
| apisix.plugins[72] | string | `"clickhouse-logger"` | |
103-
| apisix.plugins[73] | string | `"tencent-cloud-cls"` | |
104-
| apisix.plugins[74] | string | `"inspect"` | |
105-
| apisix.plugins[75] | string | `"example-plugin"` | |
106-
| apisix.plugins[76] | string | `"aws-lambda"` | |
107-
| apisix.plugins[77] | string | `"azure-functions"` | |
108-
| apisix.plugins[78] | string | `"openwhisk"` | |
109-
| apisix.plugins[79] | string | `"openfunction"` | |
110-
| apisix.plugins[7] | string | `"request-id"` | |
111-
| apisix.plugins[80] | string | `"serverless-post-function"` | |
112-
| apisix.plugins[81] | string | `"ext-plugin-post-req"` | |
113-
| apisix.plugins[82] | string | `"ext-plugin-post-resp"` | |
114-
| apisix.plugins[8] | string | `"zipkin"` | |
115-
| apisix.plugins[9] | string | `"ext-plugin-pre-req"` | |
11619
| busybox.image.repository | string | `"docker.io/busybox"` | |
11720
| busybox.image.tag | float | `1.28` | |
11821
| dashboard.image.pullPolicy | string | `"IfNotPresent"` | |
@@ -126,23 +29,9 @@ A Helm chart for Kubernetes
12629
| dashboard_configuration.database.postgres.password | string | `"changeme"` | |
12730
| dashboard_configuration.database.postgres.user | string | `"api7ee"` | |
12831
| dashboard_configuration.database.type | string | `"postgres"` | |
129-
| dashboard_configuration.etcd.auth.password | string | `""` | |
130-
| dashboard_configuration.etcd.auth.username | string | `""` | |
131-
| dashboard_configuration.etcd.endpoints[0] | string | `"http://api7ee3-etcd:2379"` | |
132-
| dashboard_configuration.etcd.readonly_auth.password | string | `"changeme"` | |
133-
| dashboard_configuration.etcd.readonly_auth.username | string | `"api7ee_readonly"` | |
134-
| dashboard_configuration.gateway_group.control_plane_endpoints[0] | string | `"http://api7ee3-dp-manager:7900"` | |
135-
| dashboard_configuration.gateway_group.domain_suffix | string | `"eu-central-1.api7.cloud"` | |
136-
| dashboard_configuration.keycloak.client_id | string | `"5778c01f-2236-4261-92e9-a7ca4eb180b7"` | |
137-
| dashboard_configuration.keycloak.client_secret | string | `"f840329b-1653-4336-a95a-d0cc5aa54a91"` | |
138-
| dashboard_configuration.keycloak.password | string | `"4a5524de-27e8-42a8-a538-7485c4b86331"` | |
139-
| dashboard_configuration.keycloak.realm | string | `"master"` | |
140-
| dashboard_configuration.keycloak.url | string | `"http://api7ee3-keycloak:80"` | |
141-
| dashboard_configuration.keycloak.username | string | `"kc_admin"` | |
14232
| dashboard_configuration.log.level | string | `"info"` | |
14333
| dashboard_configuration.log.output | string | `"stderr"` | |
144-
| dashboard_configuration.oauth2_config.auth0_connection | string | `""` | |
145-
| dashboard_configuration.oauth2_config.auth0_issuer | string | `""` | |
34+
| dashboard_configuration.login.source | string | `"DB"` | |
14635
| dashboard_configuration.oauth2_config.callback_url | string | `""` | |
14736
| dashboard_configuration.oauth2_config.client_id | string | `"5778c01f-2236-4261-92e9-a7ca4eb180b7"` | |
14837
| dashboard_configuration.oauth2_config.client_secret | string | `"f840329b-1653-4336-a95a-d0cc5aa54a91"` | |
@@ -176,9 +65,6 @@ A Helm chart for Kubernetes
17665
| dp_manager_configuration.database.postgres.password | string | `"changeme"` | |
17766
| dp_manager_configuration.database.postgres.user | string | `"api7ee"` | |
17867
| dp_manager_configuration.database.type | string | `"postgres"` | |
179-
| dp_manager_configuration.etcd.auth.password | string | `""` | |
180-
| dp_manager_configuration.etcd.auth.username | string | `""` | |
181-
| dp_manager_configuration.etcd.endpoints[0] | string | `"http://api7ee3-etcd:2379"` | |
18268
| dp_manager_configuration.log.level | string | `"info"` | |
18369
| dp_manager_configuration.log.output | string | `"stderr"` | |
18470
| dp_manager_configuration.prometheus.addr | string | `"http://api7ee3-prometheus-server:9090"` | |
@@ -188,19 +74,23 @@ A Helm chart for Kubernetes
18874
| dp_manager_configuration.server.status_listen.port | int | `7901` | |
18975
| dp_manager_service.port | int | `7900` | |
19076
| dp_manager_service.type | string | `"ClusterIP"` | |
191-
| etcd.builtin | bool | `true` | |
19277
| fullnameOverride | string | `""` | |
19378
| imagePullSecret | string | `""` | |
194-
| keycloak.builtin | bool | `true` | |
195-
| keycloak.postgresql.primary.initdb.init_scripts | string | `""` | |
19679
| nameOverride | string | `""` | |
19780
| nodeSelector | object | `{}` | |
19881
| podAnnotations | object | `{}` | |
19982
| podSecurityContext | object | `{}` | |
83+
| postgresql.auth.database | string | `"api7ee"` | |
84+
| postgresql.auth.password | string | `"changeme"` | |
85+
| postgresql.auth.username | string | `"api7ee"` | |
86+
| postgresql.builtin | bool | `true` | |
87+
| postgresql.host | string | `"api7ee3-postgresql"` | |
88+
| postgresql.port | int | `5432` | |
20089
| prometheus.alertmanager.enabled | bool | `false` | |
20190
| prometheus.builtin | bool | `true` | |
20291
| prometheus.server.enableAdminAPI | bool | `true` | |
20392
| prometheus.server.enableRemoteWriteReceiver | bool | `true` | |
93+
| prometheus.server.service.ports.http | int | `9090` | |
20494
| prometheus.server.service.type | string | `"ClusterIP"` | |
20595
| resources | object | `{}` | |
20696
| securityContext | object | `{}` | |

charts/api7/charts/api7-1.7.4.tgz

-91.6 KB
Binary file not shown.

charts/api7/charts/etcd-8.12.0.tgz

-40.6 KB
Binary file not shown.
-97.1 KB
Binary file not shown.
61.1 KB
Binary file not shown.

charts/api7/templates/dashboard-deploy.yaml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,9 @@ spec:
3232
configMap:
3333
name: {{ include "api7ee3.fullname" . }}-dashboard-config
3434
initContainers:
35-
{{- if .Values.etcd.builtin }}
36-
- name: wait-for-etcd
35+
- name: wait-for-postgresql
3736
image: "{{ .Values.busybox.image.repository }}:{{ .Values.busybox.image.tag }}"
38-
command: [ 'sh', '-c', "until wget --timeout=3 -q --spider {{ index .Values.dashboard_configuration.etcd.endpoints 0 }}/version;do echo waiting for etcd `date`; sleep 2; done;" ]
39-
{{- end }}
40-
{{- if .Values.keycloak.builtin }}
41-
- name: wait-for-keycloak
42-
image: "{{ .Values.busybox.image.repository }}:{{ .Values.busybox.image.tag }}"
43-
command: [ 'sh', '-c', "until wget --timeout=3 -q --spider {{ .Values.dashboard_configuration.keycloak.url }}/realms/master;do echo waiting for keycloak `date`; sleep 2; done;" ]
44-
{{- end }}
37+
command: [ 'sh', '-c', "until nc -z -v -w3 {{ .Values.postgresql.host }} {{ .Values.postgresql.port }}; do echo waiting for postgresql `date`; sleep 2; done;" ]
4538
{{- if .Values.prometheus.builtin }}
4639
- name: wait-for-prometheus
4740
image: "{{ .Values.busybox.image.repository }}:{{ .Values.busybox.image.tag }}"

0 commit comments

Comments
 (0)