INNER CODE UNIT · Shell
valid_count
fluxcd/flux2-kustomize-helm-example · scripts/validate.sh:349
valid_count=$((valid_count + BASH_REMATCH[1]))
invalid_count=$((invalid_count + BASH_REMATCH[2]))
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