INNER CODE UNIT · Shell
skipped_count
fluxcd/flux2-kustomize-helm-example · scripts/validate.sh:351
skipped_count=$((skipped_count + BASH_REMATCH[3]))
summaries_parsed=$((summaries_parsed + 1))
fi
}
validate_kubernetes_manifests() {
echo "INFO - Validating Kubernetes manifests"
local files=() output dir
while IFS= read -r -d $'\0' file; do
dir="$(dirname "$file")"
if is_excluded_dir "$dir"; then
continue
fi
if [[ -n "$bundle_file" && "$file" -ef "$bundle_file" ]]; then
continue
fi
files+=("$file")
done < <(find "$root_dir" -mindepth 1 -name '.*' -prune -o -type f \( -name '*.yaml' -o -name '*.yml' \) -print0)