Skip to content

Commit

Permalink
Remove CRD version v1alpha1
Browse files Browse the repository at this point in the history
  • Loading branch information
gianlucam76 committed Feb 24, 2025
1 parent 8e31c61 commit b0008f2
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 728 deletions.
12 changes: 0 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -124,18 +124,6 @@ generate: ## Run all generate-manifests-*, generate-go-deepcopy-*
MANIFEST_IMG=$(SVELTOSCTL_IMG) MANIFEST_TAG=$(TAG) $(MAKE) set-manifest-image
$(MAKE) fmt

.PHONY: generate-go-conversions
generate-go-conversions: $(CONVERSION_GEN) ## Generate conversions go code for utils.projectsveltos.io api
$(MAKE) clean-generated-conversions SRC_DIRS="./api/v1alpha1"
$(CONVERSION_GEN) \
--output-file=zz_generated.conversion.go \
--go-header-file=./hack/boilerplate.generatego.txt \
./api/v1alpha1

.PHONY: clean-generated-conversions
clean-generated-conversions: ## Remove files generated by conversion-gen from the mentioned dirs. Example SRC_DIRS="./api/v1alpha4"
(IFS=','; for i in $(SRC_DIRS); do find $$i -type f -name 'zz_generated.conversion*' -exec rm -f {} \;; done)

set-manifest-image:
sed -i'' -e 's@image: .*@image: '"docker.io/${MANIFEST_IMG}:$(MANIFEST_TAG)"'@' ./manifest/manifest.yaml

Expand Down
31 changes: 0 additions & 31 deletions api/v1alpha1/collection_status.go

This file was deleted.

20 changes: 0 additions & 20 deletions api/v1alpha1/doc.go

This file was deleted.

38 changes: 0 additions & 38 deletions api/v1alpha1/groupversion_info.go

This file was deleted.

95 changes: 0 additions & 95 deletions api/v1alpha1/snapshot_types.go

This file was deleted.

187 changes: 0 additions & 187 deletions api/v1alpha1/zz_generated.conversion.go

This file was deleted.

Loading

0 comments on commit b0008f2

Please sign in to comment.