Skip to content

Commit

Permalink
remove get-operator-crds target from Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
coutinhop committed Nov 27, 2024
1 parent 9ad6cc1 commit 8d42815
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ check-language:

generate:
$(MAKE) gen-semaphore-yaml
$(MAKE) get-operator-crds
$(MAKE) -C api gen-files
$(MAKE) -C libcalico-go gen-files
$(MAKE) -C felix gen-files
Expand All @@ -64,16 +63,6 @@ gen-manifests: bin/helm
CALICO_VERSION=$(CALICO_VERSION) \
./generate.sh

# Get operator CRDs from the operator repo, OPERATOR_BRANCH must be set
get-operator-crds: var-require-all-OPERATOR_BRANCH
@echo ================================================================
@echo === Pulling new operator CRDs from branch $(OPERATOR_BRANCH) ===
@echo ================================================================
cd ./charts/tigera-operator/crds/ && \
for file in operator.tigera.io_*.yaml; do echo "downloading $$file from operator repo" && curl -fsSL https://raw.githubusercontent.com/tigera/operator/$(OPERATOR_BRANCH)/pkg/crds/operator/$${file%_crd.yaml}.yaml -o $${file}; done
cd ./manifests/ocp/ && \
for file in operator.tigera.io_*.yaml; do echo "downloading $$file from operator repo" && curl -fsSL https://raw.githubusercontent.com/tigera/operator/$(OPERATOR_BRANCH)/pkg/crds/operator/$${file%_crd.yaml}.yaml -o $${file}; done

gen-semaphore-yaml:
cd .semaphore && ./generate-semaphore-yaml.sh

Expand Down

0 comments on commit 8d42815

Please sign in to comment.