Helm Client Local State: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
Line 14: Line 14:
| '''Operating System''' ||'''Configuration Path'''||'''Cache Path'''||'''Data Path'''  
| '''Operating System''' ||'''Configuration Path'''||'''Cache Path'''||'''Data Path'''  
|-
|-
| macOS || $HOME/Library/Preferences/helm || $HOME/Library/Caches/helm  || $HOME/Library/helm
| '''macOS''' || $HOME/Library/Preferences/helm || $HOME/Library/Caches/helm  || $HOME/Library/helm
|-
|-
| Linux || $HOME/.config/helm  ||$HOME/.cache/helm || $HOME/.local/share/helm  
| '''Linux '''|| $HOME/.config/helm  ||$HOME/.cache/helm || $HOME/.local/share/helm  
|}
|}

Latest revision as of 20:10, 15 December 2019

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