Helm Client Local State

From NovaOrdis Knowledge Base
Revision as of 20:10, 15 December 2019 by Ovidiu (talk | contribs) (→‎Overview)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Overview

Helm 3 changed the location of its local state (Helm 2 used ~/.helm). Helm stores configuration based on the XDG base directory specification, as such:

  • cached files are stored in $XDG_CACHE_HOME/helm
  • configuration is stored in $XDG_CONFIG_HOME/helm
  • data is stored in $XDG_DATA_HOME/helm

The location of the configuration, cache and data home depend on the operating system:

Operating System Configuration Path Cache Path Data Path
macOS $HOME/Library/Preferences/helm $HOME/Library/Caches/helm $HOME/Library/helm
Linux $HOME/.config/helm $HOME/.cache/helm $HOME/.local/share/helm