Breadcrumbs

Upgrade Guide CX5.0.1 to CX5.0.2

Before upgrading, ensure that the system is idle, i.e, all agents are logged out from the AgentDesk.

Custom Configuration Strategy

For detailed guidelines on applying environment-specific configurations using custom values.yaml layering,

Refer to the CX Helm Chart Custom Configuration Strategy guide.

  1. Update Helm repo

    helm repo update expertflow
    
  2. Clone the CX repository on the target server

    # Create CX-5.0.2 directory from root
      mkdir CX-5.0.2
    # Navigate to CX-5.0.2
      cd CX-5.0.2
    # Clone the CX-5.0.2 branch of the cim-solution repository
      git clone -b CX-5.0.2 https://efcx:RecRpsuH34yqp56YRFUb@gitlab.expertflow.com/cim/cim-solution.git $HOME/CX-5.0.2
    # Navigate to root(previous) directory
      cd ../
    # Navigate to the current release /kubernetes 
      cd <current-release>/kubernetes
      
    
  3. Deploy the APISIX helm chart

    helm show values expertflow/apisix --version 5.0.2  > helm-values/apisix-custom-values.yaml
    global:
      ingressRouter: "*.expertflow.com"   # * for MTT & for prem replace FQDN
      ingressClassName: "nginx"
      ingressTlsCertName: "ef-ingress-tls-secret"
    helm upgrade --install --namespace ef-external --values helm-values/apisix-custom-values.yaml apisix expertflow/apisix --version 5.0.2  
    
  4. Deploy the ActiveMQ helm chart

    helm show values expertflow/activemq --version 5.0.2 > helm-values/ef-activemq-custom-values.yaml
    helm upgrade --install=true  --namespace=ef-external --values=helm-values/ef-activemq-custom-values.yaml activemq expertflow/activemq --version 5.0.2
    
  5. Deploy the AgentDesk helm chart

    # Deploy the new chart version using the helm-values/cx-agent-desk-custom-values.yaml
      helm upgrade --install --namespace expertflow --set global.efCxReleaseName="ef-cx"  cx-agent-desk  --debug --values helm-values/cx-agent-desk-custom-values.yaml expertflow/agent-desk --version 5.0.2
    
  6. Deploy the Core helm chart

    # Deploy the new chart version using the helm-values/ef-cx-custom-values.yaml 
      helm upgrade --install --namespace expertflow --create-namespace   ef-cx  --debug --values helm-values/ef-cx-custom-values.yaml expertflow/cx --version 5.0.2
    
  7. Deploy the Channels helm chart

    # Deploy the new chart version using the helm-values/cx-channels-custom-values.yaml
      helm upgrade --install --namespace expertflow --set global.efCxReleaseName="ef-cx" --debug cx-channels --values helm-values/cx-channels-custom-values.yaml  expertflow/channels --version 5.0.2
    
    1. Upload Play Store channel icon to all tenents

      # Copy following script and icon from CX-5.0.2 to your current release
        Copy From CX-5.0.2/kubernetes/post-deployment/data/minio/bucket/default/_PLAY_STORE.svg To kubernetes/post-deployment/data/minio/bucket/default
        Copy From CX-5.0.2/kubernetes/scripts/upload_tenant_icon.sh To kubernetes/scripts/
      # Edit the upload_tenant_icon.sh and update the FQDN values as per your environment
      # Assign the permissions using following command
        chmod +x scripts/upload_tenant_icon.sh
      # Run the script using
        ./scripts/upload_tenant_icon.sh
      
  8. Deploy the Campaigns helm chart

    # Deploy the new chart version using the helm-values/cx-campaigns-custom-values.yaml
    helm upgrade --install --namespace expertflow   --set global.efCxReleaseName="ef-cx"  cx-campaigns --debug --values helm-values/cx-campaigns-custom-values.yaml expertflow/campaigns --version 5.0.2