I have an external custom yaml file in classpath named cache-config.yaml and I want to use environment variables in that file as;
cache-name-1:
ttl: ${redis.global-ttl:144000}
maxIdleTime: ${redis.global-max-idle-time:60000}
When I try to read this yaml it shows variables as String not reading the properties from environment. Can you please show a way that I can use envs in this yaml. Thank you