gentle-umbrella-55872
05/01/2024, 6:01 PMmicroscopic-river-74022
05/01/2024, 6:01 PMmicroscopic-river-74022
05/01/2024, 6:02 PMgentle-umbrella-55872
05/01/2024, 6:02 PMmicroscopic-river-74022
05/01/2024, 6:02 PMmicroscopic-river-74022
05/01/2024, 6:03 PMvariables
key, as well as the environment[].variables
key for environment-specific values. These variables can then be referenced via ${var.<key>}
template string keys. Here's an example:
yaml
kind: Project
variables:
log-level: info
environments:
- name: local
variables:
log-level: debug
- name: remote
---
kind: Deploy
spec:
env:
LOG_LEVEL: ${var.log-level} # <- resolves to "debug" for the "local" environment, "info" for the "remote" env
For more detailed information, you can refer to the Garden.io documentation on variables and templating ().
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------