Skip to main content
Skip table of contents

WFM-Auth Component Deployment on Kubernetes

This document illustrates the procedure and steps to deploy WFM-Auth Components on Kubernetes.

Before you begin, verify

Prepare for WFM-Auth Deployments

Step 1: Clone the WFM-Auth repository

CODE
git clone -b <branch Name> https://gitlab.expertflow.com/wfm/wfm-auth.git
CODE
cd wfm-auth/

Step 2: Create Namespaces

  1. Create a namespace wfm for all WFM components.

CODE
kubectl create namespace wfm

 

Step 3: Apply Image Pull secret

  1. Run the following commands for applying ImagePullSecrets of WFM images.

CODE
kubectl apply -f WFM/registryCredits/ef-imagePullSecret-wfm-auth.yaml

 

Step 4: Update FQDN

Wfm-Auth Component 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' WFM/ConfigMaps/*  WFM/Ingresses/nginx/* WFM/Ingresses/traefik/*

Step 5: Deploy WFM-Auth Component

  1. Change the directory

    CODE
    cd WFM/
  2. Apply ConfigMaps

    CODE
    kubectl apply -f ConfigMaps/ef-wfm-auth-configmap.yaml
  3. Create services for wfm-core

    CODE
    kubectl apply -f Services/ef-wfm-auth-service.yaml
  4. Apply the Deployment manifest 

    CODE
    kubectl apply -f Deployments/ef-wfm-auth-deployment.yaml
  5. Before proceeding to the the next steps, wait for all the solution components to be up and ready.

    CODE
    kubectl get pods -n wfm 

Step 6 :Setup Ingress Routes

For RKE2-based Ingresses using Ingress-Nginx Controller

CODE
kubectl apply -f Ingresses/nginx/ef-wfm-auth-Ingress.yaml
JavaScript errors detected

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

If this problem persists, please contact our support.