-
Notifications
You must be signed in to change notification settings - Fork 23
feat: extend search ui by affinity, tolerations, resources and replicas #1201
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
Conversation
Signed-off-by: Tomas Turek <tturek@redhat.com>
Reviewer's GuideThis PR extends the Rekor Search UI and SecureSigns operator to support configurable PodRequirements—namely replicas, resources, affinity, and tolerations—by updating the CRD schemas, API model, UI descriptors, and controller deployment logic. ER diagram for new PodRequirements fields in RekorSearchUI CRDerDiagram
REKORSEARCHUI {
BOOL enabled
INT replicas
}
PODREQUIREMENTS {
INT replicas
JSON affinity
JSON tolerations
JSON resources
}
REKORSEARCHUI ||--o| PODREQUIREMENTS : has
PODREQUIREMENTS }o--|| AFFINITY : contains
PODREQUIREMENTS }o--|| TOLERATION : contains
PODREQUIREMENTS }o--|| RESOURCEREQUIREMENTS : contains
RESOURCEREQUIREMENTS }o--|| RESOURCECLAIM : contains
Class diagram for updated RekorSearchUI with PodRequirementsclassDiagram
class RekorSearchUI {
+bool* Enabled
+PodRequirements (inlined)
}
class PodRequirements {
+Affinity affinity
+Toleration[] tolerations
+ResourceRequirements resources
+int replicas
}
class Affinity {
+NodeAffinity nodeAffinity
+PodAffinity podAffinity
+PodAntiAffinity podAntiAffinity
}
class Toleration {
+string key
+string operator
+string value
+string effect
+int tolerationSeconds
}
class ResourceRequirements {
+object limits
+object requests
+ResourceClaim[] claims
}
class NodeAffinity
class PodAffinity
class PodAntiAffinity
class ResourceClaim {
+string name
+string request
}
RekorSearchUI --|> PodRequirements : inlined
PodRequirements o-- Affinity
PodRequirements o-- Toleration
PodRequirements o-- ResourceRequirements
Affinity o-- NodeAffinity
Affinity o-- PodAffinity
Affinity o-- PodAntiAffinity
ResourceRequirements o-- ResourceClaim
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Caution There are some errors in your PipelineRun template.
|
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.
Summary by Sourcery
Enable user customization of Rekor Search UI pods by extending the CRDs, API types, and deployment logic to support affinity, tolerations, resource requirements, and replica count, and update the operator’s CSV descriptors to expose these options in the UI.
New Features:
Enhancements:
Deployment: