Skip to content

Commit bc46ec6

Browse files
committed
update LVMS manifests
1 parent 995d9eb commit bc46ec6

9 files changed

Lines changed: 34 additions & 148 deletions

assets/components/lvms/lvm.topolvm.io_lvmclusters.yaml

Lines changed: 12 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5-
controller-gen.kubebuilder.io/version: v0.20.1
5+
controller-gen.kubebuilder.io/version: v0.17.3
66
creationTimestamp: null
77
name: lvmclusters.lvm.topolvm.io
88
spec:
@@ -58,16 +58,6 @@ spec:
5858
class is the default. You can configure only a single
5959
default device class.
6060
type: boolean
61-
deviceDiscoveryPolicy:
62-
description: |-
63-
DeviceDiscoveryPolicy specifies the policy for discovering devices for this device class.
64-
Static means the volume group is created with devices found at install time; new devices are ignored.
65-
Dynamic means devices are continuously discovered and added to the volume group.
66-
When not set, new volume groups default to Static and existing volume groups default to Dynamic for backward compatibility.
67-
enum:
68-
- Static
69-
- Dynamic
70-
type: string
7161
deviceSelector:
7262
description: DeviceSelector contains the configuration to
7363
specify paths to the devices that you want to add to the
@@ -80,19 +70,13 @@ spec:
8070
Force wipe the devices only when you know that they do not contain any important data.
8171
type: boolean
8272
optionalPaths:
83-
description: |-
84-
OptionalPaths is a list of device paths. At least one path must resolve on each node.
85-
Prefer stable, consistent paths such as /dev/disk/by-id/… instead of
86-
/dev/sda, which may be renamed or reordered by the kernel on reboot.
87-
This can be used to provide a single list of disk IDs across multiple nodes.
73+
description: OptionalPaths specify the optional device
74+
paths.
8875
items:
8976
type: string
9077
type: array
9178
paths:
92-
description: |-
93-
Paths is a list of device paths. All paths must resolve on each node.
94-
Prefer stable, consistent paths such as /dev/disk/by-id/… instead of
95-
/dev/sda, which may be renamed or reordered by the kernel on reboot.
79+
description: Paths specify the device paths.
9680
items:
9781
type: string
9882
type: array
@@ -106,10 +90,8 @@ spec:
10690
enum:
10791
- xfs
10892
- ext4
93+
- ""
10994
type: string
110-
x-kubernetes-validations:
111-
- message: fstype is immutable
112-
rule: oldSelf == self
11395
name:
11496
description: Name specifies a name for the device class
11597
maxLength: 245
@@ -207,55 +189,6 @@ spec:
207189
- nodeSelectorTerms
208190
type: object
209191
x-kubernetes-map-type: atomic
210-
storageClassOptions:
211-
description: StorageClassOptions allows customization of
212-
the StorageClass created for this device class.
213-
properties:
214-
additionalLabels:
215-
additionalProperties:
216-
type: string
217-
description: |-
218-
AdditionalLabels sets additional labels on the StorageClass.
219-
This is the only StorageClassOptions field that can be changed after creation.
220-
maxProperties: 16
221-
type: object
222-
additionalParameters:
223-
additionalProperties:
224-
type: string
225-
default: {}
226-
description: |-
227-
AdditionalParameters sets additional parameters on the StorageClass.
228-
LVMS-owned keys (topolvm.io/device-class, csi.storage.k8s.io/fstype) cannot be overridden.
229-
This field is immutable after creation.
230-
maxProperties: 16
231-
type: object
232-
x-kubernetes-validations:
233-
- message: additionalParameters is immutable once set
234-
rule: oldSelf == self
235-
reclaimPolicy:
236-
default: Delete
237-
description: |-
238-
ReclaimPolicy sets the reclaim policy for PVs provisioned by this device class.
239-
When set to Retain, PVs and their underlying logical volumes are preserved when PVCs are deleted.
240-
enum:
241-
- Delete
242-
- Retain
243-
type: string
244-
x-kubernetes-validations:
245-
- message: reclaimPolicy is immutable once set
246-
rule: oldSelf == self
247-
volumeBindingMode:
248-
default: WaitForFirstConsumer
249-
description: VolumeBindingMode sets the binding mode
250-
for PVs provisioned by this device class.
251-
enum:
252-
- WaitForFirstConsumer
253-
- Immediate
254-
type: string
255-
x-kubernetes-validations:
256-
- message: volumeBindingMode is immutable once set
257-
rule: oldSelf == self
258-
type: object
259192
thinPoolConfig:
260193
description: ThinPoolConfig contains the configuration to
261194
create a thin pool in the LVM volume group. If you exclude
@@ -327,13 +260,8 @@ spec:
327260
- name
328261
- overprovisionRatio
329262
type: object
330-
required:
331-
- name
332263
type: object
333264
type: array
334-
x-kubernetes-list-map-keys:
335-
- name
336-
x-kubernetes-list-type: map
337265
type: object
338266
tolerations:
339267
description: Tolerations to apply to nodes to act on
@@ -355,10 +283,9 @@ spec:
355283
operator:
356284
description: |-
357285
Operator represents a key's relationship to the value.
358-
Valid operators are Exists, Equal, Lt, and Gt. Defaults to Equal.
286+
Valid operators are Exists and Equal. Defaults to Equal.
359287
Exists is equivalent to wildcard for value, so that a pod can
360288
tolerate all taints of a particular category.
361-
Lt and Gt perform numeric comparisons (requires feature gate TaintTolerationComparisonOperators).
362289
type: string
363290
tolerationSeconds:
364291
description: |-
@@ -453,16 +380,16 @@ spec:
453380
deviceclass on the node
454381
properties:
455382
deviceDiscoveryPolicy:
456-
default: RuntimeStatic
383+
default: RuntimeDynamic
457384
description: |-
458-
DeviceDiscoveryPolicy is a field to indicate the effective device discovery policy for this volume group.
459-
Preconfigured indicates explicit DeviceSelector paths are configured and the discovery policy is not applicable.
460-
RuntimeDynamic indicates devices are discovered and added dynamically at runtime (no explicit paths, Dynamic policy).
461-
RuntimeStatic indicates devices were discovered at install time and new devices are ignored (no explicit paths, Static policy).
385+
DeviceDiscoveryPolicy is a field to indicate whether the devices are discovered
386+
at runtime or preconfigured through a DeviceSelector
387+
Setting this to DeviceDiscoveryPolicyPreconfigured indicates the devices are preconfigured through a DeviceSelector.
388+
Setting this to DeviceDiscoveryPolicyRuntimeDynamic indicates the devices are added to the VG dynamically if they are present at runtime.
389+
By default, the value is set to RuntimeDynamic.
462390
enum:
463391
- Preconfigured
464392
- RuntimeDynamic
465-
- RuntimeStatic
466393
type: string
467394
devices:
468395
description: Devices is the list of devices used by the

