Skip to content

Commit

Permalink
add alauda/nativestor
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Hoß <[email protected]>
  • Loading branch information
sebhoss committed Nov 12, 2023
1 parent 461c84d commit baa6ae5
Show file tree
Hide file tree
Showing 13 changed files with 676 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ Files: crd-catalog/aerospike/aerospike-kubernetes-operator/*
Copyright: The aerospike/aerospike-kubernetes-operator Authors
License: Apache-2.0

Files: crd-catalog/alauda/nativestor/*
Copyright: The alauda/nativestor Authors
License: Apache-2.0

Files: crd-catalog/Alvearie/imaging-ingestion/*
Copyright: The Alvearie/imaging-ingestion Authors
License: Apache-2.0
Expand Down
9 changes: 9 additions & 0 deletions code-generator/src/catalog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ pub const CRD_V1_SOURCES: &'static [UpstreamSource] = &[
"https://github.com/aerospike/aerospike-kubernetes-operator/blob/master/config/crd/bases/asdb.aerospike.com_aerospikeclusters.yaml",
],
},
UpstreamSource {
project_name: "alauda/nativestor",
license: APACHE_V2,
urls: &[
"https://github.com/alauda/nativestor/blob/main/config/crd/bases/nativestor.alauda.io_rawdevices.yaml",
"https://github.com/alauda/nativestor/blob/main/config/crd/bases/topolvm.cybozu.com_logicalvolumes.yaml",
"https://github.com/alauda/nativestor/blob/main/config/crd/bases/topolvm.cybozu.com_topolvmclusters.yaml",
],
},
UpstreamSource {
project_name: "Alvearie/imaging-ingestion",
license: APACHE_V2,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.5.0
name: rawdevices.nativestor.alauda.io
spec:
group: nativestor.alauda.io
names:
kind: RawDevice
listKind: RawDeviceList
plural: rawdevices
singular: rawdevice
scope: Cluster
versions:
- name: v1
schema:
openAPIV3Schema:
description: RawDevice is the Schema for the rawdevices API
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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: RawDeviceSpec defines the desired state of RawDevice
properties:
available:
type: boolean
major:
format: int32
type: integer
minor:
format: int32
type: integer
nodeName:
description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file'
type: string
realPath:
type: string
size:
format: int64
type: integer
type:
type: string
uuid:
type: string
required:
- available
- major
- minor
- nodeName
- realPath
- size
- type
- uuid
type: object
status:
description: RawDeviceStatus defines the observed state of RawDevice
properties:
name:
description: 'INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "make" to regenerate code after modifying this file'
type: string
required:
- name
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ''
plural: ''
conditions: []
storedVersions: []
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.7.0
name: logicalvolumes.topolvm.cybozu.com
spec:
group: topolvm.cybozu.com
names:
kind: LogicalVolume
listKind: LogicalVolumeList
plural: logicalvolumes
singular: logicalvolume
scope: Cluster
versions:
- name: v1
schema:
openAPIV3Schema:
description: LogicalVolume is the Schema for the logicalvolumes API
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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: LogicalVolumeSpec defines the desired state of LogicalVolume
properties:
deviceClass:
type: string
name:
type: string
nodeName:
type: string
size:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
required:
- name
- nodeName
- size
type: object
status:
description: LogicalVolumeStatus defines the observed state of LogicalVolume
properties:
code:
description: A Code is an unsigned 32-bit error code as defined in the gRPC spec.
format: int32
type: integer
currentSize:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
message:
type: string
volumeID:
description: 'INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "make" to regenerate code after modifying this file'
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ''
plural: ''
conditions: []
storedVersions: []
Loading

0 comments on commit baa6ae5

Please sign in to comment.