Skip to content

Commit

Permalink
fix: backup-server configmap add judge #9060
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangrq5 authored and iSecloud committed Jan 14, 2025
1 parent bd685b3 commit 9ec21b4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ data:
api_key: "{{ index .Values "backup-server" "hdfs" "api_key" }}"
api_ticket: ""
api_version: "1.0"
{{- if index .Values "backup-server" "hdfs" "apply_db" }}
databases:
mysql:
name: "old_server_mysql"
Expand All @@ -74,4 +75,5 @@ data:
password: "{{ index .Values "backup-server" "hdfs" "oldBackupDb" "password" }}"
database: "{{ index .Values "backup-server" "hdfs" "oldBackupDb" "name" }}"
charset: "utf8mb4"
{{- end }}
{{- end }}
{{- end }}

0 comments on commit 9ec21b4

Please sign in to comment.