helmless

command
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

README

Cloudzero Helmless

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
  1. 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
    
  2. Get the default values from the Helm chart:

    helm show values ./helm > default-values.yaml
    
  3. Compare the values and generate a minimal overrides file:

    cloudzero-helmless \
        --configured configured-values.yaml \
        --defaults default-values.yaml \
        --output overrides.yaml
    

The resulting overrides.yaml will contain only the values that differ from the defaults, making it easy to understand what has been customized.

Limitations

The kubeStateMetrics object is excluded from the comparison due to limitations in the helm show values output

Documentation

Overview

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL