Skip to content
Snippets Groups Projects
Commit 097fe717 authored by Sheogorath's avatar Sheogorath :european_castle: Committed by Brad Davidson
Browse files

fix: Drop unneeded reorder surpression

This patch drops the deprecated flag for output reordering. This causes
the output to be ordered properly instead of following the order of the
resource list.

References:
https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/sortoptions/#legacy-sorting
parent 4eacc2da
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,6 @@ if [ "$ARCH" = "amd64" ]; then
cp kustomization.yaml /tmp/
trap reset-kustomization EXIT
kustomize edit set image "rancher/system-upgrade-controller=${REPO}/system-upgrade-controller:${VERSION}"
kustomize build --reorder=none --output ./dist/artifacts/system-upgrade-controller.yaml
kustomize build --output ./dist/artifacts/system-upgrade-controller.yaml
go run hack/crdgen.go > ./dist/artifacts/crd.yaml
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment