Cluster Configuration¶
Project-Level Config¶
Create a .helm-me.toml file in your project root to set default cluster settings:
Now helm-me deploy deploy.yaml uses these defaults without flags.
Priority Order¶
Settings are resolved in this order (first wins):
- CLI flags (
--kubeconfig,--context,--namespace) - Project config (
.helm-me.toml) - Environment variable (
$KUBECONFIG) - Default (
~/.kube/config)
Multi-Cluster Workflow¶
# Deploy to staging
helm-me deploy deploy.yaml --context staging
# Deploy to production
helm-me deploy deploy.yaml --context production --namespace prod
XDG Config¶
Global settings are stored in $XDG_CONFIG_HOME/helm-me/ (defaults to ~/.config/helm-me/).
The deployment registry lives at ~/.helm-me/deployments/.