rancher / charts-build-scripts

Apache License 2.0
9 stars 32 forks source link

fix the validation process #66

Closed jiaqiluo closed 2 years ago

jiaqiluo commented 2 years ago

Add the support for the crd tgz file within the crd chart during the validation process. The crd tgz file is always marked as Modified because its metadata is changed when re-generating the chart. If the crd tgz file is the only files changes in the crd chart, we should ignore it; Otherwise, keep all changes in the crd chart.

Note: make validation passed when building the binary and running it again my working branch in rancher/charts repo locally