Skip to content

Commit 6c36c2c

Browse files
authored
chore: remove oauth config (#77)
Signed-off-by: Nic <[email protected]>
1 parent d2a2056 commit 6c36c2c

File tree

3 files changed

+12
-18
lines changed

3 files changed

+12
-18
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
repos:
2+
- repo: https://github.com/norwoodj/helm-docs
3+
rev: v1.2.0
4+
hooks:
5+
- id: helm-docs

charts/api7/README.md

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ A Helm chart for Kubernetes
1919
| busybox.image.repository | string | `"docker.io/busybox"` | |
2020
| busybox.image.tag | float | `1.28` | |
2121
| dashboard.image.pullPolicy | string | `"IfNotPresent"` | |
22-
| dashboard.image.repository | string | `"hkccr.ccs.tencentyun.com/api7/api7-ee-3-integrated"` | |
23-
| dashboard.image.tag | string | `"dev"` | |
22+
| dashboard.image.repository | string | `"api7/api7-ee-3-integrated"` | |
23+
| dashboard.image.tag | string | `"v3.2.6.0"` | |
2424
| dashboard.replicaCount | int | `1` | |
25-
| dashboard_configuration.authentication_config.session_secret | string | `"123456"` | |
25+
| dashboard_configuration.authentication_config.session_secret | string | `"changeme"` | |
2626
| dashboard_configuration.console.addr | string | `"http://127.0.0.1:3000"` | |
2727
| dashboard_configuration.database.postgres.addr | string | `"api7ee3-postgresql:5432"` | |
2828
| dashboard_configuration.database.postgres.database | string | `"api7ee"` | |
@@ -32,11 +32,6 @@ A Helm chart for Kubernetes
3232
| dashboard_configuration.log.level | string | `"info"` | |
3333
| dashboard_configuration.log.output | string | `"stderr"` | |
3434
| dashboard_configuration.login.source | string | `"DB"` | |
35-
| dashboard_configuration.oauth2_config.callback_url | string | `""` | |
36-
| dashboard_configuration.oauth2_config.client_id | string | `"5778c01f-2236-4261-92e9-a7ca4eb180b7"` | |
37-
| dashboard_configuration.oauth2_config.client_secret | string | `"f840329b-1653-4336-a95a-d0cc5aa54a91"` | |
38-
| dashboard_configuration.oauth2_config.issuer | string | `"http://api7ee3-keycloak/realms/master"` | |
39-
| dashboard_configuration.oauth2_config.redirect_url | string | `""` | |
4035
| dashboard_configuration.prometheus.addr | string | `"http://api7ee3-prometheus-server:9090"` | |
4136
| dashboard_configuration.prometheus.whitelist[0] | string | `"/api/v1/query_range"` | |
4237
| dashboard_configuration.prometheus.whitelist[1] | string | `"/api/v1/query"` | |
@@ -50,15 +45,15 @@ A Helm chart for Kubernetes
5045
| dashboard_configuration.server.cors.enabled | bool | `false` | |
5146
| dashboard_configuration.server.listen.host | string | `"0.0.0.0"` | |
5247
| dashboard_configuration.server.listen.port | int | `7080` | |
53-
| dashboard_configuration.session_options_config.same_site | string | `"none"` | |
54-
| dashboard_configuration.session_options_config.secure | bool | `true` | |
48+
| dashboard_configuration.session_options_config.same_site | string | `"lax"` | |
49+
| dashboard_configuration.session_options_config.secure | bool | `false` | |
5550
| dashboard_configuration.user_manager.logout_url | string | `"https://login.api7.ai/v2/logout"` | |
5651
| dashboard_configuration.user_manager.oidc_provider | string | `"keycloak"` | |
5752
| dashboard_service.port | int | `7080` | |
5853
| dashboard_service.type | string | `"ClusterIP"` | |
5954
| dp_manager.image.pullPolicy | string | `"IfNotPresent"` | |
60-
| dp_manager.image.repository | string | `"hkccr.ccs.tencentyun.com/api7/api7-ee-dp-manager"` | |
61-
| dp_manager.image.tag | string | `"dev"` | |
55+
| dp_manager.image.repository | string | `"api7/api7-ee-dp-manager"` | |
56+
| dp_manager.image.tag | string | `"v3.2.6.0"` | |
6257
| dp_manager.replicaCount | int | `1` | |
6358
| dp_manager_configuration.database.postgres.addr | string | `"api7ee3-postgresql:5432"` | |
6459
| dp_manager_configuration.database.postgres.database | string | `"api7ee"` | |

charts/api7/values.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,6 @@ dashboard_configuration:
117117
logout_url: "https://login.api7.ai/v2/logout"
118118
login:
119119
source: DB
120-
oauth2_config:
121-
client_id: "5778c01f-2236-4261-92e9-a7ca4eb180b7"
122-
client_secret: "f840329b-1653-4336-a95a-d0cc5aa54a91"
123-
callback_url: ""
124-
redirect_url: ""
125-
issuer: "http://api7ee3-keycloak/realms/master"
126120
log:
127121
level: info
128122
output: stderr

0 commit comments

Comments
 (0)