assets/components/lvms/lvm.topolvm.io_lvmvolumegroupnodestatuses.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5-
controller-gen.kubebuilder.io/version: v0.20.1
5+
controller-gen.kubebuilder.io/version: v0.17.3
66
creationTimestamp: null
77
name: lvmvolumegroupnodestatuses.lvm.topolvm.io
88
spec:
@@ -46,16 +46,16 @@ spec:
4646
items:
4747
properties:
4848
deviceDiscoveryPolicy:
49-
default: RuntimeStatic
49+
default: RuntimeDynamic
5050
description: |-
51-
DeviceDiscoveryPolicy is a field to indicate the effective device discovery policy for this volume group.
52-
Preconfigured indicates explicit DeviceSelector paths are configured and the discovery policy is not applicable.
53-
RuntimeDynamic indicates devices are discovered and added dynamically at runtime (no explicit paths, Dynamic policy).
54-
RuntimeStatic indicates devices were discovered at install time and new devices are ignored (no explicit paths, Static policy).
51+
DeviceDiscoveryPolicy is a field to indicate whether the devices are discovered
52+
at runtime or preconfigured through a DeviceSelector
53+
Setting this to DeviceDiscoveryPolicyPreconfigured indicates the devices are preconfigured through a DeviceSelector.
54+
Setting this to DeviceDiscoveryPolicyRuntimeDynamic indicates the devices are added to the VG dynamically if they are present at runtime.
55+
By default, the value is set to RuntimeDynamic.
5556
enum:
5657
- Preconfigured
5758
- RuntimeDynamic
58-
- RuntimeStatic
5959
type: string
6060
devices:
6161
description: Devices is the list of devices used by the volume

