Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 26 additions & 17 deletions assets/components/lvms/lvm.topolvm.io_lvmclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.15.0
controller-gen.kubebuilder.io/version: v0.16.5
creationTimestamp: null
name: lvmclusters.lvm.topolvm.io
spec:
Expand Down Expand Up @@ -213,6 +213,26 @@ spec:
- Host
- Static
type: string
metadataSize:
anyOf:
- type: integer
- type: string
description: |-
MetadataSize specifies metadata size for thin pool. It used only when MetadataSizeCalculationPolicy
is set to Static. No MetadataSize with a MetadataSizeCalculationPolicy set to Static will result in
default metadata size of 1Gi. It can be between 2Mi and 16Gi due to the underlying limitations of lvm2.
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
metadataSizeCalculationPolicy:
default: Host
description: |-
MetadataSizeCalculationPolicy specifies the policy to calculate metadata size for the underlying volume.
When set to Host, the metadata size is calculated based on lvm2 default settings
When set to Static, the metadata size is calculated based on the static size attribute provided within MetadataSize
enum:
- Host
- Static
type: string
name:
description: Name specifies a name for the thin pool.
type: string
Expand Down Expand Up @@ -286,16 +306,8 @@ spec:
conditions:
description: Conditions describes the state of the resource.
items:
description: "Condition contains details for one aspect of the current
state of this API Resource.\n---\nThis struct is intended for
direct use as an array at the field path .status.conditions. For
example,\n\n\n\ttype FooStatus struct{\n\t // Represents the
observations of a foo's current state.\n\t // Known .status.conditions.type
are: \"Available\", \"Progressing\", and \"Degraded\"\n\t //
+patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
\ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\"
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
\ // other fields\n\t}"
description: Condition contains details for one aspect of the current
state of this API Resource.
properties:
lastTransitionTime:
description: |-
Expand Down Expand Up @@ -336,12 +348,7 @@ spec:
- Unknown
type: string
type:
description: |-
type of condition in CamelCase or in foo.example.com/CamelCase.
---
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
useful (see .node.status.conditions), the ability to deconflict is important.
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
description: type of condition in CamelCase or in foo.example.com/CamelCase.
maxLength: 316
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
type: string
Expand Down Expand Up @@ -421,6 +428,8 @@ spec:
description: Status tells if the volume group was created
on the node
type: string
required:
- deviceDiscoveryPolicy
type: object
type: array
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.15.0
controller-gen.kubebuilder.io/version: v0.16.5
creationTimestamp: null
name: lvmvolumegroupnodestatuses.lvm.topolvm.io
spec:
Expand Down Expand Up @@ -94,6 +94,8 @@ spec:
description: Status tells if the volume group was created on
the node
type: string
required:
- deviceDiscoveryPolicy
type: object
type: array
type: object
Expand Down
22 changes: 21 additions & 1 deletion assets/components/lvms/lvm.topolvm.io_lvmvolumegroups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.15.0
controller-gen.kubebuilder.io/version: v0.16.5
creationTimestamp: null
name: lvmvolumegroups.lvm.topolvm.io
spec:
Expand Down Expand Up @@ -176,6 +176,26 @@ spec:
- Host
- Static
type: string
metadataSize:
anyOf:
- type: integer
- type: string
description: |-
MetadataSize specifies metadata size for thin pool. It used only when MetadataSizeCalculationPolicy
is set to Static. No MetadataSize with a MetadataSizeCalculationPolicy set to Static will result in
default metadata size of 1Gi. It can be between 2Mi and 16Gi due to the underlying limitations of lvm2.
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
metadataSizeCalculationPolicy:
default: Host
description: |-
MetadataSizeCalculationPolicy specifies the policy to calculate metadata size for the underlying volume.
When set to Host, the metadata size is calculated based on lvm2 default settings
When set to Static, the metadata size is calculated based on the static size attribute provided within MetadataSize
enum:
- Host
- Static
type: string
name:
description: Name specifies a name for the thin pool.
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.name
image: registry.redhat.io/lvms4/lvms-rhel9-operator@sha256:bd6dc4d6e90fdbcdb844759e203c9c591abc5ac29a956257a90bda101a37b76e
image: registry.redhat.io/lvms4/lvms-rhel9-operator@sha256:be49109ec5be53a783b2de9bc6529db99930a69021577c05cfa0bf1312e06d69
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,56 +1,9 @@
rules:
- apiGroups:
- apps
resources:
- daemonsets
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- apps
resources:
- deployments
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- apps
resources:
- replicasets
verbs:
- get
- apiGroups:
- config.openshift.io
resources:
- infrastructures
verbs:
- get
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- configmaps
- persistentvolumes
verbs:
- create
- delete
Expand Down Expand Up @@ -106,28 +59,24 @@ rules:
- apiGroups:
- ""
resources:
- persistentvolumes
- pods
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
- apiextensions.k8s.io
resources:
- pods
- customresourcedefinitions
verbs:
- delete
- get
- list
- watch
- apiGroups:
- lvm.topolvm.io
- apps
resources:
- lvmclusters
- daemonsets
- deployments
verbs:
- create
- delete
Expand All @@ -137,23 +86,35 @@ rules:
- update
- watch
- apiGroups:
- lvm.topolvm.io
- apps
resources:
- lvmclusters/finalizers
- replicasets
verbs:
- update
- get
- apiGroups:
- lvm.topolvm.io
- config.openshift.io
resources:
- lvmclusters/status
- infrastructures
verbs:
- get
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- lvm.topolvm.io
resources:
- lvmclusters
- lvmvolumegroupnodestatuses
- lvmvolumegroups
verbs:
- create
- delete
Expand All @@ -165,21 +126,25 @@ rules:
- apiGroups:
- lvm.topolvm.io
resources:
- lvmclusters/finalizers
- lvmvolumegroupnodestatuses/finalizers
- lvmvolumegroups/finalizers
verbs:
- update
- apiGroups:
- lvm.topolvm.io
resources:
- lvmclusters/status
- lvmvolumegroupnodestatuses/status
- lvmvolumegroups/status
verbs:
- get
- patch
- update
- apiGroups:
- lvm.topolvm.io
- monitoring.coreos.com
resources:
- lvmvolumegroups
- servicemonitors
verbs:
- create
- delete
Expand All @@ -188,20 +153,6 @@ rules:
- patch
- update
- watch
- apiGroups:
- lvm.topolvm.io
resources:
- lvmvolumegroups/finalizers
verbs:
- update
- apiGroups:
- lvm.topolvm.io
resources:
- lvmvolumegroups/status
verbs:
- get
- patch
- update
- apiGroups:
- security.openshift.io
resources:
Expand Down Expand Up @@ -254,37 +205,7 @@ rules:
- storage.k8s.io
resources:
- csidrivers
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- storage.k8s.io
resources:
- csinodes
verbs:
- get
- list
- watch
- apiGroups:
- storage.k8s.io
resources:
- csistoragecapacities
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- storage.k8s.io
resources:
- storageclasses
verbs:
- create
Expand All @@ -297,6 +218,7 @@ rules:
- apiGroups:
- storage.k8s.io
resources:
- csinodes
- volumeattachments
verbs:
- get
Expand All @@ -306,17 +228,6 @@ rules:
- topolvm.io
resources:
- logicalvolumes
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- topolvm.io
resources:
- logicalvolumes/status
verbs:
- create
Expand Down
2 changes: 1 addition & 1 deletion assets/components/lvms/topolvm-configmap_lvms-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ metadata:
name: lvms-version
namespace: kube-public
data:
version: v4.17.0-43
version: v4.18.4
Loading