mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 06:20:11 +01:00
feat(chart): add helm chart for zfs local pv (#247)
Signed-off-by: shubham <shubham.bajpai@mayadata.io>
This commit is contained in:
parent
90ecfe9c73
commit
bd6df9b31d
19 changed files with 2555 additions and 1 deletions
93
deploy/helm/charts/crds/zfsrestore.yaml
Normal file
93
deploy/helm/charts/crds/zfsrestore.yaml
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
|
||||
|
||||
##############################################
|
||||
########### ############
|
||||
########### ZFSRestore CRD ############
|
||||
########### ############
|
||||
##############################################
|
||||
|
||||
# ZFSRestores CRD is autogenerated via `make manifests` command.
|
||||
# Do the modification in the code and run the `make manifests` command
|
||||
# to generate the CRD definition
|
||||
|
||||
---
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
annotations:
|
||||
controller-gen.kubebuilder.io/version: v0.2.8
|
||||
creationTimestamp: null
|
||||
name: zfsrestores.zfs.openebs.io
|
||||
spec:
|
||||
group: zfs.openebs.io
|
||||
names:
|
||||
kind: ZFSRestore
|
||||
listKind: ZFSRestoreList
|
||||
plural: zfsrestores
|
||||
singular: zfsrestore
|
||||
preserveUnknownFields: false
|
||||
scope: Namespaced
|
||||
validation:
|
||||
openAPIV3Schema:
|
||||
description: ZFSRestore describes a cstor restore resource created as a custom
|
||||
resource
|
||||
properties:
|
||||
apiVersion:
|
||||
description: 'APIVersion defines the versioned schema of this representation
|
||||
of an object. Servers should convert recognized schemas to the latest
|
||||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
|
||||
type: string
|
||||
kind:
|
||||
description: 'Kind is a string value representing the REST resource this
|
||||
object represents. Servers may infer this from the endpoint the client
|
||||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
|
||||
type: string
|
||||
metadata:
|
||||
type: object
|
||||
spec:
|
||||
description: ZFSRestoreSpec is the spec for a ZFSRestore resource
|
||||
properties:
|
||||
ownerNodeID:
|
||||
description: owner node name where restore volume is present
|
||||
minLength: 1
|
||||
type: string
|
||||
restoreSrc:
|
||||
description: it can be ip:port in case of restore from remote or volumeName
|
||||
in case of local restore
|
||||
minLength: 1
|
||||
pattern: ^([0-9]+.[0-9]+.[0-9]+.[0-9]+:[0-9]+)$
|
||||
type: string
|
||||
volumeName:
|
||||
description: volume name to where restore has to be performed
|
||||
minLength: 1
|
||||
type: string
|
||||
required:
|
||||
- ownerNodeID
|
||||
- restoreSrc
|
||||
- volumeName
|
||||
type: object
|
||||
status:
|
||||
description: ZFSRestoreStatus is to hold result of action.
|
||||
enum:
|
||||
- Init
|
||||
- Done
|
||||
- Failed
|
||||
- Pending
|
||||
- InProgress
|
||||
- Invalid
|
||||
type: string
|
||||
required:
|
||||
- spec
|
||||
- status
|
||||
type: object
|
||||
version: v1
|
||||
versions:
|
||||
- name: v1
|
||||
served: true
|
||||
storage: true
|
||||
status:
|
||||
acceptedNames:
|
||||
kind: ""
|
||||
plural: ""
|
||||
conditions: []
|
||||
storedVersions: []
|
||||
Loading…
Add table
Add a link
Reference in a new issue