assets/components/lvms/lvm.topolvm.io_lvmvolumegroups.yaml

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5-
controller-gen.kubebuilder.io/version: v0.20.1
5+
controller-gen.kubebuilder.io/version: v0.17.3
66
creationTimestamp: null
77
name: lvmvolumegroups.lvm.topolvm.io
88
spec:
@@ -43,16 +43,6 @@ spec:
4343
description: Default is a flag to indicate whether the device-class
4444
is the default
4545
type: boolean
46-
deviceDiscoveryPolicy:
47-
description: |-
48-
DeviceDiscoveryPolicy specifies the policy for discovering devices for this volume group.
49-
Static means the volume group is created with devices found at install time; new devices are ignored.
50-
Dynamic means devices are continuously discovered and added to the volume group.
51-
When not set, new volume groups default to Static and existing volume groups default to Dynamic for backward compatibility.
52-
enum:
53-
- Static
54-
- Dynamic
55-
type: string
5646
deviceSelector:
5747
description: DeviceSelector is a set of rules that should match for
5848
a device to be included in this TopoLVMCluster
@@ -64,19 +54,12 @@ spec:
6454
Force wipe the devices only when you know that they do not contain any important data.
6555
type: boolean
6656
optionalPaths:
67-
description: |-
68-
OptionalPaths is a list of device paths. At least one path must resolve on each node.
69-
Prefer stable, consistent paths such as /dev/disk/by-id/… instead of
70-
/dev/sda, which may be renamed or reordered by the kernel on reboot.
71-
This can be used to provide a single list of disk IDs across multiple nodes.
57+
description: OptionalPaths specify the optional device paths.
7258
items:
7359
type: string
7460
type: array
7561
paths:
76-
description: |-
77-
Paths is a list of device paths. All paths must resolve on each node.
78-
Prefer stable, consistent paths such as /dev/disk/by-id/… instead of
79-
/dev/sda, which may be renamed or reordered by the kernel on reboot.
62+
description: Paths specify the device paths.
8063
items:
8164
type: string
8265
type: array

assets/components/lvms/lvms-operator_rbac.authorization.k8s.io_v1_clusterrole.yaml

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ rules:
4444
- ""
4545
resources:
4646
- persistentvolumeclaims
47-
- pods
4847
verbs:
4948
- delete
5049
- get
@@ -57,6 +56,15 @@ rules:
5756
- persistentvolumeclaims/status
5857
verbs:
5958
- patch
59+
- apiGroups:
60+
- ""
61+
resources:
62+
- pods
63+
verbs:
64+
- delete
65+
- get
66+
- list
67+
- watch
6068
- apiGroups:
6169
- apiextensions.k8s.io
6270
resources:
@@ -84,14 +92,6 @@ rules:
8492
- replicasets
8593
verbs:
8694
- get
87-
- apiGroups:
88-
- config.openshift.io
89-
resources:
90-
- apiservers
91-
verbs:
92-
- get
93-
- list
94-
- watch
9595
- apiGroups:
9696
- config.openshift.io
9797
resources:
@@ -110,14 +110,6 @@ rules:
110110
- patch
111111
- update
112112
- watch
113-
- apiGroups:
114-
- events.k8s.io
115-
resources:
116-
- events
117-
verbs:
118-
- create
119-
- patch
120-
- update
121113
- apiGroups:
122114
- lvm.topolvm.io
123115
resources:

