Helmless is a tool that compares configured values against default values from a
Helm chart, producing a minimal YAML file containing only the differences. This
is useful for understanding what values have been customized in a Helm
deployment of the CloudZero Agent for Kubernetes.
Usage
helmless [flags]
Flags
-c, --configured string - Path to the configured values YAML file (default "configured-values.yaml")
-d, --defaults string - Path to the default values YAML file (default "default-values.yaml")
-o, --output string - Path to write the output YAML file (default "-" for stdout)
Example Workflow
Extract the current values from a deployed Helm release:
kubectl -n cza get cm/cz-agent-config-values -o jsonpath='{.data.values\.yaml}' > configured-values.yaml
Get the default values from the Helm chart:
helm show values ./helm > default-values.yaml
Compare the values and generate a minimal overrides file:
Package main implements a tool for comparing configured values against
default values from a Helm chart. It produces a minimal YAML file containing
only the differences, which is useful for understanding what values have been
customized in a Helm deployment of the CloudZero Agent for Kubernetes.