Skip to content

Commit

Permalink
bundle: update bundle manifests
Browse files Browse the repository at this point in the history
Signed-off-by: Nitin Goyal <[email protected]>
  • Loading branch information
iamniting committed Aug 13, 2024
1 parent ebef269 commit 2173220
Show file tree
Hide file tree
Showing 18 changed files with 12,923 additions and 7,553 deletions.
522 changes: 507 additions & 15 deletions bundle/manifests/cephcsi-operator.clusterserviceversion.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
creationTimestamp: null
name: cephclusters.csi.ceph.io
name: cephconnections.csi.ceph.io
spec:
group: csi.ceph.io
names:
kind: CephCluster
listKind: CephClusterList
plural: cephclusters
singular: cephcluster
kind: CephConnection
listKind: CephConnectionList
plural: cephconnections
singular: cephconnection
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: CephCluster is the Schema for the cephclusters API
description: CephConnection is the Schema for the cephconnections API
properties:
apiVersion:
description: |-
Expand All @@ -37,27 +37,30 @@ spec:
metadata:
type: object
spec:
description: CephClusterSpec defines the desired state of CephCluster
description: CephConnectionSpec defines the desired state of CephConnection
properties:
monitors:
items:
type: string
minItems: 1
type: array
rbdMirrorDaemonCount:
minimum: 1
type: integer
readAffinity:
description: ReadAffinitySpec capture Ceph CSI read affinity settings
properties:
crushLocationLabels:
items:
type: string
minItems: 1
type: array
type: object
required:
- monitors
type: object
status:
description: CephClusterStatus defines the observed state of CephCluster
description: CephConnectionStatus defines the observed state of CephConnection
type: object
type: object
served: true
Expand Down
85 changes: 85 additions & 0 deletions bundle/manifests/csi.ceph.io_clientprofilemappings.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
creationTimestamp: null
name: clientprofilemappings.csi.ceph.io
spec:
group: csi.ceph.io
names:
kind: ClientProfileMapping
listKind: ClientProfileMappingList
plural: clientprofilemappings
singular: clientprofilemapping
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: ClientProfileMapping is the Schema for the clientprofilemappings
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: ClientProfileMappingSpec defines the desired state of ClientProfileMapping
properties:
blockPoolMapping:
items:
description: BlockPoolMappingSpec define a mapiing between a local
and remote block pools
properties:
local:
description: BlockPoolRefSpec identify a blockpool - client
profile pair
properties:
clientProfileName:
type: string
poolId:
minimum: 0
type: integer
type: object
remote:
description: BlockPoolRefSpec identify a blockpool - client
profile pair
properties:
clientProfileName:
type: string
poolId:
minimum: 0
type: integer
type: object
type: object
type: array
type: object
status:
description: ClientProfileMappingStatus defines the observed state of
ClientProfileMapping
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: null
storedVersions: null
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
creationTimestamp: null
name: configs.csi.ceph.io
name: clientprofiles.csi.ceph.io
spec:
group: csi.ceph.io
names:
kind: Config
listKind: ConfigList
plural: configs
singular: config
kind: ClientProfile
listKind: ClientProfileList
plural: clientprofiles
singular: clientprofile
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: Config is the Schema for the configs API
description: ClientProfile is the Schema for the clientprofiles API
properties:
apiVersion:
description: |-
Expand All @@ -37,24 +37,43 @@ spec:
metadata:
type: object
spec:
description: ConfigSpec defines the desired state of Config
description: |-
ClientProfileSpec defines the desired state of Ceph CSI
configuration for volumes and snapshots configured to use
this profile
properties:
cephClusterRef:
cephConnectionRef:
description: |-
LocalObjectReference contains enough information to let you locate the
referenced object inside the same namespace.
properties:
name:
default: ""
description: |-
Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
TODO: Add other useful fields. apiVersion, kind, uid?
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
type: string
type: object
x-kubernetes-map-type: atomic
x-kubernetes-validations:
- message: '''.name'' cannot be empty'
rule: self.name != ""
cephFs:
description: CephFsConfigSpec defines the desired CephFs configuration
properties:
fuseMountOptions:
additionalProperties:
type: string
type: object
kernelMountOptions:
additionalProperties:
type: string
type: object
subVolumeGroup:
type: string
type: object
Expand All @@ -68,10 +87,13 @@ spec:
type: string
type: object
required:
- cephClusterRef
- cephConnectionRef
type: object
status:
description: ConfigStatus defines the observed state of Config
description: |-
ClientProfileStatus defines the observed state of Ceph CSI
configuration for volumes and snapshots configured to use
this profile
type: object
type: object
served: true
Expand Down
Loading

0 comments on commit 2173220

Please sign in to comment.