feat: expose UDS Core config as native Zarf values#2762
Conversation
Greptile SummaryThis PR adds native Zarf values support across all UDS Core source packages, enabling
Confidence Score: 5/5Safe to merge — three-tier domain/adminDomain precedence is consistently implemented and verified; backward compatibility with existing variable-based deployments is preserved. Domain-precedence logic is uniformly applied and verified by five domain scenarios in vitest specs. Protected settings are blocked via excludePaths and tested with SHOULD_NOT_APPEAR probes. Full equivalency CI job closes the loop with a live cluster deploy. The two flagged items are style and robustness suggestions with no impact on correctness. src/grafana/values/values.yaml — the four grafana.ini fields use a bespoke four-branch conditional that diverges from the canonical pattern used everywhere else. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["zarf package deploy --values"] --> B["Zarf values merge"]
B --> C{".Values.domain set?"}
C -- yes --> D["domain = .Values.domain"]
C -- no --> E["domain = .Variables.DOMAIN"]
D & E --> F{".Values.adminDomain set?"}
F -- yes --> G["adminDomain = .Values.adminDomain"]
F -- no --> H{".Variables.ADMIN_DOMAIN set?"}
H -- yes --> I["adminDomain = .Variables.ADMIN_DOMAIN"]
H -- no --> J["adminDomain = admin.<domain>"]
G & I & J --> K["Zarf resolves templatedValuesFiles"]
K --> L["Helm renders charts"]
L --> M{"excludePaths filter"}
M --> N["Final Kubernetes manifests"]
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
A["zarf package deploy --values"] --> B["Zarf values merge"]
B --> C{".Values.domain set?"}
C -- yes --> D["domain = .Values.domain"]
C -- no --> E["domain = .Variables.DOMAIN"]
D & E --> F{".Values.adminDomain set?"}
F -- yes --> G["adminDomain = .Values.adminDomain"]
F -- no --> H{".Variables.ADMIN_DOMAIN set?"}
H -- yes --> I["adminDomain = .Variables.ADMIN_DOMAIN"]
H -- no --> J["adminDomain = admin.<domain>"]
G & I & J --> K["Zarf resolves templatedValuesFiles"]
K --> L["Helm renders charts"]
L --> M{"excludePaths filter"}
M --> N["Final Kubernetes manifests"]
Reviews (6): Last reviewed commit: "chore: helm unit test fix" | Re-trigger Greptile |
|
@greptile review |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 673eb8452a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Lula Compliance Overview
Please review the changes to ensure they meet compliance standards.
Reviewed Changes
Lula reviewed 30 files changed that affect compliance.
| File | Lines Changed |
|---|---|
.github/workflows/pull-request-conditionals.yaml |
154–189 |
UUID: 11948466-9230-4498-be44-dbac784d86d1
sha256: 7e9888ac82452d1c09bb3511aa1785c1622a476191a2fcb1148068c4110c71af
Tip: Customize your compliance reviews with Lula.
Summary since first review
Follow-ups (deferred)
|
Superseded by a new Lula compliance review.
There was a problem hiding this comment.
Lula Compliance Overview
Please review the changes to ensure they meet compliance standards.
Reviewed Changes
Lula reviewed 30 files changed that affect compliance.
| File | Lines Changed |
|---|---|
.github/workflows/pull-request-conditionals.yaml |
154–189 |
UUID: 11948466-9230-4498-be44-dbac784d86d1
sha256: 7e9888ac82452d1c09bb3511aa1785c1622a476191a2fcb1148068c4110c71af
Tip: Customize your compliance reviews with Lula.
|
@greptileai review |
joelmccoy
left a comment
There was a problem hiding this comment.
LGTM. I know you are refactoring a bit more, so will hold off on official approval
chance-coleman
left a comment
There was a problem hiding this comment.
🚀 This is awesome, great work!
Superseded by a new Lula compliance review.
There was a problem hiding this comment.
Lula Compliance Overview
Please review the changes to ensure they meet compliance standards.
Reviewed Changes
Lula reviewed 30 files changed that affect compliance.
| File | Lines Changed |
|---|---|
.github/workflows/pull-request-conditionals.yaml |
154–189 |
UUID: 11948466-9230-4498-be44-dbac784d86d1
sha256: 7e9888ac82452d1c09bb3511aa1785c1622a476191a2fcb1148068c4110c71af
Tip: Customize your compliance reviews with Lula.
Superseded by a new Lula compliance review.
There was a problem hiding this comment.
Lula Compliance Overview
Please review the changes to ensure they meet compliance standards.
Reviewed Changes
Lula reviewed 30 files changed that affect compliance.
| File | Lines Changed |
|---|---|
.github/workflows/pull-request-conditionals.yaml |
154–189 |
UUID: 11948466-9230-4498-be44-dbac784d86d1
sha256: 7e9888ac82452d1c09bb3511aa1785c1622a476191a2fcb1148068c4110c71af
Tip: Customize your compliance reviews with Lula.
Superseded by a new Lula compliance review.
There was a problem hiding this comment.
Lula Compliance Overview
Please review the changes to ensure they meet compliance standards.
Reviewed Changes
Lula reviewed 30 files changed that affect compliance.
| File | Lines Changed |
|---|---|
.github/workflows/pull-request-conditionals.yaml |
154–189 |
UUID: 11948466-9230-4498-be44-dbac784d86d1
sha256: 7e9888ac82452d1c09bb3511aa1785c1622a476191a2fcb1148068c4110c71af
Tip: Customize your compliance reviews with Lula.
|
@greptile review |
Superseded by a new Lula compliance review.
There was a problem hiding this comment.
Lula Compliance Overview
Please review the changes to ensure they meet compliance standards.
Reviewed Changes
Lula reviewed 30 files changed that affect compliance.
| File | Lines Changed |
|---|---|
.github/workflows/pull-request-conditionals.yaml |
154–189 |
UUID: 11948466-9230-4498-be44-dbac784d86d1
sha256: 7e9888ac82452d1c09bb3511aa1785c1622a476191a2fcb1148068c4110c71af
Tip: Customize your compliance reviews with Lula.




Description
This PR adds native Zarf values support to UDS Core packages, allowing users to deploy and customize packages with
zarf package deploy --valueswithout requiring a UDS bundle.Existing Variable Compatibility
DOMAINandADMIN_DOMAINcontinue to use tokens such as###ZARF_VAR_DOMAIN###.Zarf Values
zarf-values.yamlfiles for values-enabled package layers.domainandadminDomainconfiguration across applicable charts.adminDomainvalueADMIN_DOMAINvariableadmin.<domain>Protected Configuration
excludePathsto prevent user overrides of deployment-controlled settings.Schema Generation
packages/*/zarf-values.schema.json.Linting and Verification
Compatibility Note
v0.79.0or newer because of the package pull behavior fix for values files and schemas.Related Issue
Fixes CORE-57
Type of change
Steps to Validate
uds run lint:values-lint— all 5 packages lint clean--features values=trueflag behavior against Zarf source code and live testingexcludePathsare source-rooted (validated against Zarf test source)Checklist before merging