Read envFrom values secretRef inside configmap

164 views Asked by At

I am reading parameter store values and mounting it into volume mnt/secret i have created one

envFrom:
       -secretRef:
           name:password

i need to use this env value inside my config map data which has db connection

i tried to use ${password} but its not working

configmap_my:
  name: my_Configmap
  data:
    testapplication.yaml: | -
        database:
           password: ${password}
           driverClass: oracle.jdbc.driver
0

There are 0 answers