We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e5e390 commit f5cc4ddCopy full SHA for f5cc4dd
docs/guide/intro/extensions.md
@@ -89,9 +89,25 @@ $override:
89
# ... default values
90
```
91
92
+## The `$envVar` Directive
93
+
94
+Pulls in an environment variable.
95
96
+```yaml
97
+username:
98
+ $envVar: USER
99
100
+hostname:
101
+ $envVar:
102
+ name: HOSTNAME
103
+ allowNull: true
104
+```
105
106
+Use `parseInt`, `parseFloat` or `parseBool` option alongside the name to parse values from the env string.
107
108
## The `$substitute` Directive
109
-Allows environment variables to be used in strings.
110
+Allows environment variables to be used in strings. Very similar to `$envVar`, but allows embedding variables in strings.
111
112
```yaml
113
apiUrl:
0 commit comments