diff --git a/ci-operator/config/stolostron/cluster-curator-controller/stolostron-cluster-curator-controller-main.yaml b/ci-operator/config/stolostron/cluster-curator-controller/stolostron-cluster-curator-controller-main.yaml index c3bdecfe1296..e1f7e8f6459d 100644 --- a/ci-operator/config/stolostron/cluster-curator-controller/stolostron-cluster-curator-controller-main.yaml +++ b/ci-operator/config/stolostron/cluster-curator-controller/stolostron-cluster-curator-controller-main.yaml @@ -39,7 +39,8 @@ tests: export KB_TOOLS_ARCHIVE_NAME="kubebuilder-tools-${KUBEBUILDER_VERSION}-${os}-${arch}.tar.gz" curl -s -f -L https://storage.googleapis.com/kubebuilder-tools/${KB_TOOLS_ARCHIVE_NAME} -o ${KB_TOOLS_ARCHIVE_NAME} tar -zxvf ${KB_TOOLS_ARCHIVE_NAME} - sudo mv -f ./kubebuilder /usr/local/kubebuilder + export PATH=$PATH:$(pwd)/kubebuilder/bin + export KUBEBUILDER_ASSETS=$(pwd)/kubebuilder/bin make -f /opt/build-harness/Makefile.prow sonar/go/prow container: from: src @@ -56,7 +57,8 @@ tests: export KB_TOOLS_ARCHIVE_NAME="kubebuilder-tools-${KUBEBUILDER_VERSION}-${os}-${arch}.tar.gz" curl -s -f -L https://storage.googleapis.com/kubebuilder-tools/${KB_TOOLS_ARCHIVE_NAME} -o ${KB_TOOLS_ARCHIVE_NAME} tar -zxvf ${KB_TOOLS_ARCHIVE_NAME} - sudo mv -f ./kubebuilder /usr/local/kubebuilder + export PATH=$PATH:$(pwd)/kubebuilder/bin + export KUBEBUILDER_ASSETS=$(pwd)/kubebuilder/bin make -f /opt/build-harness/Makefile.prow sonar/go/prow container: from: src