feat(rhdh): add lifecycleHooks, priorityClassName, terminationGracePeriodSeconds - #512
feat(rhdh): add lifecycleHooks, priorityClassName, terminationGracePeriodSeconds#512rm3l wants to merge 2 commits into
Conversation
…riodSeconds Replicate the upstream backstage chart fields recently added in backstage/charts for container lifecycle hooks, pod priority class, and graceful termination period into the standalone RHDH chart.
PR Summary by QodoAdd pod lifecycle and scheduling controls to the RHDH chart
AI Description
Diagram
High-Level Assessment
Files changed (6)
|
Code Review by Qodo
1. Grace period type misdocumented
|
08d0445 to
86ad481
Compare
|



Description of the change
Replicate the
lifecycleHooks,priorityClassName, andterminationGracePeriodSecondsfields recently added to the upstream backstage chart into the standalonecharts/rhdhchart. Noticed in #499lifecycleHooks(container-level): Rendered aslifecycleon the main RHDH container. SupportspreStop,postStart, etc.priorityClassName(pod-level): Allows setting a priority class for pod scheduling.terminationGracePeriodSeconds(pod-level): Configures the graceful shutdown window. Supports0(rendered) vsnull/unset (omitted).All three fields default to empty/null (matching upstream) and are omitted from the rendered manifest when not set.
Which issue(s) does this PR fix or relate to
charts/backstagechart)How to test changes / Special notes to the reviewer
Checklist
Chart.yamlaccording to Semantic Versioning.values.yamland added to the corresponding README.md. The pre-commit utility can be used to generate the necessary content. Runpre-commit run --all-filesto run the hooks and then push any resulting changes. The pre-commit Workflow will enforce this and warn you if needed.pre-commithook.ct lintcommand.