Skip to main content
Skip table of contents

Mount CRM Service folder in unified-agent POD Guide

Introduction

This document illustrates the procedure and steps to mount the crm-service folder in unified Agent POD. The requirements are as follows:

  • We want to place the crm-service.js in the skeleton project for the unified agent.

  • We want to update/replace all files inside the assets/cti/crm/ of the unified-agent pod with the crm-service.js updated in the skeleton project during run time.

  • Once the pod restarts, the file should be replaced.

Procedure

The procedure is described below:

Change the directory

CODE
cd cim-solution/kubernetes

for creating configmaps

CODE
kubectl -n expertflow  create configmap ef-crm-service-cm --from-file=pre-deployment/crm-service/


In order to make your changes to be reflected you have to delete and apply  'ef-unified-agent-deployment.yaml' 

for deletion of Deployments

CODE
kubectl delete -f cim/Deployments/ef-unified-agent-deployment.yaml

for  applying for Deployments

CODE
kubectl apply -f cim/Deployments/ef-unified-agent-deployment.yaml
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.