-
Notifications
You must be signed in to change notification settings - Fork 71
/
local-storage-operator.clusterserviceversion.yaml
490 lines (490 loc) · 17 KB
/
local-storage-operator.clusterserviceversion.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
name: local-storage-operator.v4.10.0
namespace: placeholder
annotations:
alm-examples: |-
[
{
"apiVersion": "local.storage.openshift.io/v1",
"kind": "LocalVolume",
"metadata": {
"name": "example"
},
"spec": {
"storageClassDevices": [
{
"devicePaths": [
"/dev/disk/by-id/ata-crucial",
],
"fsType": "ext4",
"storageClassName": "foobar",
"volumeMode": "Filesystem"
}
]
}
},
{
"apiVersion": "local.storage.openshift.io/v1alpha1",
"kind": "LocalVolumeSet",
"metadata": {
"name": "example-localvolumeset"
},
"spec": {
"deviceInclusionSpec": {
"deviceMechanicalProperties": [
"Rotational",
"NonRotational"
],
"deviceTypes": [
"RawDisk"
],
"maxSize": "100G",
"minSize": "10G"
},
"maxDeviceCount": 10,
"nodeSelector": {
"nodeSelectorTerms": [
{
"matchExpressions": [
{
"key": "kubernetes.io/hostname",
"operator": "In",
"values": [
"worker-0",
"worker-1"
]
}
]
}
]
},
"storageClassName": "example-storageclass",
"volumeMode": "Block"
}
},
{
"apiVersion": "local.storage.openshift.io/v1alpha1",
"kind": "LocalVolumeDiscovery",
"metadata": {
"name": "auto-discover-devices"
},
"spec": {
"nodeSelector": {
"nodeSelectorTerms": [
{
"matchExpressions": [
{
"key": "kubernetes.io/hostname",
"operator": "In",
"values": [
"worker-0",
"worker-1"
]
}
]
}
]
}
}
}
]
categories: Storage
"operatorframework.io/suggested-namespace": openshift-local-storage
operatorframework.io/cluster-monitoring: "true"
capabilities: Full Lifecycle
containerImage: quay.io/openshift/origin-local-storage-operator:latest
support: Red Hat
repository: https://github.com/openshift/local-storage-operator
createdAt: "2019-08-14T00:00:00Z"
description: >
Configure and use local storage volumes in kubernetes and OpenShift.
OpenShift 4.2 and above is only supported OpenShift versions.
olm.skipRange: ">=4.3.0 <4.10.0"
operators.operatorframework.io/internal-objects: '["localvolumediscoveryresults.local.storage.openshift.io"]'
# This annotation injection is a workaround for BZ-1950047, since the associated
# annotation in spec.install.spec.deployments.template.metadata is presently ignored.
# TODO: remove the next line after BZ-1950047 is resolved.
target.workload.openshift.io/management: '{"effect": "PreferredDuringScheduling"}'
labels:
operator-metering: "true"
"operatorframework.io/arch.amd64": supported
"operatorframework.io/arch.ppc64le": supported
"operatorframework.io/arch.s390x": supported
spec:
displayName: Local Storage
description: Local Storage Operator
icon:
- base64data: PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxOTIgMTQ1Ij48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2UwMDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPlJlZEhhdC1Mb2dvLUhhdC1Db2xvcjwvdGl0bGU+PHBhdGggZD0iTTE1Ny43Nyw2Mi42MWExNCwxNCwwLDAsMSwuMzEsMy40MmMwLDE0Ljg4LTE4LjEsMTcuNDYtMzAuNjEsMTcuNDZDNzguODMsODMuNDksNDIuNTMsNTMuMjYsNDIuNTMsNDRhNi40Myw2LjQzLDAsMCwxLC4yMi0xLjk0bC0zLjY2LDkuMDZhMTguNDUsMTguNDUsMCwwLDAtMS41MSw3LjMzYzAsMTguMTEsNDEsNDUuNDgsODcuNzQsNDUuNDgsMjAuNjksMCwzNi40My03Ljc2LDM2LjQzLTIxLjc3LDAtMS4wOCwwLTEuOTQtMS43My0xMC4xM1oiLz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0xMjcuNDcsODMuNDljMTIuNTEsMCwzMC42MS0yLjU4LDMwLjYxLTE3LjQ2YTE0LDE0LDAsMCwwLS4zMS0zLjQybC03LjQ1LTMyLjM2Yy0xLjcyLTcuMTItMy4yMy0xMC4zNS0xNS43My0xNi42QzEyNC44OSw4LjY5LDEwMy43Ni41LDk3LjUxLjUsOTEuNjkuNSw5MCw4LDgzLjA2LDhjLTYuNjgsMC0xMS42NC01LjYtMTcuODktNS42LTYsMC05LjkxLDQuMDktMTIuOTMsMTIuNSwwLDAtOC40MSwyMy43Mi05LjQ5LDI3LjE2QTYuNDMsNi40MywwLDAsMCw0Mi41Myw0NGMwLDkuMjIsMzYuMywzOS40NSw4NC45NCwzOS40NU0xNjAsNzIuMDdjMS43Myw4LjE5LDEuNzMsOS4wNSwxLjczLDEwLjEzLDAsMTQtMTUuNzQsMjEuNzctMzYuNDMsMjEuNzdDNzguNTQsMTA0LDM3LjU4LDc2LjYsMzcuNTgsNTguNDlhMTguNDUsMTguNDUsMCwwLDEsMS41MS03LjMzQzIyLjI3LDUyLC41LDU1LC41LDc0LjIyYzAsMzEuNDgsNzQuNTksNzAuMjgsMTMzLjY1LDcwLjI4LDQ1LjI4LDAsNTYuNy0yMC40OCw1Ni43LTM2LjY1LDAtMTIuNzItMTEtMjcuMTYtMzAuODMtMzUuNzgiLz48L3N2Zz4=
mediatype: image/svg+xml
keywords:
- storage
- local storage
links:
- name: Documentation
url: https://github.com/openshift/local-storage-operator/tree/master/docs
- name: Source Repository
url: https://github.com/openshift/local-storage-operator
version: 4.10.0
maturity: stable
maintainers:
- email: [email protected]
name: Red Hat
minKubeVersion: 1.14.0
provider:
name: Red Hat
labels:
alm-owner-metering: local-storage-operator
alm-status-descriptors: local-storage-operator.v4.10.0
selector:
matchLabels:
alm-owner-metering: local-storage-operator
installModes:
- type: OwnNamespace
supported: true
- type: SingleNamespace
supported: true
- type: MultiNamespace
supported: false
- type: AllNamespaces
supported: false
install:
strategy: deployment
spec:
permissions:
- rules:
- apiGroups:
- ""
- coordination.k8s.io
resources:
- configmaps
- leases
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
- apiGroups:
- local.storage.openshift.io
resources:
- "*"
verbs:
- "*"
- apiGroups:
- ""
resources:
- pods
- services
- services/finalizers
- endpoints
- persistentvolumeclaims
- events
- configmaps
- secrets
verbs:
- "*"
- apiGroups:
- apps
resources:
- deployments
- daemonsets
- replicasets
- statefulsets
verbs:
- "*"
- apiGroups:
- events.k8s.io
resources:
- events
verbs:
- "*"
- apiGroups:
- monitoring.coreos.com
resources:
- servicemonitors
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- apps
resourceNames:
- local-storage-operator
resources:
- deployments/finalizers
verbs:
- update
serviceAccountName: local-storage-operator
- rules:
- apiGroups:
- local.storage.openshift.io
resources:
- "*"
verbs:
- get
- list
- watch
- create
- update
serviceAccountName: local-storage-admin
clusterPermissions:
- rules:
- apiGroups:
- storage.k8s.io
resources:
- storageclasses
verbs:
- "*"
- apiGroups:
- ""
resources:
- persistentvolumeclaims
- events
verbs:
- "*"
- apiGroups:
- events.k8s.io
resources:
- events
verbs:
- "*"
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- persistentvolumes
verbs:
- get
- list
- watch
- create
- delete
serviceAccountName: local-storage-operator
- rules:
- apiGroups:
- security.openshift.io
resources:
- securitycontextconstraints
verbs:
- use
resourceNames:
- privileged
- apiGroups:
- ""
resources:
- nodes
verbs:
- list
- get
- watch
- apiGroups:
- ""
- storage.k8s.io
resources:
- configmaps
- storageclasses
- persistentvolumeclaims
- persistentvolumes
verbs:
- "*"
- apiGroups:
- ""
- events.k8s.io
resources:
- events
verbs:
- get
- list
- watch
- create
- patch
- update
- apiGroups:
- "authentication.k8s.io"
resources:
- "tokenreviews"
verbs:
- "create"
serviceAccountName: local-storage-admin
deployments:
- name: local-storage-operator
spec:
replicas: 1
selector:
matchLabels:
name: local-storage-operator
template:
metadata:
annotations:
target.workload.openshift.io/management: '{"effect": "PreferredDuringScheduling"}'
labels:
name: local-storage-operator
spec:
serviceAccountName: local-storage-operator
priorityClassName: openshift-user-critical
containers:
- name: local-storage-operator
image: quay.io/openshift/origin-local-storage-operator:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 60000
name: metrics
command:
- local-storage-operator
args:
- --leader-elect
env:
- name: WATCH_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: DISKMAKER_IMAGE
value: quay.io/openshift/origin-local-storage-diskmaker:latest
- name: KUBE_RBAC_PROXY_IMAGE
value: quay.io/openshift/origin-kube-rbac-proxy:latest
- name: PRIORITY_CLASS_NAME
value: openshift-user-critical
customresourcedefinitions:
owned:
- displayName: Local Volume
group: local.storage.openshift.io
kind: LocalVolume
name: localvolumes.local.storage.openshift.io
description: Manage local storage volumes for OpenShift
version: v1
specDescriptors:
- description: User requested management state of this object
displayName: Requested management state
path: managementState
- description: Log level of local volume diskmaker and provisioner for this object
displayName: LogLevel
path: logLevel
- description: Selected nodes for local storage
displayName: NodeSelector
path: nodeSelector
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:selector'
- description: StorageClass devices configured by this object
displayName: StorageClassDevices
path: storageClassDevices
statusDescriptors:
- description: Last generation of this object
displayName: ObservedGeneration
path: observedGeneration
- description: Current management state of this object
displayName: Operator management state
path: managementState
- description: Last known condition of this object
displayName: Conditions
path: conditions
x-descriptors:
- 'urn:alm:descriptor:io.kubernetes.conditions'
- displayName: Local Volume Set
group: local.storage.openshift.io
kind: LocalVolumeSet
name: localvolumesets.local.storage.openshift.io
description: A Local Volume set allows you to filter a set of storage volumes, group them and create a dedicated storage class to consume storage from the set of volumes.
version: v1alpha1
specDescriptors:
- description: Selected nodes for local storage
displayName: NodeSelector
path: nodeSelector
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:selector'
- description: StorageClassName to use for set of matched devices
displayName: StorageClassName
path: storageClassName
- description: VolumeMode determines whether the PV created is Block or Filesystem. By default it will be block
displayName: VolumeMode
path: volumeMode
- description: FSType type to create when volumeMode is Filesystem
displayName: FSType
path: fsType
- description: List of tolerations to pass to the discovery daemons
displayName: Tolerations
path: tolerations
x-descriptors:
- urn:alm:descriptor:io.kubernetes:Tolerations
- description: Filters for including a device in the device discovery
displayName: deviceInclusionSpec
path: deviceInclusionSpec
statusDescriptors:
- description: Last generation of this object
displayName: ObservedGeneration
path: observedGeneration
- description: Total devices over which the PVs has been provisioned
displayName: TotalProvisionedDeviceCount
path: totalProvisionedDeviceCount
- description: Last known condition of this object
displayName: Conditions
path: conditions
x-descriptors:
- 'urn:alm:descriptor:io.kubernetes.conditions'
- displayName: Local Volume Discovery
group: local.storage.openshift.io
kind: LocalVolumeDiscovery
name: localvolumediscoveries.local.storage.openshift.io
description: Discover list of potentially usable disks on the chosen set of nodes
version: v1alpha1
specDescriptors:
- description: Selected nodes for discovery
displayName: NodeSelector
path: nodeSelector
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:selector'
- description: List of tolerations to pass to the discovery daemons
displayName: Tolerations
path: tolerations
x-descriptors:
- urn:alm:descriptor:io.kubernetes:Tolerations
statusDescriptors:
- description: Current phase of the discovery
displayName: Phase
path: phase
- description: Last generation of this object
displayName: ObservedGeneration
path: observedGeneration
- description: Last known condition of this object
displayName: Conditions
path: conditions
x-descriptors:
- 'urn:alm:descriptor:io.kubernetes.conditions'
- displayName: Local Volume Discovery Result
group: local.storage.openshift.io
kind: LocalVolumeDiscoveryResult
name: localvolumediscoveryresults.local.storage.openshift.io
description: Disc inventory of available disks from selected nodes
version: v1alpha1
specDescriptors:
- description: Node on which the devices are discovered
displayName: NodeName
path: nodeName
statusDescriptors:
- description: DiscoveredTimeStamp is the last timestamp when the list of discovered devices was updated
displayName: DiscoveredTimeStamp
path: discoveredTimeStamp
- description: DiscoveredDevices contains the list of devices discovered on the node
displayName: DiscoveredDevices
path: discoveredDevices