Skip to content

Commit

Permalink
modify $mongodb_uri to $mongodbUri
Browse files Browse the repository at this point in the history
  • Loading branch information
bxy4543 committed Jul 27, 2023
1 parent 79e64d6 commit 5f97b88
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions deploy/cloud/scripts/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,15 @@ function sealos_run_controller {

# run resources monitoring controller
sealos run tars/monitoring.tar \
--env MONGO_URI="$mongodb_uri" --env DEFAULT_NAMESPACE="resources-system"
--env MONGO_URI="$mongodbUri" --env DEFAULT_NAMESPACE="resources-system"

# run resources metering controller
sealos run tars/metering.tar
sealos run tars/metering.tar \
--env MONGO_URI="$mongodbUri" --env DEFAULT_NAMESPACE="resources-system"

# run account controller
sealos run tars/account.tar \
--env MONGO_URI="$mongodb_uri" \
--env MONGO_URI="$mongodbUri" \
--env DEFAULT_NAMESPACE="account-system"

}
Expand Down

0 comments on commit 5f97b88

Please sign in to comment.