Yaml1 looks like
resources:
limits:
cpu: ((MYAPP_CPU_LIMIT))
memory: ((MYAPP_MEMORY_LIMIT))
requests:
cpu: ((MYAPP_CPU_REQUEST))
memory: ((MYAPP_MEMORY_REQUEST))
and Yaml2
variables:
MYAPP_CPU_LIMIT: 4
MYAPP_CPU_REQUEST: 4
MYAPP_MEMORY_LIMIT: 2Gi
MYAPP_MEMORY_REQUEST: 2Gi
I need to replace the tokens from Yaml1 with values from Yaml2. I know for Azure pipeline scenario, tasks like qetza.replacetokens.replacetokens-task.replacetokens are available. I am trying to do the same on the developer's machine. I want to know if any command/tool exists to do that.