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
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