Skip to content

Releases: tiulpin/kaartcontrole

v0.2.0

20 Feb 12:43
723e7ac
Compare
Choose a tag to compare

Changelog

  • 723e7ac feat(plugin): Provide a faster installation script

Installation

bash helm plugin install https://github.com/tiulpin/kaartcontrole

Usage

bash # Basic usage helm kc ./mychart values.yaml
would give

Starting validation...
❌ Unexpected key: 'maxReplicaCount' is not defined in chart defaults ⚠️ Redundant value: 'resources.requests.cpu' matches default value: 100m ❌ Type mismatch for 'resources.limits.cpu': expected string, got float64
Validation completed: Issues were found. Error: plugin "kc" exited with error ```
... which has some issues! Let's remove `maxReplicaCount` and run the check again ignoring the fields we don't care much:
```bash # Ignore specific fields helm kc --ignore resources --ignore health ./mychart values.yaml ```
```text Validating Helm chart values: ============================== Chart: ./mychart Values file: values.yaml Ignoring fields: resources,health
Starting validation...

Validation completed: No issues found. ```
## Options
* `--ignore`: Fields to ignore in validation (can be specified multiple times)

v0.1.0

20 Feb 12:10
57ef759
Compare
Choose a tag to compare

Changelog

  • 57ef759 feat(plugin): Initial 0.1.0 kc release

Installation

bash helm plugin install https://github.com/tiulpin/kaartcontrole

Usage

bash # Basic usage helm kc ./mychart values.yaml
would give

Starting validation...
❌ Unexpected key: 'maxReplicaCount' is not defined in chart defaults ⚠️ Redundant value: 'resources.requests.cpu' matches default value: 100m ❌ Type mismatch for 'resources.limits.cpu': expected string, got float64
Validation completed: Issues were found. Error: plugin "kc" exited with error ```
... which has some issues! Let's remove `maxReplicaCount` and run the check again ignoring the fields we don't care much:
```bash # Ignore specific fields helm kc --ignore resources --ignore health ./mychart values.yaml ```
```text Validating Helm chart values: ============================== Chart: ./mychart Values file: values.yaml Ignoring fields: resources,health
Starting validation...

Validation completed: No issues found. ```
## Options
* `--ignore`: Fields to ignore in validation (can be specified multiple times)