diff --git a/hack/update-crds.sh b/hack/update-crds.sh index ede82e3bf..25c3d2ec0 100755 --- a/hack/update-crds.sh +++ b/hack/update-crds.sh @@ -34,7 +34,7 @@ out="deploy/manifests/00-crds.yaml" rm "$out" > /dev/null 2>&1 || true mkdir -p "$(dirname $out)" touch "$out" -for file in ${output}/*; do +for file in $(find "${output}" -type f | sort); do cat "$file" >> "$out" echo "---" >> "$out" done