How do we restart TDM Kubernetes pod with a new configuration?

book

Article ID: 222965

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

 

Hi Broadcom Team,

We deploy CA TMD portal on a Kubernetes cluster, and we have an issue when we modify a configuration file and restart the pod.
When the pod is restarted it comes up with the default configuration.
We tried to delete the pod, to scale down, and to kill the process in the pod, same result, it restarts with the default configuration.

How can we change the configuration file, without rebuilding the image?  

Steps:
1- I go to the pod ( for this exemple tdmweb )
2- I modify the file application.properties in /opt/tdm/conf
3- I delete the pod 
4- the pod restarts and I am going into the pod 
5- the file application.properties come back the same before my changes 

Cause

 

 

Environment

 

TDM  4.9.1

Component: Test data manager Web Portal

Resolution

 
 

The application.properties file is overwritten using the environment settings in the Kubernetes file.
The client needs to add the updates to the environment setting in the Kubernetes config file.  

This is the relevant entry:

env:
   - name: APPLICATION_PROP
   value: tdmweb.TDMMaskingService.taskTimeout=30|tdmweb.profiling.uncommitted.reads=true|tdmweb.profiling.query.timeout=300