Refer different configmap values for same Deployment

Hi All,
Wanted to check possible solution for below use case:-

  1. We have a spring boot java application up and running in our K8 cluster.
  2. We have requirement where we need to introduce a new config map parameter CM_Profile= Catalog Or Adhoc.
  3. 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.
  4. 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.