Wanted to check possible solution for below use case:-
- We have a spring boot java application up and running in our K8 cluster.
- We have requirement where we need to introduce a new config map parameter CM_Profile= Catalog Or Adhoc.
- We are looking for a solution where we will have same docker image with 2 replicas in same deployment yaml. 1 POD referring to profile catalog and other referring to Adhoc.
- All i want is to explore a way to handle it in same application instead of creating a new deployment with the same image just for 1 Profile parameter.