-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support configuring resource requests and limits in TempoMonolithic CR #771
Support configuring resource requests and limits in TempoMonolithic CR #771
Conversation
6d087b6
to
24355ed
Compare
Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>
24355ed
to
b7899d1
Compare
// S3 defines the AWS S3 configuration | ||
// | ||
// +kubebuilder:validation:Optional | ||
S3 *MonolithicTracesStorageS3Spec `json:"s3,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these changes seem to be unrelated to the resources. Can it be done in a separate PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it was a change before I rebased on main. The change doesn't show up in the diff anymore.
@@ -135,6 +182,7 @@ type MonolithicIngestionOTLPProtocolsHTTPSpec struct { | |||
// Enabled defines if OTLP over HTTP is enabled | |||
// | |||
// +kubebuilder:validation:Required | |||
// +kubebuilder:default=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also this one seems to be unrelated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it was a change before I rebased on main. The change doesn't show up in the diff anymore.
internal/handlers/storage/storage.go
Outdated
) | ||
|
||
// ListFieldErrors converts field.ErrorList to a comma separated string of errors. | ||
func ListFieldErrors(fieldErrs field.ErrorList) string { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this need to be exposed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's used in the controller package. I'll move it there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done: #772
Support configuring resource requests and limits in TempoMonolithic CR