chore: fix no-binding chart admission deployment - #3292
Open
AmberFryar wants to merge 6 commits into
Open
Conversation
Contributor
Greptile SummaryThe PR aligns Helm chart generation with raw-manifest generation for modules that have no standard bindings.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
C[Module capabilities] --> P{Admission bindings or neither admission nor watcher bindings?}
P -->|Yes| V[Set admission.enabled]
P -->|Yes| D[Write admission Deployment and ServiceMonitor templates]
C --> W{Generated mutation or validation webhook?}
W -->|Mutation| M[Write mutation webhook template]
W -->|Validation| X[Write validation webhook template]
W -->|Neither| N[Do not write webhook templates]
Reviews (2): Last reviewed commit: "Merge branch 'main' into fix-no-binding-..." | Re-trigger Greptile |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3292 +/- ##
==========================================
+ Coverage 77.79% 77.92% +0.12%
==========================================
Files 92 92
Lines 2545 2546 +1
Branches 544 545 +1
==========================================
+ Hits 1980 1984 +4
Misses 439 439
+ Partials 126 123 -3
🚀 New features to boost your workflow:
|
AmberFryar
marked this pull request as ready for review
September 3, 2026 16:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The UDS Dependency Operator works when deployed from Pepr’s generated raw manifests, but fails when using
pepr build -z chart.The UDS Dependency Operator does not use standard Pepr bindings such as
When(...).Watch(...),Mutate(...), orValidate(...). Instead, it starts lower-level Kubernetes watches from the Pepr runtime. The raw manifest generator handles this no-binding case by generating the admission controller deployment, but the Helm chart generator did not.As a result, the generated chart set
admission.enabled: truebut did not writetemplates/admission-deployment.yaml, so no UDS Dependency Operator controller pods were created.Changes
admission-deployment.yamlwhen the module has admission bindings or has neither admission nor watcher bindings.End to End Test:
(See Pepr Excellent Examples)
Related Issue
Fixes #
Relates to #
Type of change
Checklist before merging