Refactor Distributed Analytics project structure
[demo.git] / vnfs / DAaaS / deploy / 00-init / rook-ceph / templates / resources.yaml
1 ---
2 apiVersion: apiextensions.k8s.io/v1beta1
3 kind: CustomResourceDefinition
4 metadata:
5   name: cephclusters.ceph.rook.io
6   annotations:
7     "helm.sh/hook": crd-install
8 spec:
9   group: ceph.rook.io
10   names:
11     kind: CephCluster
12     listKind: CephClusterList
13     plural: cephclusters
14     singular: cephcluster
15   scope: Namespaced
16   version: v1
17   validation:
18     openAPIV3Schema:
19       properties:
20         spec:
21           properties:
22             cephVersion:
23               properties:
24                 allowUnsupported:
25                   type: boolean
26                 image:
27                   type: string
28                 name:
29                   pattern: ^(luminous|mimic|nautilus)$
30                   type: string
31             dashboard:
32               properties:
33                 enabled:
34                   type: boolean
35                 urlPrefix:
36                   type: string
37                 port:
38                   type: integer
39                   minimum: 0
40                   maximum: 65535
41             dataDirHostPath:
42               pattern: ^/(\S+)
43               type: string
44             mon:
45               properties:
46                 allowMultiplePerNode:
47                   type: boolean
48                 count:
49                   maximum: 9
50                   minimum: 1
51                   type: integer
52               required:
53               - count
54             network:
55               properties:
56                 hostNetwork:
57                   type: boolean
58             storage:
59               properties:
60                 nodes:
61                   items: {}
62                   type: array
63                 useAllDevices: {}
64                 useAllNodes:
65                   type: boolean
66           required:
67           - mon
68   additionalPrinterColumns:
69     - name: DataDirHostPath
70       type: string
71       description: Directory used on the K8s nodes
72       JSONPath: .spec.dataDirHostPath
73     - name: MonCount
74       type: string
75       description: Number of MONs
76       JSONPath: .spec.mon.count
77     - name: Age
78       type: date
79       JSONPath: .metadata.creationTimestamp
80     - name: State
81       type: string
82       description: Current State
83       JSONPath: .status.state
84 ---
85 apiVersion: apiextensions.k8s.io/v1beta1
86 kind: CustomResourceDefinition
87 metadata:
88   name: cephfilesystems.ceph.rook.io
89   annotations:
90     "helm.sh/hook": crd-install
91 spec:
92   group: ceph.rook.io
93   names:
94     kind: CephFilesystem
95     listKind: CephFilesystemList
96     plural: cephfilesystems
97     singular: cephfilesystem
98   scope: Namespaced
99   version: v1
100   additionalPrinterColumns:
101     - name: MdsCount
102       type: string
103       description: Number of MDSs
104       JSONPath: .spec.metadataServer.activeCount
105     - name: Age
106       type: date
107       JSONPath: .metadata.creationTimestamp
108 ---
109 apiVersion: apiextensions.k8s.io/v1beta1
110 kind: CustomResourceDefinition
111 metadata:
112   name: cephobjectstores.ceph.rook.io
113   annotations:
114     "helm.sh/hook": crd-install
115 spec:
116   group: ceph.rook.io
117   names:
118     kind: CephObjectStore
119     listKind: CephObjectStoreList
120     plural: cephobjectstores
121     singular: cephobjectstore
122   scope: Namespaced
123   version: v1
124 ---
125 apiVersion: apiextensions.k8s.io/v1beta1
126 kind: CustomResourceDefinition
127 metadata:
128   name: cephobjectstoreusers.ceph.rook.io
129   annotations:
130     "helm.sh/hook": crd-install
131 spec:
132   group: ceph.rook.io
133   names:
134     kind: CephObjectStoreUser
135     listKind: CephObjectStoreUserList
136     plural: cephobjectstoreusers
137     singular: cephobjectstoreuser
138     shortNames:
139     - rcou
140     - objectuser
141   scope: Namespaced
142   version: v1
143 ---
144 apiVersion: apiextensions.k8s.io/v1beta1
145 kind: CustomResourceDefinition
146 metadata:
147   name: cephblockpools.ceph.rook.io
148   annotations:
149     "helm.sh/hook": crd-install
150 spec:
151   group: ceph.rook.io
152   names:
153     kind: CephBlockPool
154     listKind: CephBlockPoolList
155     plural: cephblockpools
156     singular: cephblockpool
157   scope: Namespaced
158   version: v1
159 ---
160 apiVersion: apiextensions.k8s.io/v1beta1
161 kind: CustomResourceDefinition
162 metadata:
163   name: volumes.rook.io
164   annotations:
165     "helm.sh/hook": crd-install
166 spec:
167   group: rook.io
168   names:
169     kind: Volume
170     listKind: VolumeList
171     plural: volumes
172     singular: volume
173     shortNames:
174     - rv
175   scope: Namespaced
176   version: v1alpha2
177 ---