Skip to content

Commit

Permalink
[patch] DB2 Auto Backup Feature - Enable / Disable configuration (Upd…
Browse files Browse the repository at this point in the history
…ates) for gitops (#1465)
  • Loading branch information
mnivedithaa authored Feb 13, 2025
1 parent 208eb43 commit 2e13562
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"files": "^.secrets.baseline$",
"lines": null
},
"generated_at": "2025-02-11T10:16:54Z",
"generated_at": "2025-02-12T12:31:53Z",
"plugins_used": [
{
"name": "AWSKeyDetector"
Expand Down Expand Up @@ -192,7 +192,7 @@
"hashed_secret": "1459943ba5fd876f7ef6e48f566a40b448a2bf08",
"is_secret": false,
"is_verified": false,
"line_number": 474,
"line_number": 473,
"type": "Secret Keyword",
"verified_result": null
}
Expand Down
4 changes: 3 additions & 1 deletion image/cli/mascli/functions/gitops_db2u_database
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,6 @@ function gitops_db2u_database_noninteractive() {
[[ -z "$DB2_LOGS_STORAGE_CLASS" ]] && gitops_db2u_database_help "DB2_LOGS_STORAGE_CLASS is not set"
[[ -z "$MAS_INSTANCE_ID" ]] && gitops_db2u_database_help "MAS_INSTANCE_ID is not set"
[[ -z "$MAS_APP_ID" ]] && gitops_db2u_database_help "MAS_APP_ID is not set"
[[ -z "$AUTO_BACKUP" ]] && gitops_db2u_database_help "AUTO_BACKUP is not set"

#MAS
[[ -z "$MAS_INSTANCE_ID" ]] && gitops_db2u_database_help "MAS_INSTANCE_ID is not set"
Expand Down Expand Up @@ -504,6 +503,9 @@ DB2_WORKLOAD: '${DB2_WORKLOAD}'"
if [[ -z $SECRET_KEY_DB2_BACKUP_ICD_AUTH_KEY ]]; then
export SECRET_KEY_DB2_BACKUP_ICD_AUTH_KEY=${SECRET_NAME_ICD_AUTH_KEY}#icd_auth_key
fi
if [[ -z $AUTO_BACKUP ]]; then
export AUTO_BACKUP=false
fi
export DB2_NAMESPACE="db2u-${MAS_INSTANCE_ID}"
export DB2_DBNAME=${DB2_DBNAME:-"BLUDB"}
export JDBC_ROUTE=${JDBC_ROUTE:-"default"}
Expand Down

0 comments on commit 2e13562

Please sign in to comment.