careful-evening-79580
02/15/2023, 2:12 PMquaint-dress-831
02/15/2023, 2:53 PMbright-policeman-43626
02/15/2023, 3:01 PMkind: Module
name: your-api
services:
- name: your-api-service
env:
THIS: ${var.THIS} # this will look in your garden.env or variables object
THAT: ${local.env.THAT} # This will go actually look to your exported env vars in bash
I use a lot the second option to store things like API Tokens or stuff that I don't want to have in a plain text file but rather exported in my ENV.
https://docs.garden.io/using-garden/variables-and-templating
---
Also you can have K8s secrets applied and just reference them according to the container module
docs!bright-policeman-43626
02/15/2023, 3:07 PMcareful-evening-79580
02/15/2023, 3:11 PMbright-policeman-43626
02/15/2023, 3:17 PMbrief-restaurant-63679
02/18/2023, 3:03 AM