Skip to content

Commit

Permalink
feat(backend): 备份系统支持hdfs close #1213
Browse files Browse the repository at this point in the history
  • Loading branch information
seanlook authored and zhangzhw8 committed Oct 10, 2023
1 parent d724fd8 commit 490fdc1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
10 changes: 9 additions & 1 deletion helm-charts/bk-dbm/templates/backup-server-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,12 @@ data:
srv_path: "dbmcos/"
ttl: 10
migrate:
enable: true
enable: true
{{- if index .Values "backup-server" "hdfs" "enable" }}
hdfs-server:
server_addr: "{{ index .Values "backup-server" "hdfs" "server_addr" }}"
api_sys_id: "{{ index .Values "backup-server" "hdfs" "api_sys_id" }}"
api_key: "{{ index .Values "backup-server" "hdfs" "api_key" }}"
api_ticket: ""
api_version: "1.0"
{{- end }}
5 changes: 5 additions & 0 deletions helm-charts/bk-dbm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,11 @@ backup-consumer:

backup-server:
enabled: true
hdfs:
enable: false
server_addr: "http://example.com"
api_sys_id: "test"
api_key: "test key"

# bitnami mysql 配置项
mysql:
Expand Down

0 comments on commit 490fdc1

Please sign in to comment.