File tree Expand file tree Collapse file tree 2 files changed +20
-20
lines changed
Expand file tree Collapse file tree 2 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -108,17 +108,17 @@ build_images() {
108108 local repo_root
109109 repo_root=" $( cd " ${script_dir} /../.." && pwd) "
110110
111- # Build server
112- log_info " Building server image..."
113- docker build -t " ${SERVER_IMAGE} " " ${repo_root} /server /" || {
114- log_error " Failed to build server image"
111+ # Build engine
112+ log_info " Building engine image..."
113+ docker build -t " ${SERVER_IMAGE} " " ${repo_root} /engine /" || {
114+ log_error " Failed to build engine image"
115115 exit 1
116116 }
117117
118- # Build management
119- log_info " Building management image..."
120- docker build -f " ${repo_root} /management /Dockerfile.integration" -t " ${CONTROL_IMAGE} " " ${repo_root} /management /" || {
121- log_error " Failed to build management image"
118+ # Build control
119+ log_info " Building control image..."
120+ docker build -f " ${repo_root} /control /Dockerfile.integration" -t " ${CONTROL_IMAGE} " " ${repo_root} /control /" || {
121+ log_error " Failed to build control image"
122122 exit 1
123123 }
124124
@@ -152,8 +152,8 @@ deploy_rbac() {
152152 local repo_root
153153 repo_root=" $( cd " ${script_dir} /../.." && pwd) "
154154
155- kubectl apply -f " ${repo_root} /server /k8s/rbac.yaml" -n " ${NAMESPACE} "
156- kubectl apply -f " ${repo_root} /management /k8s/rbac.yaml" -n " ${NAMESPACE} "
155+ kubectl apply -f " ${repo_root} /engine /k8s/rbac.yaml" -n " ${NAMESPACE} "
156+ kubectl apply -f " ${repo_root} /control /k8s/rbac.yaml" -n " ${NAMESPACE} "
157157
158158 log_info " RBAC deployed ✓"
159159}
Original file line number Diff line number Diff line change @@ -45,17 +45,17 @@ check_cluster_exists() {
4545build_and_load_images () {
4646 log_info " Building Docker images..."
4747
48- # Build server
49- log_info " Building server image..."
50- docker build -t " ${SERVER_IMAGE} " server / || {
51- log_error " Failed to build server image"
48+ # Build engine
49+ log_info " Building engine image..."
50+ docker build -t " ${SERVER_IMAGE} " engine / || {
51+ log_error " Failed to build engine image"
5252 exit 1
5353 }
5454
55- # Build management
56- log_info " Building management image..."
57- docker build -f management /Dockerfile.integration -t " ${CONTROL_IMAGE} " management / || {
58- log_error " Failed to build management image"
55+ # Build control
56+ log_info " Building control image..."
57+ docker build -f control /Dockerfile.integration -t " ${CONTROL_IMAGE} " control / || {
58+ log_error " Failed to build control image"
5959 exit 1
6060 }
6161
@@ -70,8 +70,8 @@ build_and_load_images() {
7070update_rbac () {
7171 log_info " Updating RBAC resources..."
7272
73- kubectl apply -f server /k8s/rbac.yaml -n " ${NAMESPACE} "
74- kubectl apply -f management /k8s/rbac.yaml -n " ${NAMESPACE} "
73+ kubectl apply -f engine /k8s/rbac.yaml -n " ${NAMESPACE} "
74+ kubectl apply -f control /k8s/rbac.yaml -n " ${NAMESPACE} "
7575
7676 log_info " RBAC updated ✓"
7777}
You can’t perform that action at this time.
0 commit comments