mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 14:30:12 +01:00
refactor(crd): move CR from openebs.io to zfs.openebs.io (#70)
Changed the group name from openebs.io to zfs.openebs.io.
Now ZFS Volume CR will look like this :
```
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: zfszvolumes.zfs.openebs.io
spec:
group: zfs.openebs.io
version: v1alpha1
scope: Namespaced
names:
plural: zfsvolumes
singular: zfsvolume
kind:ZFSVolume
shortNames:
- zfsvol
- zv
```
Snapshot CR will look like this :
```
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: zfssnapshots.zfs.openebs.io
spec:
group: zfs.openebs.io
version: v1alpha1
scope: Namespaced
names:
plural: fssnapshots
singular: zfssnapshot
kind: ZFSSnapshot
shortNames:
- zfssnapshot
- zfssnap
```
Signed-off-by: Pawan <pawan@mayadata.io>
This commit is contained in:
parent
3e874ffad7
commit
c4c2278d2f
48 changed files with 52 additions and 52 deletions
2
Makefile
2
Makefile
|
|
@ -73,7 +73,7 @@ SRC_PKG := github.com/openebs/zfs-localpv/pkg
|
|||
# code generation for custom resources
|
||||
.PHONY: kubegen
|
||||
kubegen: kubegendelete deepcopy-install clientset-install lister-install informer-install
|
||||
@GEN_SRC=openebs.io/core/v1alpha1 make deepcopy clientset lister informer
|
||||
@GEN_SRC=openebs.io/zfs/v1alpha1 make deepcopy clientset lister informer
|
||||
|
||||
# deletes generated code by codegen
|
||||
.PHONY: kubegendelete
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue