mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-01-12 05:33:11 +01:00
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:
parent
db51e51fa0
commit
71a188e97e
@ -33,6 +33,9 @@ type InstanceSidecarConfiguration struct {
|
|||||||
// +kubebuilder:default:=1800
|
// +kubebuilder:default:=1800
|
||||||
// +optional
|
// +optional
|
||||||
RetentionPolicyIntervalSeconds int `json:"retentionPolicyIntervalSeconds,omitempty"`
|
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.
|
// ObjectStoreSpec defines the desired state of ObjectStore.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user