Skip to content

Commit

Permalink
install:移除console无关的配置文件 (#1053)
Browse files Browse the repository at this point in the history
  • Loading branch information
chuntaojun authored Mar 31, 2023
1 parent 0f2fc69 commit d8bcc3e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 34 deletions.
25 changes: 1 addition & 24 deletions release/cluster/helm/templates/config-polaris-console.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,27 +35,4 @@ data:
# operationServer:
# requestUrl:
# timeout: 5s
# 存储配置
store:
{{- if eq .Values.global.mode "cluster" }}
# 数据库存储插件
{{- with .Values.polaris.storage.db.console }}
name: defaultStore
option:
master:
dbType: mysql
dbUser: {{ .user }}
dbPwd: {{ .password }}
dbAddr: {{ .address }}
dbName: {{ .name }}
maxOpenConns: -1
maxIdleConns: -1
connMaxLifetime: 300 # 单位秒
txIsolationLevel: 2 #LevelReadCommitted
{{- end }}
{{- else }}
# 单机文件存储插件
name: boltdbStore
option:
path: ./polaris.bolt
{{- end }}
5 changes: 0 additions & 5 deletions release/cluster/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ polaris:
name: polaris_server
user: root
password: polaris@123456
console:
address: localhost:3306
name: polaris_console
user: root
password: polaris@123456
redis:
address: localhost:6379
# ACL user from redis v6.0, remove it if ACL is not available
Expand Down
5 changes: 0 additions & 5 deletions release/cluster/kubernetes/01-polaris-console-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ data:
polarisToken: "polaris@12345678"
monitorServer:
address: "polaris-prometheus:9090"
store:
# 单机文件存储插件
name: boltdbStore
option:
path: ./polaris.bolt
kind: ConfigMap
metadata:
name: polaris-console-config
Expand Down

0 comments on commit d8bcc3e

Please sign in to comment.