From 9b7d949a0e54fdc2712dbbccc75beff849fdaedb Mon Sep 17 00:00:00 2001 From: Ismail Alidzhikov <9372594+ialidzhikov@users.noreply.github.com> Date: Tue, 17 Dec 2024 09:57:29 +0200 Subject: [PATCH] VPA: Clean up unused `cd` invocation in the `generate-crd-yaml.sh` script --- vertical-pod-autoscaler/hack/generate-crd-yaml.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/vertical-pod-autoscaler/hack/generate-crd-yaml.sh b/vertical-pod-autoscaler/hack/generate-crd-yaml.sh index 106542473116..5792f45bc3ef 100755 --- a/vertical-pod-autoscaler/hack/generate-crd-yaml.sh +++ b/vertical-pod-autoscaler/hack/generate-crd-yaml.sh @@ -44,6 +44,5 @@ ${CONTROLLER_GEN} ${CRD_OPTS} paths="${APIS_PATH}/..." output:crd:dir="\"${WORKS grep -v -e 'map keys must be strings, not int' -e 'not all generators ran successfully' -e 'usage' ${WORKSPACE}/errors.log \ && { echo "Failed to generate CRD YAMLs."; exit 1; } -cd ${WORKSPACE} cat "${WORKSPACE}/autoscaling.k8s.io_verticalpodautoscalercheckpoints.yaml" > ${OUTPUT} cat "${WORKSPACE}/autoscaling.k8s.io_verticalpodautoscalers.yaml" >> ${OUTPUT}