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
4 changes: 2 additions & 2 deletions api/v1/openlibertyapplication_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ type OpenLibertyApplicationStatefulSet struct {

// Defines settings of persisted storage for StatefulSets.
type OpenLibertyApplicationStorage struct {
// A convenient field to set the size of the persisted storage.
// A convenient field to set the size of the persisted storage. (e.g. 1Gi)
// +kubebuilder:validation:Pattern=^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$
// +operator-sdk:csv:customresourcedefinitions:order=25,type=spec,displayName="Storage Size",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text"
Size string `json:"size,omitempty"`
Expand Down Expand Up @@ -436,7 +436,7 @@ type OpenLibertyApplicationMonitoring struct {

// Specifies serviceability-related operations, such as gathering server memory dumps and server traces.
type OpenLibertyApplicationServiceability struct {
// A convenient field to request the size of the persisted storage to use for serviceability.
// A convenient field to request the size of the persisted storage to use for serviceability. (e.g. 1Gi)
// +kubebuilder:validation:Pattern=^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$
Size string `json:"size,omitempty"`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7336,7 +7336,7 @@ spec:
type: string
size:
description: A convenient field to set the size of the persisted
storage.
storage. (e.g. 1Gi)
pattern: ^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$
type: string
volumeClaimTemplate:
Expand Down
1 change: 1 addition & 0 deletions bundle/manifests/open-liberty.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@ spec:
- displayName: Monitoring
path: monitoring
- description: A convenient field to set the size of the persisted storage.
(e.g. 1Gi)
displayName: Storage Size
path: statefulSet.storage.size
x-descriptors:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5635,8 +5635,8 @@ spec:
gathering server memory dumps and server traces.
properties:
size:
description: A convenient field to request the size of the persisted
storage to use for serviceability.
description: 'A convenient field to request the size of the persisted
storage to use for serviceability. (e.g. 1Gi)'
pattern: ^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$
type: string
storageClassName:
Expand Down Expand Up @@ -7332,7 +7332,7 @@ spec:
type: string
size:
description: A convenient field to set the size of the persisted
storage.
storage. (e.g. 1Gi)
pattern: ^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$
type: string
volumeClaimTemplate:
Expand Down Expand Up @@ -14596,8 +14596,8 @@ spec:
gathering server memory dumps and server traces.
properties:
size:
description: A convenient field to request the size of the persisted
storage to use for serviceability.
description: 'A convenient field to request the size of the persisted
storage to use for serviceability. (e.g. 1Gi)'
pattern: ^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$
type: string
storageClassName:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ spec:
- displayName: Monitoring
path: monitoring
- description: A convenient field to set the size of the persisted storage.
(e.g. 1Gi)
displayName: Storage Size
path: statefulSet.storage.size
x-descriptors:
Expand Down
2 changes: 1 addition & 1 deletion internal/deploy/kubectl/openliberty-app-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7284,7 +7284,7 @@ spec:
type: string
size:
description: A convenient field to set the size of the persisted
storage.
storage. (e.g. 1Gi)
pattern: ^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$
type: string
volumeClaimTemplate:
Expand Down
2 changes: 1 addition & 1 deletion internal/deploy/kustomize/daily/base/open-liberty-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7284,7 +7284,7 @@ spec:
type: string
size:
description: A convenient field to set the size of the persisted
storage.
storage. (e.g. 1Gi)
pattern: ^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$
type: string
volumeClaimTemplate:
Expand Down