Using config vars in node.js app in Heroku style

Let’s say we wanna migrate our node.js app from heroku to Kubernets (Okteto for now)
App is working well but we’ve got some config vars inside Heroku app and when it comes to node app we can find something like this

   clientId: process.env.CLIENT_ID,
    clientSecret: process.env.CLIENT_SECRET,
    restEndpoint: process.env.REST_ENDPOINT,
    soapEndPoint: process.env.SOAP_ENDPOINT,
    authEndpoint: process.env.AUTH_ENDPOINT,

i’m wondering how it might look like?

Hi @ppincet !

I’m not sure I’m understanding exactly the question. Do you want to know how are envvars set in okteto?

If you are working with an okteto.yml manifest, you can use envfiles and if you are using docker compose you can also use environment