This article explains how to remove (hide) the components of the Online Store from CloudBlue Commerce 21.0 after you upgrade to it. All items related to configuring the Online Store will be removed from the left navigation pane and the Quick Setup wizard of the Billing Panel in CloudBlue Commerce.

1. Start the helmfile-deploy docker container in interactive mode:
docker run --rm -it -v ~/.kube/config:/root/.kube/config --entrypoint /bin/bash a8n-docker.repo.int.zone/platform-core/helmfile-deploy:master


2. Inside the helmfile-deploy container, issue the following commands:
[helmfile-deploy]# kubectl -n <the namespace where the bss-www pod is located> get pods | grep bss-www
bss-www-5c55d88567-6pfxh 1/1 Running 20 77m


3. Extract the name of the bss-www container from the above line and issue the following command:
[helmfile-deploy]# kubectl -n <the namespace where the bss-www pod is located> exec -ti bss-www-5c55d88567-6pfxh /bin/bash


4. Inside the bss-www container, issue the following commands:
[root@bss-www-5c55d88567-6pfxh /]# yum install wget -y
[root@bss-www-5c55d88567-6pfxh /]# cd /k8s_data/customization
[root@bss-www-5c55d88567-6pfxh /k8s_data/customization/]# wget https://cloudblue.freshdesk.com/helpdesk/attachments/2043247047346 && mv 2043247047346 customization.tar.gz


[root@bss-www-5c55d88567-6pfxh /k8s_data/customization/]# tar -zxf customization.tar.gz
[root@bss-www-5c55d88567-6pfxh /k8s_data/customization/]# rm -rf customization.tar.gz
[root@bss-www-5c55d88567-6pfxh /k8s_data/customization/]# chown pba:apache *
[root@bss-www-5c55d88567-6pfxh /k8s_data/customization/]# exit


5. Inside the helmfile-deploy container, issue the following commands:
[helmfile-deploy]# kubectl -n <the namespace where the bss-www pod is located> scale deployment bss-www --replicas=0
[helmfile-deploy]# kubectl -n <the namespace where the bss-www pod is located> scale deployment bss-www --replicas=1