helm: Add ability to set scheme for probes#4478
helm: Add ability to set scheme for probes#4478gambtho wants to merge 1 commit intokubernetes-sigs:mainfrom
Conversation
illume
left a comment
There was a problem hiding this comment.
Thanks for this!
Can you please check the chart tests? There's a Github check failing.
make helm-template-test
(Also please rebase against main to remove the merge commit?)
There was a problem hiding this comment.
Pull request overview
This PR adds configurable probe settings to the Headlamp Helm chart to support TLS termination at the backend server. When TLS is enabled, health probes need to use HTTPS instead of HTTP, which was previously not configurable and caused probe failures.
Changes:
- Added
probesconfiguration section to values.yaml with configurable scheme (HTTP/HTTPS) and timing parameters for liveness and readiness probes - Updated JSON schema to validate probe configuration
- Modified deployment template to use configurable probe settings
- Updated all test expected outputs to include new probe configuration fields
- Added documentation to README explaining probe configuration usage with TLS
Reviewed changes
Copilot reviewed 24 out of 24 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| charts/headlamp/values.yaml | Added probe configuration with default values for scheme, liveness, and readiness probe timing |
| charts/headlamp/values.schema.json | Added JSON schema validation for probe configuration |
| charts/headlamp/templates/deployment.yaml | Updated deployment template to use configurable probe scheme and timing parameters |
| charts/headlamp/tests/test_cases/tls-added.yaml | Added HTTPS scheme to TLS test case |
| charts/headlamp/tests/expected_templates/*.yaml | Updated 19 expected test outputs with new probe configuration fields |
| charts/headlamp/README.md | Added documentation table and example for probe configuration with TLS |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
30b0236 to
28d9213
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 25 out of 25 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
28d9213 to
632f88f
Compare
632f88f to
353bf24
Compare
illume
left a comment
There was a problem hiding this comment.
Thanks 🎉
I'll leave this open for a while longer before merging to give people more a chance to give their feedback.
illume
left a comment
There was a problem hiding this comment.
Oh, there's a test failure in the GitHub check. Can you please have a look?
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: gambtho The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
skoeva
left a comment
There was a problem hiding this comment.
looks like the CI is still failing, here are the steps to follow from the output:
Test failed! To update expected templates to match current output:
1. Review the differences above carefully
2. If the changes are related to version, run:
make helm-update-template-version
This will update ALL expected templates with current Helm version
3. Verify the changes and commit them
353bf24 to
edb0e4c
Compare
Summary
New Configuration Options
Example Usage with TLS
Test Plan
Fixes #4406