mirror of
https://github.com/helm/helm.git
synced 2026-05-04 17:26:40 -04:00
Helm had been exposing XDG based variables to end users. This lead to confusion. For example, if a user wanted to change the cache location Helm used should they change the XDG variable? Since this would be like changing the HOME environment variable the answer is no. This change adds HELM_*_HOME environment variables to be used in addition to XDG ones of the same name. Helm will now look for the Helm specific variable. If not set, Helm will fall back to XDG locations. If those are not set a default location will be used. This keeps XDG in use as a default when present, provides users with the ability to set the location, and removes XDG from being exposed to end users to avoid confusion. Closes #7919 Signed-off-by: Matt Farina <matt@mattfarina.com> |
||
|---|---|---|
| .. | ||
| output | ||
| values | ||
| environment.go | ||
| environment_test.go | ||