icefery / yaml-diff

A tool written to show changes between two yaml files, especially useful to minimize the helm chart values.yaml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What

A tool written to show changes from default.yaml to custom.yaml, especially useful to minimize helm chart values.

Usage

bin/yaml-diff-linux <default.yaml> <custom.yaml>

Example

# download default helm chart values
curl https://artifacthub.io/api/v1/packages/0602c8d2-b17d-432f-89f0-95000f3057a2/17.1.2/values > default.yaml

# change replication to standalone
sed 's/^architecture: replication$/architecture: standalone/' default.yaml > custom.yaml

# diff what have changed
bin/yaml-diff-linux default.yaml custom.yaml > values.yaml

About

A tool written to show changes between two yaml files, especially useful to minimize the helm chart values.yaml


Languages

Language:JavaScript 100.0%