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 a765683e
authored
Dec 08, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除废弃变量
1 parent
f485822c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
17 deletions
script/seetaas/2-replace-file.sh
script/seetaas/2-replace-file.sh
View file @
a765683
...
@@ -3,20 +3,11 @@
...
@@ -3,20 +3,11 @@
workspace
=
/workspace/seetaas
workspace
=
/workspace/seetaas
config_workspace
=
/root/configmap-kpl
config_workspace
=
/root/configmap-kpl
################kpl组件变量信息##########################
################kpl组件变量信息##########################
#kpl_frontend=http://106.38.203.205:30180 #30180
kpl_backend
=
http://106.38.203.205:30180
kpl_backend
=
http://106.38.203.205:30180
kpl_back_socket
=
ws://106.38.203.205:30180
# 30200 https对应wss
kpl_back_socket
=
ws://106.38.203.205:30180
# 30200 https对应wss
kpl_edu_backend
=
http://106.38.203.205:30181
kpl_edu_backend
=
http://106.38.203.205:30181
kpl_edu_back_socket
=
ws://106.38.203.205:30181
# 30200 https对应wss
kpl_edu_back_socket
=
ws://106.38.203.205:30181
# 30200 https对应wss
#kpl_imageproxy=http://106.38.203.205:30202 #30202
#kpl_deploy=http://106.38.203.205:30201 #30201
#usercenter_frontend=http://106.38.203.205:30302 #30302
#usercenter_backend=http://106.38.203.205:30300 #30300
#core_nginx=http://106.38.203.205:30099 #30099
#visit_uc_frontend=106.38.203.205 #user-center前端的主机ip 或域名
#mobile_frontend=http://106.38.203.205:30181 #30181
kpl_stream
=
106.38.203.205:30205
kpl_stream
=
106.38.203.205:30205
#kpl_admin_frontend=http://106.38.203.205:30182
##################功能开关#####################################
##################功能开关#####################################
iot_boolean
=
false
iot_boolean
=
false
grafana_boolean
=
false
grafana_boolean
=
false
...
@@ -50,19 +41,11 @@ sudo sed -i s/redis_password/$redis_password/g `find $config_workspace -type f -
...
@@ -50,19 +41,11 @@ sudo sed -i s/redis_password/$redis_password/g `find $config_workspace -type f -
sudo sed -i s/mysql_password/
$mysql_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/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"
`
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"`
#sudo sed -i s#kpl_frontend#$kpl_frontend#g `find $config_workspace -type f -name "*.yaml"`
#sudo sed -i s#visit_uc_frontend#$visit_uc_frontend#g `find $config_workspace -type f -name "*.yaml"`
#sudo sed -i s#kpl_admin_frontend#$kpl_admin_frontend#g `find $config_workspace -type f -name "*.yaml"`
#############################kpl修改前端app.yaml#######################################
#############################kpl修改前端app.yaml#######################################
sudo sed -i s#kpl_backend#
$kpl_backend
#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#kpl_backend#
$kpl_backend
#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#kpl_back_socket#
$kpl_back_socket
#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#kpl_back_socket#
$kpl_back_socket
#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#kpl_edu_backend#
$kpl_edu_backend
#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#kpl_edu_backend#
$kpl_edu_backend
#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#kpl_edu_back_socket#
$kpl_edu_back_socket
#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#kpl_edu_back_socket#
$kpl_edu_back_socket
#g `find $config_workspace -type f -name "*.yaml"`
#sudo sed -i s#kpl_imageproxy#$kpl_imageproxy#g `find $config_workspace -type f -name "*.yaml"`
#sudo sed -i s#mobile_frontend#$mobile_frontend#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#kpl_stream#
$kpl_stream
#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#kpl_stream#
$kpl_stream
#g `find $config_workspace -type f -name "*.yaml"`
########################功能开关#######################################
########################功能开关#######################################
sudo sed -i s#iot_boolean#
$iot_boolean
#g `find $config_workspace -type f -name "*.yaml"`
sudo sed -i s#iot_boolean#
$iot_boolean
#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