mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 06:20:11 +01:00
feat(crd-gen): automate the CRDs generation with validations for APIs (#75)
- To generate the CRD spec `make manifest` generate then under deploy/yamls directory - added a update-crd script to automate the steps to generate CRDs and its validation of each types Signed-off-by: prateekpandey14 <prateek.pandey@mayadata.io>
This commit is contained in:
parent
8a9ac43ab5
commit
6033789c17
26 changed files with 509 additions and 82 deletions
4
Makefile
4
Makefile
|
|
@ -134,6 +134,10 @@ informer:
|
|||
--output-package $(SRC_PKG)/generated/informer \
|
||||
--go-header-file ./buildscripts/custom-boilerplate.go.txt
|
||||
|
||||
manifests:
|
||||
@echo "+ Generating zfs localPV crds"
|
||||
$(PWD)/buildscripts/update-crd.sh
|
||||
|
||||
.PHONY: zfs-driver
|
||||
zfs-driver: format
|
||||
@echo "--------------------------------"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue