Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
k8s
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8e9d0245
authored
Jun 02, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增quota 数据库,对应字段为quota_db_name
1 parent
cb68ff1e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
script/seetaas/2-replace-file.sh
script/seetaas/2-replace-file.sh
View file @
8e9d024
...
...
@@ -18,6 +18,7 @@ mysql_host=192.168.1.32:3306
mysql_user
=
root
mysql_password
=
seetatech
kpl_db_name
=
seetaas
#kpl服务数据库名字
quota_db_name
=
quota
redis_host
=
192.168.1.32:6379
redis_password
=
seetatech
mongo_host
=
'mongodb://admin:admin@192.168.1.32:27017/seetaas?authSource=admin'
#&号前记得加转义
...
...
@@ -37,6 +38,7 @@ sudo sed -i s/hb_host/$hb_host/g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s/redis_password/
$redis_password
/g
`
find
$config_workspace
-type f -name
"*.yaml"
`
sudo sed -i s/mysql_password/
$mysql_password
/g
`
find
$config_workspace
-type f -name
"*.yaml"
`
sudo sed -i s/kpl_db_name/
$kpl_db_name
/g
`
find
$config_workspace
-type f -name
"*.yaml"
`
sudo sed -i s/quota_db_name/
$quota_db_name
/g
`
find
$config_workspace
-type f -name
"*.yaml"
`
#####################################kpl修改后端##############################################
sudo sed -i s#kpl_deploy#
$kpl_deploy
#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#core_nginx#
$core_nginx
#g `find $config_workspace -type f -name "*.yaml"`
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment