From 71a188e97eca317609d953d04cb229fe068431fd Mon Sep 17 00:00:00 2001 From: MichaluxPL <68371308+MichaluxPL@users.noreply.github.com> Date: Tue, 22 Apr 2025 14:12:37 +0200 Subject: [PATCH] feat: add sidecar resources definition in InstanceSidecarConfiguration stanza Add sidecar resources definition in InstanceSidecarConfiguration stanza Signed-off-by: MichaluxPL <68371308+MichaluxPL@users.noreply.github.com> --- api/v1/objectstore_types.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/v1/objectstore_types.go b/api/v1/objectstore_types.go index 0b15d71..1789e4f 100644 --- a/api/v1/objectstore_types.go +++ b/api/v1/objectstore_types.go @@ -33,6 +33,9 @@ type InstanceSidecarConfiguration struct { // +kubebuilder:default:=1800 // +optional RetentionPolicyIntervalSeconds int `json:"retentionPolicyIntervalSeconds,omitempty"` + // Resources define cpu/memory requests and limits for the sidecar that runs in the instance pods. + // +optional + Resources corev1.ResourceRequirements `json:"resources,omitempty"` } // ObjectStoreSpec defines the desired state of ObjectStore.