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.
-
Update Helm repo
helm repo update expertflow -
Clone the CX repository on the target server
# Create CX-5.0.3 directory from root mkdir CX-5.0.3 # Navigate to CX-5.0.3 cd CX-5.0.3 # Clone the CX-5.0.3 branch of the cim-solution repository git clone -b CX-5.0.3 https://efcx:RecRpsuH34yqp56YRFUb@gitlab.expertflow.com/cim/cim-solution.git $HOME/CX-5.0.3 # Navigate to root(previous) directory cd ../ # Navigate to the current release /kubernetes cd <current-release>/kubernetes -
Deploy the APISIX helm chart
helm show values expertflow/apisix --version 5.0.3 > 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.3 -
Deploy the AgentDesk helm chart
# Copy the unified agent translation directory to the current release Copy From CX-5.0.3/kubernetes/pre-deployment/app-translations/unified-agent/i18n/ To pre-deployment/app-translations/unified-agent # Delete and Create the ConfigMap of unified-agent translations kubectl delete cm ef-app-translations-cm -n expertflow kubectl -n expertflow create configmap ef-app-translations-cm --from-file=pre-deployment/app-translations/unified-agent/i18n/ # Deploy the new chart version using the helm-values/cx-agent-desk-custom-values.yaml The following configurations are no longer required, you can remove them from helm-values/cx-agent-desk-custom-values.yaml efCommonVars_IS_ENABLED_2FA: "false" efCommonVars_CHANNEL_2FA: "app" 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.3 -
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.3
Use the following guide for 2FA configuration and enabling 2FA.
If 2FA is not enabled after the upgrade, please use this patch tenant API to set 2FA false for the selected tenant using the payload given below
{
"tenantSettings": {
"twoFAConfigs": {
"is2FAEnabled": false
}
}
}