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>
This commit is contained in:
MichaluxPL 2025-04-22 14:12:37 +02:00 committed by Marco Nenciarini
parent db51e51fa0
commit 71a188e97e

View File

@ -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.