Skip to main content
Skip table of contents

MS-CRM-Connector-cif-2.0 Enablement with Kubernetes

This document illustrates the procedure and steps to deploy MS-CRM-Connector on Kubernetes.

Before you begin, verify

Prepare for MS-CRM-Connector-Cif-2.0 Deployments

Step 1: Clone the MS-CRM-Connector-Cif-2.0 repository

CODE
git clone -b <branch Name> https://gitlab.expertflow.com/cti/ms-crm-connector-with-efcx-cif-2.0.git
CODE
cd ms-crm-connector-with-efcx-cif-2.0/

Step 2: Create Namespaces

  1. Create a namespace expertflow .

CODE
kubectl create namespace expertflow

 

Step 3: Apply Image Pull secret

  1. Run the following commands for applying ImagePullSecrets of ms-crm-connector images.

CODE
kubectl apply -f kubernetes/registryCredits/ms-imagePullSecret-expertflow.yaml

 

Step 4: Update FQDN

MS-CRM-Connector should be accessible by a fully qualified domain name. Assign the FQDN.

Replace <FQDN> with your FQDN for wfm-reports and run this command.

CODE
sed -i 's/devops[0-9]*.ef.com/<FQDN>/g' kubernetes/ConfigMaps/*  kubernetes/Ingresses/nginx/* kubernetes/Ingresses/traefik/*

Update Config Map

  1. Open the ConfigMap

    CODE
    nano <FQDN>/kubernetes/ConfigMaps/ms-crm-cif-2.0-configmap.yaml 
    image-20240201-134247.png
  2. Change the values as follows:

    1. AGENTDESK: URL to the Agent Desk

    2. ENTITIES: contact, account, lead

    3. NOMATCHENTITY: Account

    4. ORGANIZATIONDOMAIN: URL of CRM

  3. Exit the editor by pressing the ctrl+X key and then entering Shift+Y

Step 5: Deploy MS-CRM-Connector Change the directory

  1. Change the directory

CODE
cd kubernetes/
  1. Apply ConfigMaps

    CODE
    kubectl apply -f ConfigMaps/ms-crm-cif-2.0-configmap.yaml
  2. Create services for ms-crm-cif-2

    CODE
    kubectl apply -f Services/ms-crm-cif-2.0-service.yaml
  3. Apply the Deployment manifest 

    CODE
    kubectl apply -f Deployments/ms-crm-cif-2.0-deployment.yaml
  4. Before proceeding to the the next steps, wait for all the solution components to be up and ready.

    CODE
    kubectl get pods -n expertflow

Step 6 :Setup Ingress Routes

For RKE2-based Ingresses using Ingress-Nginx Controller

CODE
kubectl apply -f Ingresses/nginx/ms-crm-cif-2.0-Ingress.yaml

 

JavaScript errors detected

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

If this problem persists, please contact our support.