assets/components/lvms/topolvm-configmap_lvms-version.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ metadata:
44
name: lvms-version
55
namespace: kube-public
66
data:
7-
version: v4.22.0
7+
version: v4.21.0

assets/components/lvms/vg-manager_rbac.authorization.k8s.io_v1_clusterrole.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,6 @@ rules:
4242
- get
4343
- list
4444
- watch
45-
- apiGroups:
46-
- config.openshift.io
47-
resources:
48-
- apiservers
49-
verbs:
50-
- get
51-
- list
52-
- watch
5345
apiVersion: rbac.authorization.k8s.io/v1
5446
kind: ClusterRole
5547
metadata:

assets/components/lvms/vg-manager_rbac.authorization.k8s.io_v1_role.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,6 @@ rules:
6161
- create
6262
- patch
6363
- update
64-
- apiGroups:
65-
- events.k8s.io
66-
resources:
67-
- events
68-
verbs:
69-
- create
70-
- patch
71-
- update
7264
apiVersion: rbac.authorization.k8s.io/v1
7365
kind: Role
7466
metadata:

assets/release/release-aarch64.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"ovn-kubernetes-microshift": "quay.io/openshift-release-dev/ocp-v5.0-art-dev@sha256:19da252fc46f4c73fced39bd74b2b83897d98eb17ee475bd17dab30b9e78d762",
1111
"pod": "quay.io/openshift-release-dev/ocp-v5.0-art-dev@sha256:78a8638f17eb2775f2f95afc9aec24183f6c8f1a62589584880771cc1dbf372d",
1212
"service-ca-operator": "quay.io/openshift-release-dev/ocp-v5.0-art-dev@sha256:3b750f9b4b0b2e68b2b90252bad6f8a9c6f6d70f7d7640322cb3cdedec440185",
13-
"lvms_operator": "registry.redhat.io/lvms4/lvms-rhel9-operator@sha256:f9de07f9078f5c03a9be4b1ab565b2720524f290042feed56c3ff4c4a29efcc7",
13+
"lvms_operator": "registry.redhat.io/lvms4/lvms-rhel9-operator@sha256:e77365e44676fbd8ab9e4ce53f3a406856bbdfef3467c545a7df1197d84477af",
1414
"csi-snapshot-controller": "quay.io/openshift-release-dev/ocp-v5.0-art-dev@sha256:b3aa7fa14feee24f022ca86e6b22ddaefff06f8ef57e0d9c43f7a709cb654f3b"
1515
}
1616
}

assets/release/release-x86_64.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"ovn-kubernetes-microshift": "quay.io/openshift-release-dev/ocp-v5.0-art-dev@sha256:6fcff26611bf328bfe6f8afa3c3a8a9d9769152a03cba7c5472b39964b277519",
1111
"pod": "quay.io/openshift-release-dev/ocp-v5.0-art-dev@sha256:67e0a7742de48d09092fd2d1db90dccbd8a06fcb6d4ea3cf97fab4ac55e20dce",
1212
"service-ca-operator": "quay.io/openshift-release-dev/ocp-v5.0-art-dev@sha256:629f6c322a9c92661e33f68512914b70935d533499af4931243737972dfeaff3",
13-
"lvms_operator": "registry.redhat.io/lvms4/lvms-rhel9-operator@sha256:0b1daf82a941c7483b5f7e0ae4f5b0ffb21f6c9634be5493be20bc13184930ca",
13+
"lvms_operator": "registry.redhat.io/lvms4/lvms-rhel9-operator@sha256:10c9ccab4f2857d113b55e12cac29aed0dc97d5a4e29ed2e4ea0f77551ee55f8",
1414
"csi-snapshot-controller": "quay.io/openshift-release-dev/ocp-v5.0-art-dev@sha256:85abffbdaf1008c9bcb761b68ac8f52247414950128c3dbb7d3a2a20142024f2"
1515
}
1616
}

0 commit comments

Comments
 (0)