Skip to content

Commit

Permalink
chore: make generate
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Fajerski <[email protected]>
  • Loading branch information
jan--f committed Jan 3, 2024
1 parent e387d91 commit 5a5ae0b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 58 deletions.
41 changes: 19 additions & 22 deletions deploy/crds/common/monitoring.rhobs_monitoringstacks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -218,28 +218,6 @@ spec:
than capacity recorded in the status field of the claim.
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources'
properties:
claims:
description: "Claims lists the names of resources, defined
in spec.resourceClaims, that are used by this container.
\n This is an alpha field and requires enabling the
DynamicResourceAllocation feature gate. \n This field
is immutable. It can only be set for containers."
items:
description: ResourceClaim references one entry in PodSpec.ResourceClaims.
properties:
name:
description: Name must match the name of one entry
in pod.spec.resourceClaims of the Pod where this
field is used. It makes that resource available
inside a container.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits:
additionalProperties:
anyOf:
Expand Down Expand Up @@ -315,6 +293,25 @@ spec:
description: 'storageClassName is the name of the StorageClass
required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1'
type: string
volumeAttributesClassName:
description: 'volumeAttributesClassName may be used to set
the VolumeAttributesClass used by this claim. If specified,
the CSI driver will create or update the volume with the
attributes defined in the corresponding VolumeAttributesClass.
This has a different purpose than storageClassName, it can
be changed after the claim is created. An empty string value
means that no VolumeAttributesClass will be applied to the
claim but it''s not allowed to reset this field to empty
string once it is set. If unspecified and the PersistentVolumeClaim
is unbound, the default VolumeAttributesClass will be set
by the persistentvolume controller if it exists. If the
resource referred to by volumeAttributesClass does not exist,
this PersistentVolumeClaim will be set to a Pending state,
as reflected by the modifyVolumeStatus field, until such
as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass
(Alpha) Using this field requires the VolumeAttributesClass
feature gate to be enabled.'
type: string
volumeMode:
description: volumeMode defines what type of volume is required
by the claim. Value of Filesystem is implied when not included
Expand Down
43 changes: 7 additions & 36 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,13 @@ Define persistent volume claim for prometheus
storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1<br/>
</td>
<td>false</td>
</tr><tr>
<td><b>volumeAttributesClassName</b></td>
<td>string</td>
<td>
volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.<br/>
</td>
<td>false</td>
</tr><tr>
<td><b>volumeMode</b></td>
<td>string</td>
Expand Down Expand Up @@ -501,15 +508,6 @@ resources represents the minimum resources the volume should have. If RecoverVol
</tr>
</thead>
<tbody><tr>
<td><b><a href="#monitoringstackspecprometheusconfigpersistentvolumeclaimresourcesclaimsindex">claims</a></b></td>
<td>[]object</td>
<td>
Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.
This is an alpha field and requires enabling the DynamicResourceAllocation feature gate.
This field is immutable. It can only be set for containers.<br/>
</td>
<td>false</td>
</tr><tr>
<td><b>limits</b></td>
<td>map[string]int or string</td>
<td>
Expand All @@ -527,33 +525,6 @@ resources represents the minimum resources the volume should have. If RecoverVol
</table>


### MonitoringStack.spec.prometheusConfig.persistentVolumeClaim.resources.claims[index]
<sup><sup>[↩ Parent](#monitoringstackspecprometheusconfigpersistentvolumeclaimresources)</sup></sup>



ResourceClaim references one entry in PodSpec.ResourceClaims.

<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
<th>Required</th>
</tr>
</thead>
<tbody><tr>
<td><b>name</b></td>
<td>string</td>
<td>
Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.<br/>
</td>
<td>true</td>
</tr></tbody>
</table>


### MonitoringStack.spec.prometheusConfig.persistentVolumeClaim.selector
<sup><sup>[↩ Parent](#monitoringstackspecprometheusconfigpersistentvolumeclaim)</sup></sup>

Expand Down

0 comments on commit 5a5ae0b

Please sign in to comment.