Skip to content

Commit 5036482

Browse files
committed
Define DevfileRegistrySpecContainer MemoryLimit field
Signed-off-by: thepetk <thepetk@gmail.com>
1 parent f55ab8e commit 5036482

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

api/v1alpha1/devfileregistry_types.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ type DevfileRegistrySpecContainer struct {
8282
// +operator-sdk:csv:customresourcedefinitions:type=spec
8383
// +optional
8484
ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
85+
// Sets the memory limit for the container
86+
// +operator-sdk:csv:customresourcedefinitions:type=spec
87+
// +optional
88+
MemoryLimit string `json:"memoryLimit,omitempty"`
8589
}
8690

8791
// DevfileRegistrySpecStorage defines the desired state of the storage for the DevfileRegistry

0 commit comments

Comments
 (0)