Skip to content

feat(dev): compose native controller and Dex development package - #1

Closed
jeff-mccoy wants to merge 30 commits into
codex/native-dev-prerequisitesfrom
codex/native-dev-core
Closed

jeff-mccoy wants to merge 30 commits into
codex/native-dev-prerequisitesfrom
codex/native-dev-core

Conversation

@jeff-mccoy

@jeff-mccoy jeff-mccoy commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner

This composition proposal is deferred with upstream #3192 so the controller and identity features can land independently. The branch and qualification evidence are preserved for a smaller follow-up.


Add core-native-dev, an opt-in package that combines the Go controller and native admission profile with password-only Dex identity. It uses signed Core 1.16.0 inputs and Go 1.27.3 while preserving standard Core package selection.

Installation fences tenant authoring, prepares trust and private DNS, starts reconciliation, registers Go callbacks, activates native policies, and checks identity and gateways before releasing the fence. The package verifies exact source and image inputs, accepts verified local identity build receipts, and rejects invalid values before cluster access.

This draft targets Linux AMD64 development clusters on Kubernetes 1.37+. The installer must reach the cluster's internal service network. The provider supports the uds realm at its two configured public and admin issuers; additional issuers, Java console assets, and Java session-status iframes remain outside its scope.

Dependencies and review boundary

Depends on Go controller/native admission #3190 and development identity #3191. This upstream PR targets main, so its diff includes both prerequisites until they land. Review the scoped composition diff in fork PR #1 for the changes this PR adds on top of their checked integration.

Validation

  • The 36 composition/integrity assertions, bootstrap race suite with the real embedded CLI, complete render, signed package creation, runtime-image verification, and schema rejection checks pass. The dedicated native package CI also passes.
  • The final artifact passes a fresh installation from empty storage, automatic initial private-CA publication and consumer reload, final readiness, and fence removal. All runtime image configs match the packaged images; no repair restart advances the reload proof.
  • Real paired CLI grants pass S256, exact app-plus-CLI ID-token audiences, narrower access-token audiences, protected-app access, invalid PKCE rejection, and old-grant rejection after Package UID replacement. That separate proof initializes its private CA explicitly.
  • All 26 unchanged API files run on the final artifact: 153 tests pass, three fail, and two retain their original conditional skips. The failures require a third issuer origin, Java console assets, or a master realm frontend. All 31 browser cases run: 30 pass on the first attempt; the third-issuer login case fails both its initial attempt and configured retry. No browser cases are skipped. Strict-TLS lifecycle, actual Pod-replacement persistence, and both unchanged HTTPS trust assertions also pass on the final runtime.

Earlier failed attempts remain recorded separately. After isolating the shared-kernel Falco fixtures, the supported network, admission, and event checks pass with the original product resources, API budgets, rules, assertions, retries, and deadlines.

The qualification record gives the current results and separates them from historical performance measurements.

CI setup: this proposal uses a repository-owned branch so existing registry login steps receive their normal credentials. The documented K0s minor now matches the configured 1.37 test version; the real consistency check passes. Runtime code is unchanged. Replaces #3189.

Upstream review: #3192.

Add an opt-in connected development profile with Kubernetes policy, Go
reconciliation, protected exemption publication, and persisted Dex identity.
Keep original production Keycloak and Pepr consumers unchanged.

Include source differential and recovery coverage, reproducible provider builds,
package activation gates, and explicit experimental qualification boundaries.

Co-Authored-By: Ark <ark@defenseunicorns.com>
@jeff-mccoy
jeff-mccoy changed the base branch from main to codex/core-v1.14.0-baseline October 4, 2026 19:21
jeff-mccoy and others added 5 commits October 4, 2026 14:43
Seed Core's existing inactive localhost chain when no managed chains exist,
including after last-client removal. Keep unmatched requests denied and peer
TLS verification enabled. Validate original and repaired configurations against
the exact Authservice image and real Envoy authorization calls.

Co-Authored-By: Ark <ark@defenseunicorns.com>
Pin the qualified Docker export API for package creation while retaining exact
runtime manifests and normal SBOM generation. Bootstrap native mutations with
the same zarf SSA manager used by Helm, without forcing ownership conflicts.

Verify real embedded CLI arguments, same-manager API-defaulted handoff,
competing-manager rejection, and canonical image payloads.

Co-Authored-By: Ark <ark@defenseunicorns.com>
Use two distinct ClusterIP Istio gateways, matching the published stock
development comparison. Preserve original production defaults, TLS, routes,
authorization and runtime resources. Validate the actual rendered service
contract and record the required hosted access boundary separately.

Update the qualification ledger with the complete main, browser, admission
and real drift results, retaining cold access and guest gates.

Co-Authored-By: Ark <ark@defenseunicorns.com>
Permit only the assigned node to retire deleting, terminal, controller-owned
infrastructure Pods with a matching DeleteOptions UID. Keep tenant authoring
fenced and retain Kubernetes Node authorization and RBAC.

Cover positive and negative CEL cases and actual kubelet/StatefulSet recovery
without manual Pod deletion or removing the bootstrap fence.

Co-Authored-By: Ark <ark@defenseunicorns.com>
Co-Authored-By: Ark <ark@defenseunicorns.com>
@jeff-mccoy jeff-mccoy changed the title feat: native admission and Go development Core with Dex feat: qualify native Go, admission policies and Dex development Core Oct 4, 2026
jeff-mccoy and others added 4 commits October 4, 2026 18:10
Co-Authored-By: Ark <ark@defenseunicorns.com>
Co-Authored-By: Ark <ark@defenseunicorns.com>
Co-Authored-By: Ark <ark@defenseunicorns.com>
Enforce S256 and paired ID-token audiences, revoke predecessor Package grants, and retain verified successor clients through reconciliation and restart. Qualify final native Core behavior against the original main, trust and browser suites.

Co-Authored-By: Ark <ark@defenseunicorns.com>
@jeff-mccoy jeff-mccoy changed the title feat: qualify native Go, admission policies and Dex development Core feat(dev): qualify native Core admission, Go lifecycle and Dex identity Oct 5, 2026
Co-Authored-By: Ark <ark@defenseunicorns.com>
@jeff-mccoy jeff-mccoy changed the title feat(dev): qualify native Core admission, Go lifecycle and Dex identity feat(dev): compose native controller and Dex development profile Oct 6, 2026
@jeff-mccoy
jeff-mccoy changed the base branch from codex/core-v1.14.0-baseline to codex/native-dev-prerequisites October 6, 2026 00:34
@jeff-mccoy jeff-mccoy changed the title feat(dev): compose native controller and Dex development profile feat(dev): add Core development package with native operator and Dex Oct 6, 2026
@jeff-mccoy jeff-mccoy changed the title feat(dev): add Core development package with native operator and Dex feat(dev): compose native controller and Dex development package Oct 31, 2026
@jeff-mccoy jeff-mccoy closed this Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant